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.
Hello, I am developing a module in Odoo 8 and I have a question.
I have 'sale.order' class, with a 'pricelist_item_id' field, which is a Many2one relationship with 'product.pricelist.item' field.
In 'product.pricelist.item' I have a field, 'pays', which is a Many2one field.
I want to define a domain in 'pricelist_item_id' field which allows only 'pricelist.items" which have the 'pays' field with length of 1 or more. I don't found the operador "len" in domains... how can I do this?
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: 12/16/14, 2:46 PM|
|Seen: 1316 times|
|Last updated: 3/16/15, 8:10 AM|