Odoo 도움말

0

0
3 응답
0
Amr Abd-Alkrim Hassan Sudan
19. 7. 20. 오전 9:09

Inherit the view you want to add the stages feature to and add this code in a new module 
for example here is the orders in your module who are inherited from the sales module

<odoo>
<data>

<record id="example_order_kanban_inherit" model="ir.ui.view">
<field name="name">example.order.kanban.inherit</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_sale_order_kanban"/>
<field name="arch" type="xml">
<xpath expr="//kanban" position="attributes">
<attribute name="default_group_by">state</attribute>
</xpath>
</field>
</record>

</data>
</odoo>


change the "state" field to the field you want to group them by.
It can be a One2many or a Selection field

0
Avatar

Paresh W India

--Paresh W--

7716
| 4 2 4
Navi Mumbai, India
--Paresh W--
Paresh W India
19. 7. 19. 오전 11:03

Hi Dhouha: 

The Stages can be configured without writing any code by going to Recruitment > Configuration > Stages after activating Developer mode. 

0
Avatar

Manish Kumar Bohra India

--Manish Kumar Bohra--
10998
| 6 5 10
Bikaner, India
--Manish Kumar Bohra--


Manish Kumar Bohra India
19. 7. 18. 오후 1:08

Hello,

You can define in your kanban view like this 

<kanban default_group_by="stage_id" class="o_kanban_small_column o_kanban_project_tasks" on_create="quick_create" quick_create_view="project.quick_create_task_form" examples="project">

maybe it's works for you.

Thanks

질문하기
Writer
태그
Keep Informed
1 팔로워
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