openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15693
[Bug 1050685] Re: product_variant_multi adds variant information to product name but is redundant on reports
I am speculating that earlier versions of OpenERP did not include
variant informations in various reports and gets and therefore this
module created a workaround in which the product.template#name field was
overridden as they have stated in the module description. Then somewhere
down the line OpenERP was improved to include the variant information in
different repots and due to this legacy code in the module, the
redundancy of the name resulted.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1050685
Title:
product_variant_multi adds variant information to product name but is
redundant on reports
Status in OpenERP Addons (modules):
New
Bug description:
After generating products using this module, the invoice line displays
variant information twice. Example:
[Product]-[Variant1]-[Variant2]-[Variant1]-[Variant2] on some
reports, such as sales orders, packing lists, and others. After
investigating the module description, I can see that the author has
overridden some code, but I don't know how to fix it.
Reading the module description:
"Gotchas:
Because many OpenERP reports refer only to the product name without taking care of the
variant, we decided it's better that each variant has a different name expliciting
the variant specifics. So we override the product.template#name field and make it
optional while product.product now has a new mandatory name field. This is usualy
transparent as OpenERP modules try to get their properties like name from product.product
and only from product.template if not found on product.product. But at least you
will have been warned."
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1050685/+subscriptions
References