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 want to allow a record in one2many tree view and allow to delete a record in one2many tree view based on its state.
For example: if state!='draft', disable the delete icon.
It is for account.invoice.line model.
I try to override the fields_view_get method, but It does not work.
I try to override the ir.rule, but the result is the same and the delete icon always displays.
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/4/15, 4:00 PM|
|Seen: 1381 times|
|Last updated: 3/27/15, 6:40 PM|