mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[REF] Contract Sale Invoicing: split from analytic account
[REF] Contract Sale Invoicing: update translations [IMP] - Assert that the predecessor is available for new link at uncancel [RMV] - remove usless changes [RMV] - Remove usless field recurring_invoices after the total isolation between contract model and account analytic one. recurring_invoices which was used to mark analytic account as contract became usless [IMP] - P3 syntax [IMP] - use @openupgrade.migrate() and openupgrade.logged_query [IMP] - drop transient table in migration script
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
3ca769e079
commit
c770e97adb
@@ -74,11 +74,6 @@
|
||||
context="{'default_contract_type': contract_type}"/>
|
||||
</page>
|
||||
<page name="info" string="Other Information">
|
||||
<div invisible="1">
|
||||
<field name="recurring_invoices"
|
||||
class="oe_inline"/>
|
||||
<label for="recurring_invoices"/>
|
||||
</div>
|
||||
<field name="create_invoice_visibility"
|
||||
invisible="1"/>
|
||||
<group>
|
||||
@@ -184,10 +179,6 @@
|
||||
<field name="journal_id"/>
|
||||
<field name="pricelist_id"/>
|
||||
<separator/>
|
||||
<filter name="recurring_invoices"
|
||||
string="Recurring Invoices"
|
||||
domain="[('recurring_invoices','=',True)]"
|
||||
/>
|
||||
<separator/>
|
||||
<filter name="not_finished"
|
||||
string="In progress"
|
||||
@@ -230,8 +221,6 @@
|
||||
<field name="domain">[('contract_type', '=', 'sale')]</field>
|
||||
<field name="context">{'is_contract':1,
|
||||
'search_default_not_finished':1,
|
||||
'search_default_recurring_invoices':1,
|
||||
'default_recurring_invoices': 1,
|
||||
'default_contract_type': 'sale'}
|
||||
</field>
|
||||
<field name="search_view_id" ref="contract_contract_search_view"/>
|
||||
@@ -271,10 +260,7 @@
|
||||
<field name="domain">[('contract_type', '=', 'purchase')]</field>
|
||||
<field name="context">{'is_contract':1,
|
||||
'search_default_not_finished':1,
|
||||
'search_default_recurring_invoices':1,
|
||||
'default_recurring_invoices': 1,
|
||||
'default_contract_type':
|
||||
'purchase'}
|
||||
'default_contract_type': 'purchase'}
|
||||
</field>
|
||||
<field name="search_view_id" ref="contract_contract_search_view"/>
|
||||
<field name="help" type="html">
|
||||
|
||||
Reference in New Issue
Block a user