|
|
@ -121,8 +121,8 @@ |
|
|
|
</group> |
|
|
|
<group name="term_information"> |
|
|
|
<group name="termdates_left" string="Term Dates"> |
|
|
|
<field name="start_date" required="True" attrs="{'required': [('is_template', '=', False)], 'readonly':[('is_template', '=', True)]}"/> |
|
|
|
<field name="end_date" required="True" attrs="{'required': [('is_template', '=', False)], 'readonly':[('is_template', '=', True)]}"/> |
|
|
|
<field name="start_date" attrs="{'required': [('is_template', '=', False)], 'invisible': [('is_template', '=', True)]}"/> |
|
|
|
<field name="end_date" attrs="{'required': [('is_template', '=', False)], 'invisible': [('is_template', '=', True)]}"/> |
|
|
|
<field name="expiration_notice"/> |
|
|
|
<field name="change_notice"/> |
|
|
|
<field name="notification_address_id" domain="['|', ('parent_id', '=', partner_id), ('parent_id', '=', company_partner_id)]"/> |
|
|
@ -388,6 +388,7 @@ |
|
|
|
<field name="name">Templates</field> |
|
|
|
<field name="res_model">agreement</field> |
|
|
|
<field name="domain">[('is_template', '=', True)]</field> |
|
|
|
<field name="context">[('is_template', '=', True)]</field> |
|
|
|
<field name="view_mode">tree,kanban,form</field> |
|
|
|
</record> |
|
|
|
|
|
|
|