Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
1. I have added a field (float) in the new partner create sheet (technical sheet).
I am trying to display that field (AND related to the appropriate partner) in the payment invoice sheet (account.voucher) in order to be used later.
2. in the payment invoice sheet (account.voucher) I want to write a function that compares the amount in the first field to the amount in the "to pay" field and test som appropriate conditions
Anyone can help please ?
In any case when your desired field is not the part of your model, you should have a logical or relational link to that model and eventually that field.
In your case, if its understood well; you should compare the 'to_pay' and the field which is linked to partner chosen on voucher.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/3/15, 6:20 AM|
|Seen: 371 times|
|Last updated: 7/3/15, 2:06 PM|