mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[ADD] agreement.line
This commit is contained in:
@@ -66,8 +66,8 @@
|
||||
<div class="oe_edit_only">
|
||||
<p>
|
||||
For dynamic content use mako expression '${expression}'. For ex:
|
||||
1. object's field name: ${object.field_name} or
|
||||
2. many2one field name: ${object.many2one_field_id.field_name}
|
||||
1. object's field name: ${object.field_name} or
|
||||
2. many2one field name: ${object.many2one_field_id.field_name}
|
||||
</p>
|
||||
</div>
|
||||
<group name="parties" string="Parties">
|
||||
@@ -163,12 +163,21 @@
|
||||
</group>
|
||||
</page>
|
||||
<page name="products" string="Products/Services">
|
||||
<group string="Products/Services">
|
||||
<field name="product_ids" nolabel="1"/>
|
||||
</group>
|
||||
<field name="line_ids" nolabel="1">
|
||||
<tree editable="top">
|
||||
<field name="product_id"/>
|
||||
<field name="name"/>
|
||||
<field name="qty"/>
|
||||
<field name="uom_id" groups="product.group_uom"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
<page name="serviceprofiles" string="Service Profiles">
|
||||
<field name="serviceprofile_ids" nolabel="1"/>
|
||||
<field name="serviceprofile_ids" nolabel="1">
|
||||
<tree editable="top">
|
||||
<field name="name"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
<page name="financials" string="Financials">
|
||||
<group>
|
||||
|
||||
@@ -13,6 +13,25 @@
|
||||
string="Agreements"
|
||||
data-key="agreement"
|
||||
groups="agreement.group_agreement_manager">
|
||||
<h2>Operations</h2>
|
||||
<div class="row mt16 o_settings_container">
|
||||
<div class="col-xs-12 col-md-6 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="group_uom"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="group_uom"/>
|
||||
<div class="text-muted">
|
||||
Sell and purchase products in different units of measure
|
||||
</div>
|
||||
<div class="content-group">
|
||||
<div class="mt16" attrs="{'invisible': [('group_uom', '=', False)]}">
|
||||
<button name="%(product.product_uom_form_action)d" icon="fa-arrow-right" type="action" string="Units Of Measure" class="btn-link"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Advanced Features</h2>
|
||||
<div class="row mt16 o_settings_container">
|
||||
<div class="col-xs-12 col-md-6 o_setting_box">
|
||||
|
||||
Reference in New Issue
Block a user