summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_account_views.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-09-01 10:31:23 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-09-01 10:31:23 +0700
commit41e76bb5b668473c8086ba82ea8f405315b8e5ae (patch)
treedcc9d5dadc971f6c38942af7e4522dcec6af9d0f /indoteknik_custom/views/account_account_views.xml
parentfb2ee6f00d4b8caf351b05db92af7bf0e4774ec8 (diff)
change cost_centre to analytic_account
Diffstat (limited to 'indoteknik_custom/views/account_account_views.xml')
-rw-r--r--indoteknik_custom/views/account_account_views.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/views/account_account_views.xml b/indoteknik_custom/views/account_account_views.xml
index 45d8a19c..20886787 100644
--- a/indoteknik_custom/views/account_account_views.xml
+++ b/indoteknik_custom/views/account_account_views.xml
@@ -7,7 +7,8 @@
<field name="inherit_id" ref="account.view_account_list"/>
<field name="arch" type="xml">
<field name="currency_id" position="after">
- <field name="cost_centre_id" options="{'no_create': True}"/>
+ <field name="cost_centre_id" optional="hide"/>
+ <field name="analytic_account_ids" widget="many2many_tags" options="{'no_create': True}"/>
</field>
</field>
</record>