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 b49885a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
7 changes: 6 additions & 1 deletion account_wallet/views/account_move.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<!-- Copyright 2021 ACSONE SA/NV
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<!-- Account Move view -->
<record id="view_move_form" model="ir.ui.view">
<field name="name">account.move.form (in account_wallet)</field>
<field name="model">account.move</field>
Expand All @@ -14,6 +13,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 b49885a

Please sign in to comment.