can someone suggest how to remove delete button in one2many lines whenone field is True
i have tried using def unlink(self): and overridding this method
Note: i am working in odoo 10
can someone suggest how to remove delete button in one2many lines whenone field is True
i have tried using def unlink(self): and overridding this method
Note: i am working in odoo 10
Copyright © 2021 Jogjafile Inc.
You can set <tree delete="0"> in view to disable deletion for all records. otherwise there is not way to put condition on that.
hope this helps!