Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Give one Boolean field
field_name = fields.Boolean('Hide Button')
and add in the form view also and make invisible.
Then on that button function pass that field_name value as True.
In the form view of that button add the attrs condition for invisible as field_name as True
Then it will hide after first clcik
sorry i don’t understand programming.
would be nice if you can provide me copy and paste text
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up