Amit Parik (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-997898-amp into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #997898 in OpenERP Addons: "Partner Section price not working when using
product templates"
https://bugs.launchpad.net/openobject-addons/+bug/997898
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-997898-amp/+merge/105615
Hello,
Pricelist will create a problem when product template id doesn't same with
product_id and out pricelist set "Partner Section of the product form". This
problem occurs after installed the product_variant_multi module of extra-addons.
Other way is create a menu for product template then create a product via
template and try to use pricelist for this product with product template.
This fix will solved this issue.
Thanks
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-997898-amp/+merge/105615
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-997898-amp.
=== modified file 'product/pricelist.py'
--- product/pricelist.py 2012-02-13 15:27:55 +0000
+++ product/pricelist.py 2012-05-14 07:17:18 +0000
@@ -204,7 +204,7 @@
if partner:
partner_where = 'base <> -2 OR %s IN (SELECT name FROM product_supplierinfo WHERE product_id = %s) '
- partner_args = (partner, product_id)
+ partner_args = (partner, tmpl_id)
else:
partner_where = 'base <> -2 '
partner_args = ()
_______________________________________________
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