From 5387676399b5cd9edf5893e3c6e2c6905ac45312 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 26 Jun 2015 15:06:14 +0200 Subject: [PATCH] [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 --- addons/sale/sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 840b4f6ce60..967e5030d6c 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -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'] }, }