openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27723
[Bug 1313733] [NEW] Editing the product variants results in wrong output on the website
Public bug reported:
When I create a product template and add variants to it, the Final price
of the first variant is taken as the base sale price of the product and
the price of the variants are taken as the ( Final Price of the first
variant + Extra Price for a variant ).
example:
I create a product template 'my product' with base sale price - 10
I create three variants with additional price as follows:
Variants Extra price Final Price
a 0 10
b 10 20
c 15 25
But the price on the website are as follows:
a - 10 (10+0)
b - 20 (10 + 10)
c - 25 (10 + 15) i.e. the public price is the final price of the first variant 'a'.
If I edit the variants, the order of the variants get jumbled up and the
final price of the first variant that appears in the list is taken as
the public sales price.
example:
variant - a price - 5
variant - b price - 15 ( I edited the price of the variant 'b' )
variant - c price - 15
On saving the template the order becomes
Variants Extra price Final Price
c 15 25
a 0 10
b 15 25
Now it takes 25 i.e. Final price of first variant 'c' as the base sales
price and the sale price of the variants on the website are shown as:
c - 40 (25 + 15)
a - 25 (25 + 0)
b - 40 (25 + 15)
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/1313733
Title:
Editing the product variants results in wrong output on the website
Status in OpenERP Addons (modules):
New
Bug description:
When I create a product template and add variants to it, the Final
price of the first variant is taken as the base sale price of the
product and the price of the variants are taken as the ( Final Price
of the first variant + Extra Price for a variant ).
example:
I create a product template 'my product' with base sale price - 10
I create three variants with additional price as follows:
Variants Extra price Final Price
a 0 10
b 10 20
c 15 25
But the price on the website are as follows:
a - 10 (10+0)
b - 20 (10 + 10)
c - 25 (10 + 15) i.e. the public price is the final price of the first variant 'a'.
If I edit the variants, the order of the variants get jumbled up and
the final price of the first variant that appears in the list is taken
as the public sales price.
example:
variant - a price - 5
variant - b price - 15 ( I edited the price of the variant 'b' )
variant - c price - 15
On saving the template the order becomes
Variants Extra price Final Price
c 15 25
a 0 10
b 15 25
Now it takes 25 i.e. Final price of first variant 'c' as the base
sales price and the sale price of the variants on the website are
shown as:
c - 40 (25 + 15)
a - 25 (25 + 0)
b - 40 (25 + 15)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1313733/+subscriptions
Follow ups
References