Paramjit Singh Sahota(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-improve-openchatter-useability-psa into 
lp:~openerp-dev/openobject-addons/trunk-improve-openchatter-useability-bth.

Requested reviews:
  OpenERP R&D Team (openerp-dev)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-improve-openchatter-useability-psa/+merge/146558

Hello,

Added logs in Purchase Order.
>Purchase Order
>>Product Received
>>Invoice Received
>>Invoice paid

Thankz YoU.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-improve-openchatter-useability-psa/+merge/146558
Your team OpenERP R&D Team is requested to review the proposed merge of 
lp:~openerp-dev/openobject-addons/trunk-improve-openchatter-useability-psa into 
lp:~openerp-dev/openobject-addons/trunk-improve-openchatter-useability-bth.
=== modified file 'purchase/purchase.py'
--- purchase/purchase.py	2012-12-21 16:48:08 +0000
+++ purchase/purchase.py	2013-02-05 06:03:23 +0000
@@ -561,6 +561,8 @@
 
     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=_("<b>Invoice Paid.</b>"), context=context)
+        self.message_post(cr, uid, ids, body=_("<b>Invoice Received.</b>"), context=context)
         return True
 
     def has_stockable_product(self, cr, uid, ids, *args):
@@ -679,6 +681,7 @@
 
     def picking_done(self, cr, uid, ids, context=None):
         self.write(cr, uid, ids, {'shipped':1,'state':'approved'}, context=context)
+        self.message_post(cr, uid, ids, body=_("<b>Product Received.</b>"), context=context)
         return True
 
     def copy(self, cr, uid, id, default=None, context=None):

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to