diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-05 14:45:18 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-05 14:45:18 +0700 |
| commit | 513bce9e13dee0453ce24b41a54d3b408e58c7f0 (patch) | |
| tree | 21426e7af98ad3fcb34101e42ce0979d4472958a /indoteknik_custom/views | |
| parent | a1137c5bb22734eff9585b7b95607983f23d2de9 (diff) | |
Fix bug solr product variants, add analytic tags to jurnal entries line, remove validation edit di purchase pricelist
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/account_account_views.xml | 3 | ||||
| -rw-r--r-- | indoteknik_custom/views/account_move_line.xml | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/indoteknik_custom/views/account_account_views.xml b/indoteknik_custom/views/account_account_views.xml index 20886787..875d5a6b 100644 --- a/indoteknik_custom/views/account_account_views.xml +++ b/indoteknik_custom/views/account_account_views.xml @@ -7,8 +7,7 @@ <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" optional="hide"/> - <field name="analytic_account_ids" widget="many2many_tags" options="{'no_create': True}"/> + <field name="analytic_tag_ids" optional="show" widget="many2many_tags"/> </field> </field> </record> diff --git a/indoteknik_custom/views/account_move_line.xml b/indoteknik_custom/views/account_move_line.xml index 99122de3..5b5f73cd 100644 --- a/indoteknik_custom/views/account_move_line.xml +++ b/indoteknik_custom/views/account_move_line.xml @@ -8,11 +8,9 @@ <field name="arch" type="xml"> <xpath expr="//page[@id='aml_tab']/field[@name='line_ids']/tree/field[@name='currency_id']" position="before"> <field name="is_required" invisible="1"/> - <field name="cost_centre_id" optional="hide"/> - <field name="analytic_account_ids" widget="many2many_tags" options="{'no_create': True}"/> </xpath> - <xpath expr="//page[@id='aml_tab']/field[@name='line_ids']/tree/field[@name='analytic_account_id']" position="attributes"> - <attribute name="invisible">1</attribute> + <xpath expr="//page[@id='aml_tab']/field[@name='line_ids']/tree/field[@name='analytic_tag_ids']" position="attributes"> + <attribute name="groups"/> </xpath> </field> </record> |
