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.
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...
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/5/15, 9:26 AM|
|Seen: 831 times|
|Last updated: 6/8/15, 8:02 AM|