Odoo Help

1 Answer



| 5 3 7
Jakarta, Indonesia
1/27/15, 4:08 AM

@Dzingai what you need is to change the value field into a function field.  In new API (v8) you need to put the compute attribute in the field definition.  In both you need to develop a method in the said model to be used by the function.

You can find sample in the account.invoice modules which have quite a lot of function fields.

Ask a Question
Keep Informed
1 follower(s)
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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now