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 wanted to overwrite the state field in sale order so that i add new values and delete existing ones.
for adding i used the attribute selection_add and it works fine. but for deleting it does not.
state = fields.Selection(selection_add=[('a','AA'),('b','BB')], selection_remove=['draft'])
is this the correct syntax to do that (deleting i mean) ?
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: 6/3/16, 11:42 AM|
|Seen: 248 times|
|Last updated: 6/4/16, 7:51 AM|