Hide print button in openerp

I want to disable the menu from the More options in the form view. Product, but I don't know where to find this form, nor how to do it.

Please help me.

+3


source to share


3 answers


There is another way to hide print and another button on all openerp interfaces. Switch to:

openerpDir\addons\web\static\src\css\base.css

      

Replace:



.openerp .oe_sidebar {
  white-space: nowrap;
}

      

FROM

.openerp .oe_sidebar {
  display: none;
  white-space: nowrap;
}

      

+3


source


You can go to Settings -> Technical Actions> Action -> Action Bindings . Then in the search group Model and Type . Find the product.product model and expand it. You can see two types: client_print_multi (for items under the Print button) and client_action_relate (for items under the Advanced button). You can select the one you want and delete those entries that you want to hide in this type.



These action bindings are stored in the "ir_values" table in your database.

+2


source


It depends on which menu you want to hide, find the object of that menu and set the access right for that object: -

Settings ==> Groups -> access rights tab

+1


source







All Articles