Somesh Khare(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-573426-skh into
lp:openobject-addons/6.1.
Requested reviews:
Naresh(OpenERP) (nch-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/6.1-opw-573426-skh/+merge/101064
Hello Sir,
[Fix]: Product margin header is not translated due to the context did not
passed lang correctly.
This branch fixes the issue.
Kindly review the branch and please share your view on it.
Thanks
Somesh Khare
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-573426-skh/+merge/101064
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-573426-skh.
=== 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-04-06 07:16:21 +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