Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1105 Prikazi

I want to create Analytic Plan when my module gets installed.


How my XML file that will be in the data directory should look like?

Avatar
Opusti
Avtor

Thanks a lot Ray

Best Answer

Review the Odoo demo data for Analytic Plans at https://github.com/odoo/odoo/blob/18.0/addons/analytic/data/analytic_account_demo.xml

<record id="analytic_plan_departments" model="account.analytic.plan">
    <field name="name">Departments</field>
    <field name="default_applicability">optional</field>
</record>
Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 25
864
1
jun. 25
1709
0
apr. 24
1252
0
feb. 23
3766
5
nov. 22
8000