Skip to content

Commit

Permalink
[FIX] remove duplicated account.move form view
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Aug 1, 2022
1 parent c94432c commit c9aa785
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
6 changes: 6 additions & 0 deletions account_wallet/views/account_move.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
>
<field name="account_wallet_id" />
</xpath>
<xpath
expr="//notebook/page/field[@name='line_ids']/tree/field[@name='date_maturity']"
position="after"
>
<field name="account_wallet_id" />
</xpath>
<xpath expr="//group/div[field[@name='currency_id']]" position="after">
<field
name="account_wallet_type_id"
Expand Down
19 changes: 0 additions & 19 deletions account_wallet/views/account_wallet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,23 +126,4 @@
sequence="10"
/>




<record id="account_move_view_form_inherit_wallet_base" model="ir.ui.view">
<field name="name">account.move.form (in account_wallet)</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<data>
<xpath
expr="//notebook/page/field[@name='line_ids']/tree/field[@name='date_maturity']"
position="after"
>
<field name="account_wallet_id" />
</xpath>
</data>
</field>
</record>

</odoo>

0 comments on commit c9aa785

Please sign in to comment.