Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: odoo/tutorials
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 032edfe091a7bae8e77072983fe809a067edc9ad
Choose a base ref
..
head repository: odoo/tutorials
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ab547898eca1b45d1737c2c1f547f4eb7619ebab
Choose a head ref
Showing with 5 additions and 2 deletions.
  1. +5 −2 partial_payment/wizard/account_payment_register_views.xml
7 changes: 5 additions & 2 deletions partial_payment/wizard/account_payment_register_views.xml
Original file line number Diff line number Diff line change
@@ -6,8 +6,11 @@
<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='group1']/label" position="before">
<field name="communication" />
<xpath expr="//group[@name='group2']/field[@name='communication']" position="attributes">
<attribute name="invisible">single_payment</attribute>
</xpath>
<xpath expr="//group[@name='group2']/div/field[@name='amount']" position="attributes">
<attribute name="readonly">not single_payment</attribute>
</xpath>
<xpath expr="//group[@name='group2']" position="after">
<field name="payment_lines_ids" invisible="single_payment">