Skip to Content
मेन्यू
This question has been flagged
1 Reply
1535 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
1256
1
जून 25
2527
0
अप्रैल 24
1558
0
फ़र॰ 23
4086
5
नव॰ 22
8335