This question has been flagged
2956 Views

Hello.

In file: ./purchase/purchase_view.xml line 590

Branch "master" commit: https://github.com/odoo/odoo/commit/49bc956395d5fdd2f3e3be8bc0035ec38c92f7c6

We can read:

<field name="purchase_ok" attrs="{'readonly': [('is_product_variant', '=', False)]}"/>

What I really appreciate to understand is why if a product is variant I can't set it as can be purchased?

In other hand, it is impossible set the product as "Can Be purchased" one time you create it.

Is this the expected behavior?, Theorically speaking, Why is this feature setted in this way?

Thanks in advance.

Avatar
Discard