mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] - Link invoice line to contract lines
[IMP] - Add index on contract line [IMP] - Add is_suspended flag and _search_state [IMP] - Add is_suspended flag to stop contract line
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
8bef36cdd3
commit
46133d4175
@@ -25,16 +25,17 @@
|
||||
<field name="active" widget="boolean_button"
|
||||
options="{"terminology": "archive"}"/>
|
||||
</button>
|
||||
|
||||
<button name="contract.act_recurring_invoices"
|
||||
type="action"
|
||||
string="Invoices"
|
||||
icon="fa-list"
|
||||
class="oe_stat_button"/>
|
||||
<button name="action_show_invoices"
|
||||
type="object" icon="fa-list"
|
||||
class="oe_stat_button">
|
||||
<field string="Invoices"
|
||||
name="invoice_count"
|
||||
widget="statinfo"/>
|
||||
</button>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
<label for="name" string="Contract Name"
|
||||
class="oe_edit_only"/>
|
||||
class="oe_edit_only"/>
|
||||
<h3>
|
||||
<field name="name" class="oe_inline"
|
||||
placeholder="e.g. Contract XYZ"/>
|
||||
@@ -68,7 +69,8 @@
|
||||
<notebook>
|
||||
<page name="recurring_invoice_line"
|
||||
string="Recurring Invoices">
|
||||
<field name="recurring_invoice_line_ids" context="{'default_contract_type': contract_type}"/>
|
||||
<field name="recurring_invoice_line_ids"
|
||||
context="{'default_contract_type': contract_type}"/>
|
||||
</page>
|
||||
<page name="info" string="Other Information">
|
||||
<div invisible="1">
|
||||
|
||||
Reference in New Issue
Block a user