Odoo Help

-1

Default List View ?

By
Lerner
on 7/4/15, 5:14 AM 610 views

By defaultly Sales->Products are appeared in the Kanban view is how to make it open the LIST VIEW by defaultly.

Hi Serpent consulting services,

I have edited those configurations it is removing the name of the product and rest of the things are printing as normally, Not effecting any thing is there ant thing to do ?


@Sudersan, I didn't understood the result you have wrote by editing the question. The result you have wrote and the answer which is given by Serpent Consulting Services Pvt. Ltd. is completely different. However, the answer which is given by them is completely true. Please try by inherit the action by using the same ID but add prefix with module name in which this window action is specified. I think your problem will be solved.

Emipro Technologies Pvt. Ltd.
on 7/6/15, 2:42 AM
0

Axel Mendoza

--Axel Mendoza--
11048
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 7/10/15, 3:42 AM

Just do this in your xml to update the corresponding ir.actions.act_window view_mode field

"""

<record id="product.product_template_action" model="ir.actions.act_window">

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

</record>

"""

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4436
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 7/4/15, 5:34 AM

Sudarsan,

Please reach out to the action of the product menu:Product/product_view.xml

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

<field name="name">Products</field>

<field name="type">ir.actions.act_window</field>

<field name="res_model">product.template</field>

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

<field name="view_type">form</field>

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

<field name="context">{"search_default_filter_to_sell":1}</field>

</record>

Here you should change the sequence to be tree,form,kanban!

Thanks.

Your answer is exactly right ! Just questioner need to override the action and define that window action to their custom module, keep the same name with the prefix of the module name in which this action is specified !

Emipro Technologies Pvt. Ltd.
on 7/6/15, 2:45 AM

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 7/4/15, 5:14 AM
Seen: 610 times
Last updated: 7/23/15, 4:47 AM