-
-
Notifications
You must be signed in to change notification settings - Fork 705
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] account_manual_currency: Migration to 17.0
- Loading branch information
1 parent
15afc23
commit c09f480
Showing
6 changed files
with
114 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
account_manual_currency/wizard/account_payment_register_views.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="view_account_payment_register_form" model="ir.ui.view"> | ||
<field name="name">account.payment.register.form</field> | ||
<field name="model">account.payment.register</field> | ||
<field name="inherit_id" ref="account.view_account_payment_register_form" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//group[@name='group2']" position="inside"> | ||
<field name="currency_diff" invisible="1" /> | ||
<label | ||
for="manual_currency" | ||
groups="base.group_multi_currency" | ||
invisible="not currency_diff" | ||
/> | ||
<div groups="base.group_multi_currency" invisible="not currency_diff"> | ||
<field name="manual_currency" /> | ||
<label for="manual_currency_rate" invisible='1' /> | ||
<div class="o_row" invisible="not manual_currency"> | ||
<field name="manual_currency_rate" /> | ||
<field name="type_currency" required="manual_currency" /> | ||
</div> | ||
</div> | ||
</xpath> | ||
</field> | ||
</record> | ||
</odoo> |