Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2014 Vues

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?



Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
mars 25
1524
0
oct. 24
1485
1
sept. 24
1597
1
août 24
1703
1
juil. 24
1558