[IMP] Message post when the invoice is paid.
bzr revid: psa@tinyerp.com-20130215115921-vbeaw8tnx3d65yll
This commit is contained in:
@@ -557,7 +557,7 @@ class purchase_order(osv.osv):
|
||||
|
||||
def invoice_done(self, cr, uid, ids, context=None):
|
||||
self.write(cr, uid, ids, {'state':'approved'}, context=context)
|
||||
# self.message_post(cr, uid, ids, body=_("Invoice <b>Paid.</b>"), context=context)
|
||||
self.message_post(cr, uid, ids, body=_("Invoice <b>Paid.</b>"), context=context)
|
||||
return True
|
||||
|
||||
def has_stockable_product(self, cr, uid, ids, *args):
|
||||
|
||||
Reference in New Issue
Block a user