Odoo - OpenERP - How to remove or hide kanban view button in the top-right corner of product form?

Support
Support
5000
| 2 1 2
Asked on 7/9/15, 10:34 AM
0
vote
4915 Views

In the product_view.xml file you need to change the code.

<record id="product_normal_action" model="ir.actions.act_window">

In this action you need to write:

<field name="view_mode">tree,form</field> Instead of <field name="view_mode">tree,form,kanban</field>

<record id="product_normal_action_sell" model="ir.actions.act_window">

In this action you need to write:

<field name="view_mode">tree,form</field> Instead of <field name="view_mode">kanban,tree,form</field>

Same for the <record id="open_view_product_kanban1" model="ir.actions.act_window.view">

Also remove this code in this file:

<record id="open_view_product_kanban1" model="ir.actions.act_window.view">

<field name="sequence" eval="1"/>

<field name="view_mode">kanban</field>

<field name="view_id" ref="product_kanban_view"/>

<field name="act_window_id" ref="product_normal_action_sell"/>

</record>

Support
Support
5000
| 2 1 2
Answered on 7/9/15, 10:37 AM
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

3 follower(s)

Stats

Asked: 7/9/15, 10:34 AM
Seen: 4915 times
Last updated: 7/9/15, 10:37 AM