Odoo - OpenERP - How to hide "Print" and "More" button in views ?

Zarshed Ali
Zarshed Ali
5000
| 2 1 2
Asked on 11/18/15, 2:38 PM
0
vote
2996 Views

There is another way to hide print and more button in all openerp interfaces. Go to :

openerp Dir \addons\web\static\src\css\base.css

Replace:

.openerp .oe_sidebar {

white-space: nowrap;

}

With:

.openerp .oe_sidebar {

display: none;

white-space: nowrap;

}

 

Another Option:

You can goto Settings >> Technical >> Action >> Action Bindings.

Then in search Group ByModel and Type. Find the model product.product and expand it.

You can see two types,client_print_multi (for items under Print button)and client_action_relate (for items under More button).

You can choose the one you want and delete those entries which you want to hide in that type.

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

 

Zarshed Ali
Zarshed Ali
5000
| 2 1 2
Answered on 11/18/15, 2:41 PM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/18/15, 2:38 PM
Seen: 2996 times
Last updated: 11/18/15, 2:41 PM