[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:
parent
f5b88f6309
commit
5387676399
|
@ -39,7 +39,7 @@ class sale_order(osv.osv):
|
||||||
_description = "Sales Order"
|
_description = "Sales Order"
|
||||||
_track = {
|
_track = {
|
||||||
'state': {
|
'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']
|
'sale.mt_order_sent': lambda self, cr, uid, obj, ctx=None: obj.state in ['sent']
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue