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.
I have been attempting to create a filter for Customers that selects only those who have COD payment terms, but can't figure out how to correctly call it. Payment terms is a many2one field with the 'selection' widget, FWIW. The code I tried is:
<filter string="COD" name="type_cod" domain="[('property_payment_term.name','=','COD')]" help="COD Customers"/>
and I also tried
<filter string="COD" name="type_cod" domain="[('property_payment_term','=','COD')]" help="COD Customers"/>
But neither of those worked. Any idea how to do this correctly? Thanks!
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: 3/16/15, 6:53 PM|
|Seen: 729 times|
|Last updated: 3/20/15, 5:35 PM|