I want to make a confirmation box (yes / no) for manufacturing. I created a model and an xml view, but it doesn't work if you call it from the ORM Write method. From other functions everything works. How can i do this?
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
This question has been flagged
1
Reply
1509
Views
Hello Cherkashinda
If You need on button then use like this.
Added a confirm in button.
<button name="action_validate" string="Validate" type="object" confirm="Are you sure you want to Validate this record?" class="oe_highlight"/>
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