Odoo Help

1

Why purchase_ok readonly when is_product_variant == False

By
Nhomar Hernandez
on 7/15/14, 8:46 PM 828 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.

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: 7/15/14, 8:46 PM
Seen: 828 times
Last updated: 3/16/15, 8:10 AM