Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3890 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
жовт. 16
3894
3
серп. 25
694
1
лип. 25
595
1
лип. 25
992
1
лип. 25
1339