Skip to Content
Menu
This question has been flagged
3 Replies
2910 Views

Odoo.com 11. In the Manufacturing module, there is a Routings view. There is a button bar with Steps. 

I accidentally deleted the Steps Smart Button.

The add Smart Button button does not work because it's not a related field.

Using the Chrome Odoo Debugger extension there is a menu item name Field Views Get. I located the button from the other account:

<div class="oe_button_box" name="button_box" modifiers="{}">
<button name="375" type="action" icon="fa-list-ul" modifiers="{}" options="{}">                     Step

                 </button>

It's not a smart button but seems to be an action.

How do I add this back to the original view?

Avatar
Discard

Very good answer. Thank you.

Best Answer

Upgrade the base module to re-load the XML definitions of all the default Odoo views.

https://www.opensourceintegrators.com/publications/update-safe-changes-to-odoo-views tells you how to make upgrade safe changes.  This is the recommended way so you can disable the view when you want to undo changes.


Avatar
Discard

And if you made your changes in Odoo Studio, you need to find those Views in the Settings App / Technical Menu / User Interface / Views menu sequence and remove the lines that deleted the button.