Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1991 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 25
1423
0
ต.ค. 24
1401
1
ก.ย. 24
1538
1
ส.ค. 24
1642
Helpdesk > Moving tickets between teams แก้ไขแล้ว
1
ก.ค. 24
1514