Hi, i want to create two helpdesk teams from xml in my custom module that inherit "helpdesk" when is installed.
I saw that they create a Support team by default by test, there is another way?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi, i want to create two helpdesk teams from xml in my custom module that inherit "helpdesk" when is installed.
I saw that they create a Support team by default by test, there is another way?
Hi,
In your module you can add a data file and create team records from code, you can try like this,
<record id="help_desk_team1" model="helpdesk.team">
<field name="name">Odoo Support</field>
<field name="alias_name">support</field>
<field name="stage_ids" eval="False"/>
<field name="use_sla" eval="True"/>
</record>
See more at here: How To Create Data Files and Load Default Data In Odoo
Thanks
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 3 25
|
1461 | ||
|
0
thg 10 24
|
1441 | ||
|
1
thg 9 24
|
1557 | ||
|
1
thg 8 24
|
1664 | ||
|
1
thg 7 24
|
1527 |