Odoo Help

3

0
1 Answer
0
Avatar

Jignesh Mehta India

--Jignesh Mehta--
12287
| 7 6 10
Surat, India
--Jignesh Mehta--
General Summary :-
- Odoo (Formerly OpenERP) Technical & Functional Expert.
- Worked as Project lead on Jewellery Manufacturing ERP.
- Having 3+ years of strong experience in odoo module development.
- Work for 3+ odoo customization to international & national clients.

Module Developments :-
- Develop Jewellery Manufacturing ERP from Scratch.
- Work in Several Modules like CRM, Sales, Purchase, Account, Inventory HR, Payroll, Website, etc.
- Work in Odoo themes which is Business and E-commerce.

Report Development :-
- Develop several Qweb and Excel Reports.

Code Migration :-
- Migrate code from Odoo9.0 to Odoo12.0 of Jewellery Manufacturing ERP.
Jignesh Mehta India
7/28/16, 12:06 AM

Hello Annadurai,


Yes, You can use multiple kanban views of the same model in the same module.

For this, you can define different view, different search view and different action for the same model in same module.


For Ex :-

Kanban-1

<record id="kanban_1_view" model="ir.ui.view">

    ------

</record>

Search view - 1 :- In this search view you can write about the group by which is apply to this kanban - 1.

<record id="search_1_view" model="ir.ui.view">

    ------

</record>

Action view - 1

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

     -----

    <field name="search_view_id" ref="search_1_view"/> // define search view for kanban 1

</record>

This record for show different different view for multiple.

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

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

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

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

    <field name="view_id" ref="kanban_1_view" /> // In view id, you can define which kanban you want to show.

</record>


Kanban-2

<record id="kanban_2_view" model="ir.ui.view">

    ------

</record>

Search view - 2 :- In this search view you can write about the group by which is apply to this kanban - 2.

<record id="search_2_view" model="ir.ui.view">

    ------

</record>

Action view - 2

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

    -----

    <field name="search_view_id" ref="search_2_view"/> // define search view for kanban 2

</record>

This record for show different different view for multiple.

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

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

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

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

    <field name="view_id" ref="kanban_2_view" /> // In view id, you can define which kanban you want to show.

</record>


From that way, you can use multiple kanban views of the same model in the same module.

Hope this short example helps you.

Thanks,

Ask a Question
Writer
Keep Informed
1 follower(s)
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