Odoo Help

0

How do you manage variants with prices based on supplier prices ?

By
PY
on 6/5/15, 9:26 AM 1,189 views

Hi !

I know how works variants prices, with base price and price extra.

I know how to set pricelists to compute the price based on the supplier price.

But how to do both ?

I mean, if I have two variants, that a supplier sell at a different price, will I have to decide one of them as the base price, calculate the selling base price, based on this one, then convert and substract it from the other price to calculate the prixe extra...

It seems complicated for a simple thing.

Edit:

Ok, it seems no one understood what I was saying...

So far, to manage supplier prices, I use the field pricelist.partnerinfo.price, which is linked to the model product.supplierinfo, which is, in turn, linked to product.template.

Next, a product variant is, in fact, a product.product, linked to its base, the product.template. What defines the selling price of a variant is the selling price of the template + the price extra of the variant, defined in the model product.attribute.price.

Many variants belongs to one template, and a template will have only one price per supplier (per quantity minimumu, but that's another story). Two prices cannot fit in one spot...


+1 here. I don't think you can calculate price depending on supplier price AND extra price. Extra price for a variant directly change de sale price of an item. You must depend on sale price OR supplier cost price.

Pascal Tremblay
on 6/8/15, 7:12 AM

Yes. I suppose we have three solutions here: - wait for a proposal - do the dirty work ourselves (this involves product.attribute.price, product.pricelist, and gods knows whatever else) - use a workaround / don't use variants when price is different / less frendly :/ Unfortunately, I think I will use the third solution here. Don't have time to do the second one.

PY
on 6/8/15, 8:02 AM
0
Sabino Dicorato
On 5/10/17, 9:35 AM

Hi!

I have the same problem with Odoo 10 Enterprise.

Someone have found a third parts solution?


Thank you.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/5/15, 9:26 AM
Seen: 1189 times
Last updated: 5/10/17, 9:35 AM