mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: add next period start/end fields
Add two computed field showing the next period start and end date. This improve the UX and will enable further simplifications in the code.
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
967023c31b
commit
ea235974b8
@@ -15,11 +15,13 @@
|
||||
<group>
|
||||
<field name="create_invoice_visibility" invisible="1"/>
|
||||
<field name="date_start" required="1"/>
|
||||
<field name="next_period_date_start"/>
|
||||
<field name="recurring_next_date"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="date_end"
|
||||
attrs="{'required': [('is_auto_renew', '=', True)]}"/>
|
||||
<field name="next_period_date_end"/>
|
||||
</group>
|
||||
<group groups="base.group_no_one">
|
||||
<field name="last_date_invoiced" readonly="True"/>
|
||||
|
||||
Reference in New Issue
Block a user