Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
6320 Widoki

Purchasing with products that have variants.


Product A has 4 variants  [black, yellow, magenta, cyan]


Product A is purchased from Vendor A with a cost price of €40 except for variant “black" which has a cost price of €50


If we set the variant cost price of black to €50 in the variant window, this does not show in a purchase order of that variant to the vendor it just defaults to the main product cost price.


How do we have the correct cost price show in the purchase order for each variant if the cost prices are different?


Awatar
Odrzuć

Did you ever find an answer to this? We are having the same issue and I cannot find a solution to solve this on V10 Enterprise.

Najlepsza odpowiedź

Hi Darren,

I found a solution for this in V10, refer the app https://www.odoo.com/apps/modules/10.0/product_variant_supplierinfo/

and you have to inherit their views/product_supplierinfo_view.xml form view like below,

<record id="product_supplierinfo_form_view" model="ir.ui.view">
    <field name="inherit_id" ref="product.product_supplierinfo_form_view"/>
    <field name="model">product.supplierinfo</field>
    <field name="arch" type="xml">
        <field name="product_id" position="replace">
            <field name="product_id"
                   domain="[('product_tmpl_id', '=', parent.id)]"
                   invisible="context.get('hide_product_id')"/>
        </field>
   </field>
</record>


After this, I can able set the variant cost price in the variant window, then this cost showing in a purchase order of that variant to the vendor.

Hope this help you.



Awatar
Odrzuć
Autor Najlepsza odpowiedź

No we have had no solution for this issue

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 21
2695
2
sie 25
153
3
sie 25
546
1
lip 25
466
1
lip 25
872