Odoo Help


How to add new fields to opportunity form view ?

zakaria ben
on 12/19/13, 9:38 AM 609 views

I'm newbie in OpenERP developpement, and i want to add some fields to opprotunity form view.

1) I want to add Picklist field for Stage and make probability field ReadOnly. Probalility should depends on stage change.

2) I want to add new field of type float (coefficient), ReadOnly and it depends on opportunity's probalility on the timing of creation:

                        If probability <50% then coefficient == 1  
                        Else if probability >50% then coefficient == 0.1
                        Else coefficient == 0.5

Once the coefficient is calculated for the first time, it should not be changed.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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

Question tools

1 follower(s)


Asked: 12/19/13, 9:38 AM
Seen: 609 times
Last updated: 3/16/15, 8:10 AM