mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: Select the correct sections/notes to be invoiced
This commit is contained in:
committed by
Pedro M. Baeza
parent
6b7576f37f
commit
b66e388378
@@ -34,6 +34,10 @@
|
||||
<label for="name" string="Note" attrs="{'invisible': [('display_type', '!=', 'line_note')]}"/>
|
||||
<field name="name" nolabel="1"/>
|
||||
|
||||
<group name="note_invoicing_mode" attrs="{'invisible': [('display_type', '!=', 'line_note')]}">
|
||||
<field name="note_invoicing_mode" widget="radio"/>
|
||||
</group>
|
||||
|
||||
<group col="4" attrs="{'invisible': [('display_type', '!=', False)]}">
|
||||
<field colspan="2" name="is_auto_renew"/>
|
||||
<field colspan="2" name="is_canceled" invisible="1"/>
|
||||
@@ -62,7 +66,7 @@
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
<group name="recurrence_info" attrs="{'invisible': [('display_type', '!=', False)]}">
|
||||
<group name="recurrence_info" attrs="{'invisible': ['|', ('display_type', '=', 'line_section'), '&', ('display_type', '=', 'line_note'), ('note_invoicing_mode', '!=', 'custom')]}">
|
||||
<group>
|
||||
<label for="recurring_interval"/>
|
||||
<div class="o_row">
|
||||
|
||||
Reference in New Issue
Block a user