[FIX] sale: "Quotation confirmed" for sales order invoiced on delivery order

When confirming a sales order with invoicing control
based on "Delivery order", confirming the quotation
didn't post the "Quotation Confirmed" message
subtype in the sales order thread.

opw-642744
This commit is contained in:
Denis Ledoux 2015-06-26 15:06:14 +02:00
parent f5b88f6309
commit 5387676399
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class sale_order(osv.osv):
_description = "Sales Order"
_track = {
'state': {
'sale.mt_order_confirmed': lambda self, cr, uid, obj, ctx=None: obj.state in ['manual'],
'sale.mt_order_confirmed': lambda self, cr, uid, obj, ctx=None: obj.state in ['manual', 'progress'],
'sale.mt_order_sent': lambda self, cr, uid, obj, ctx=None: obj.state in ['sent']
},
}