mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] - hide recurring_invoicing_type if recurring_rule_type is monthlylastday
for the monthlylastday case, pre-paid is logicly impossible, if monthlylastday is set, we consider only post-paid case [IMP] - Improve unit tests
This commit is contained in:
@@ -49,9 +49,6 @@
|
||||
</group>
|
||||
</group>
|
||||
<group name="recurrence_info">
|
||||
<group>
|
||||
<field name="recurring_invoicing_type"/>
|
||||
</group>
|
||||
<group>
|
||||
<label for="recurring_interval"/>
|
||||
<div>
|
||||
@@ -61,7 +58,10 @@
|
||||
class="oe_inline" nolabel="1"/>
|
||||
</div>
|
||||
</group>
|
||||
|
||||
<group>
|
||||
<field name="recurring_invoicing_type"
|
||||
attrs="{'invisible': [('recurring_rule_type', '=', 'monthlylastday')]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user