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

« back to all changes in this revision

Viewing changes to sequence_order/purchase.py

  • Committer: Moises Lopez
  • Date: 2010-04-14 01:35:19 UTC
  • Revision ID: moylop260@hotmail.com-20100414013519-2gnjv3po63l5x94d
Add module sequence_order:
  Is a module for changing the order of the sequence of lines automatically

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- encoding: utf-8 -*-
 
2
from osv import fields, osv
 
3
 
 
4
class purchase_order_line(osv.osv):
 
5
        _inherit = 'purchase.order.line'
 
6
        
 
7
        _order = 'sequence'
 
8
        
 
9
        _columns = {
 
10
                'sequence': fields.integer('Sequence', help="Sequence for order in view and print report"),
 
11
        }
 
12
purchase_order_line()
 
 
b'\\ No newline at end of file'