Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to remove the view-kanban from the product page

By
charlesraj
on 9/30/13, 6:08 AM 1,594 views

how can we remove /hide the kanban view button in the top-right corner of the product form in openerp v7.0.

1

Acespritech

--Acespritech--
839
| 3 2 6
India
--Acespritech--

Having 8+ years of OpenERP Experience. We are Specialized in OpenERP/CRM Solutions, software development, Web development, E commerce solutions & other open source solutions.


Skype : acespritech

Email : info@acespritech.com

Acespritech
On 9/30/13, 6:50 AM

Hi,

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 this <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>

Thanks,
www.acespritech.com

hai. Thanks for the answer.

charlesraj
on 9/30/13, 9:43 AM

by editing the the xml file this change will be refelected to all DB, How to make this change only for a particular database only.

charlesraj
on 9/30/13, 9:49 AM

In OpenERP UI go to Settings->Technical->Actions->Window Actions and then type product & it will give you some records & change in action in which view mode kanban is defined & also remove its kanban view reference.

Acespritech
on 9/30/13, 10:46 AM

hi. remove kanban view from it . but nothing will be changed.

charlesraj
on 10/1/13, 2:46 AM

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!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 9/30/13, 6:08 AM
Seen: 1594 times
Last updated: 3/16/15, 8:10 AM