Hi,
I want to hide Confirm sale button from Sales Order form for specific group. Please help
Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I want to hide Confirm sale button from Sales Order form for specific group. Please help
Thank you
Hi,
just add to this button xml a required group. E.g restrict it to admin (preferably to do it via xml inheritance on a code level):
<button name="action_button_confirm" states="draft" string="Confirm Sale" type="object" groups="base.group_erp_manager"/>
<button name="action_button_confirm" states="sent" string="Confirm Sale" class="oe_highlight" type="object" groups="base.group_erp_manager"/>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Hi Ali, this link is helpfull to hide "Confirm Sale" button.
https://stackoverflow.com/questions/40170027/hide-confirm-sale-button-in-sale-order-form-view-in-odoo-9