Skip to Content
मेन्यू
This question has been flagged
1 Reply
1119 Views

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
Discard
Author

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
Discard
Related Posts Replies Views Activity
1
जून 25
867
1
जून 25
1715
0
अप्रैल 24
1252
0
फ़र॰ 23
3769
5
नव॰ 22
8004