|
|
@ -38,6 +38,7 @@ |
|
|
|
<field name="contract_template_id" colspan="4"/> |
|
|
|
<field name="journal_id"/> |
|
|
|
<field name="pricelist_id"/> |
|
|
|
<field name="company_id" groups="base.group_multi_company"/> |
|
|
|
<label for="recurring_interval"/> |
|
|
|
<div> |
|
|
|
<field name="recurring_interval" |
|
|
@ -119,11 +120,11 @@ |
|
|
|
<separator/> |
|
|
|
<filter name="not_finished" |
|
|
|
string="Valid" |
|
|
|
domain="['|', ('date_end', '=', False), ('date_end', '>=', time.strftime('%%Y-%%m-%%d'))]" |
|
|
|
domain="['|', ('date_end', '=', False), ('date_end', '>=', time.strftime('%Y-%m-%d'))]" |
|
|
|
/> |
|
|
|
<filter name="finished" |
|
|
|
string="Finished" |
|
|
|
domain="[('date_end', '<', time.strftime('%%Y-%%m-%%d'))]" |
|
|
|
domain="[('date_end', '<', time.strftime('%Y-%m-%d'))]" |
|
|
|
/> |
|
|
|
<group expand="0" string="Group By..."> |
|
|
|
<filter string="Next Invoice" |
|
|
@ -145,7 +146,7 @@ |
|
|
|
<field name="res_model">account.analytic.account</field> |
|
|
|
<field name="view_type">form</field> |
|
|
|
<field name="view_mode">tree,form</field> |
|
|
|
<field name="context">{'is_contract':1, 'search_default_not_finished':1, 'search_default_recurring_invoices':1}</field> |
|
|
|
<field name="context">{'is_contract':1, 'search_default_not_finished':1, 'search_default_recurring_invoices':1, 'default_recurring_invoices': 1}</field> |
|
|
|
<field name="search_view_id" ref="analytic.view_account_analytic_account_search"/> |
|
|
|
<field name="help" type="html"> |
|
|
|
<p class="oe_view_nocontent_create"> |
|
|
|