Purnendu Singh (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-opw-573426-port-psi into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #937856 in OpenERP Addons: "Productmarging header can't be translated"
  https://bugs.launchpad.net/openobject-addons/+bug/937856

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-573426-port-psi/+merge/132090

Fixed header translation issue of product margin.

Thanks
Purnendu Singh
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-573426-port-psi/+merge/132090
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-opw-573426-port-psi.
=== modified file 'product_margin/wizard/product_margin.py'
--- product_margin/wizard/product_margin.py	2011-01-14 00:11:01 +0000
+++ product_margin/wizard/product_margin.py	2012-10-30 12:52:22 +0000
@@ -64,7 +64,7 @@
         #get the current product.margin object to obtain the values from it
         product_margin_obj = self.browse(cr, uid, ids, context=context)[0]
 
-        context = {'invoice_state' : product_margin_obj.invoice_state}
+        context.update({'invoice_state' : product_margin_obj.invoice_state})
         if product_margin_obj.from_date:
             context.update({'date_from': product_margin_obj.from_date})
         if product_margin_obj.to_date:

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to