[FIX] sale_order: set state field track_visibility

sale_order module override state field of sale.oder (sale.sale.py) and forgot to reset the track_visibility, therefore sale orders state changes are no longer tracked once this module installed.
This commit is contained in:
Denis Ledoux 2014-06-12 12:37:11 +02:00
parent 5ccfeaaeda
commit 4d3a5df001
1 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,8 @@ class sale_order(osv.osv):
('shipping_except', 'Shipping Exception'),
('invoice_except', 'Invoice Exception'),
('done', 'Done'),
], 'Status', readonly=True,help="Gives the status of the quotation or sales order.\
], 'Status', readonly=True, track_visibility='onchange',
help="Gives the status of the quotation or sales order.\
\nThe exception status is automatically set when a cancel operation occurs \
in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception).\nThe 'Waiting Schedule' status is set when the invoice is confirmed\
but waiting for the scheduler to run on the order date.", select=True),