~openerp-community/openobject-addons/extra-trunk-esale_joomla

« back to all changes in this revision

Viewing changes to library/purchase.py

  • Committer: eLBati - Albatos
  • Date: 2010-08-31 07:17:33 UTC
  • mfrom: (4621.2.251)
  • Revision ID: lorenzo.battistini@albatos.com-20100831071733-fqhuh8oj4h6qv5n6
MERGED from extra-trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- encoding: utf-8 -*-
2
2
##############################################################################
3
 
#    
 
3
#
4
4
#    OpenERP, Open Source Management Solution
5
5
#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
6
6
#
15
15
#    GNU Affero General Public License for more details.
16
16
#
17
17
#    You should have received a copy of the GNU Affero General Public License
18
 
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
 
18
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
19
#
20
20
##############################################################################
21
21
 
22
22
from osv import fields, osv
23
23
import netsvc
24
24
 
25
 
 
26
25
class purchase_order_line(osv.osv):
27
26
    _inherit = 'purchase.order.line'
28
27
    _columns = {
34
33
 
35
34
purchase_order_line()
36
35
 
37
 
 
38
36
class purchase_order(osv.osv):
39
37
    _inherit = 'purchase.order'
40
38
    _order = "create_date desc"
111
109
 
112
110
purchase_order()
113
111
 
 
112
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
 
 
b'\\ No newline at end of file'