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.
Is it possible to search on field.property() fields? I would really like to be able to search by payment terms, but can't figure out the way to do so. I have tried:
<filter string="COD" name="type_cod" domain="[('property_payment_term.name','=','COD')]" help="COD Customers"/>
<filter string="COD" name="type_cod" domain="[('property_payment_term','=','COD')]" help="COD Customers"/>
as well as
<filter string="COD" name="type_cod" domain="[('property_payment_term','like','COD')]" help="COD Customers"/>But none of these seem to be working. The field is defined as such:
string ='Customer Payment Term',
help="This payment term will be used instead of the default one for sale orders and customer invoices"),
Any idea how to search on this? 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/31/15, 2:40 PM|
|Seen: 615 times|
|Last updated: 3/31/15, 3:26 PM|