Browse Source

Add 'Date of Next Invoice' in contract list view

13.0-mig-contract
Andrea 8 years ago
committed by Administrator
parent
commit
5d730bcd1f
  1. 5
      contract/views/account_analytic_account_view.xml

5
contract/views/account_analytic_account_view.xml

@ -81,6 +81,9 @@
<field name="partner_id" position="before">
<field name="journal_id" groups="account.group_account_user"/>
</field>
<field name="partner_id" position="after">
<field name="recurring_next_date" invisible="not context.get('is_contract', False)"/>
</field>
</field>
</record>
@ -113,7 +116,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">{'search_default_active':1, 'search_default_recurring_invoices':1}</field>
<field name="context">{'is_contract':1, 'search_default_active':1, 'search_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">

Loading…
Cancel
Save