[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:
parent
5ccfeaaeda
commit
4d3a5df001
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue