[IMP] Quotatioin confirmed message displayed only once when click on confirm sale.

bzr revid: bth@tinyerp.com-20130214085056-d7oqjmp2d7l892me
This commit is contained in:
Bhumi Thakkar (Open ERP)
2013-02-14 14:20:56 +05:30
parent 0bbfaec315
commit e0dc4a8e4c
+1 -1
View File
@@ -51,7 +51,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', 'progress'],
'sale.mt_order_confirmed': lambda self, cr, uid, obj, ctx=None: obj['state'] in ['manual'],
'sale.mt_order_sent': lambda self, cr, uid, obj, ctx=None: obj['state'] in ['sent']
},
}