feat(configurator): express summary — charge type + tax type + lot column
This commit is contained in:
@@ -286,10 +286,17 @@
|
|||||||
width="120px"/>
|
width="120px"/>
|
||||||
<field name="internal_description" string="Internal Notes" optional="show"/>
|
<field name="internal_description" string="Internal Notes" optional="show"/>
|
||||||
<field name="quantity" string="Qty" width="55px"/>
|
<field name="quantity" string="Qty" width="55px"/>
|
||||||
|
<field name="is_lot_priced" string="Lot" width="50px"/>
|
||||||
|
<field name="lot_total"
|
||||||
|
string="Lot Total"
|
||||||
|
widget="monetary"
|
||||||
|
options="{'currency_field': 'currency_id'}"
|
||||||
|
width="90px"/>
|
||||||
<field name="unit_price"
|
<field name="unit_price"
|
||||||
string="Price"
|
string="Price"
|
||||||
widget="monetary"
|
widget="monetary"
|
||||||
options="{'currency_field': 'currency_id'}"
|
options="{'currency_field': 'currency_id'}"
|
||||||
|
readonly="is_lot_priced"
|
||||||
width="80px"/>
|
width="80px"/>
|
||||||
<field name="line_subtotal"
|
<field name="line_subtotal"
|
||||||
string="Subtotal"
|
string="Subtotal"
|
||||||
@@ -307,12 +314,6 @@
|
|||||||
options="{'no_quick_create': True}"
|
options="{'no_quick_create': True}"
|
||||||
invisible="not part_catalog_id"
|
invisible="not part_catalog_id"
|
||||||
optional="hide"/>
|
optional="hide"/>
|
||||||
<field name="tax_ids"
|
|
||||||
string="Tax"
|
|
||||||
widget="many2many_tags"
|
|
||||||
options="{'no_create': True}"
|
|
||||||
optional="show"
|
|
||||||
width="110px"/>
|
|
||||||
<field name="currency_id" column_invisible="1"/>
|
<field name="currency_id" column_invisible="1"/>
|
||||||
</list>
|
</list>
|
||||||
</field>
|
</field>
|
||||||
@@ -349,18 +350,28 @@
|
|||||||
readonly="1" nolabel="1"/>
|
readonly="1" nolabel="1"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="o_fp_xpr_total_row">
|
<div class="o_fp_xpr_total_row">
|
||||||
<span class="o_fp_xpr_total_label">Tax</span>
|
<span class="o_fp_xpr_total_label">Additional Charge</span>
|
||||||
<field name="total_tax"
|
<div class="d-flex align-items-center gap-2">
|
||||||
widget="monetary"
|
<field name="charge_type_id" nolabel="1"
|
||||||
options="{'currency_field': 'currency_id'}"
|
placeholder="Type..."
|
||||||
readonly="1" nolabel="1"/>
|
options="{'no_open': True}"/>
|
||||||
|
<field name="charge_amount"
|
||||||
|
widget="monetary"
|
||||||
|
options="{'currency_field': 'currency_id'}"
|
||||||
|
nolabel="1"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="o_fp_xpr_total_row">
|
<div class="o_fp_xpr_total_row">
|
||||||
<span class="o_fp_xpr_total_label">Tooling Charge</span>
|
<span class="o_fp_xpr_total_label">Tax</span>
|
||||||
<field name="tooling_charge"
|
<div class="d-flex align-items-center gap-2">
|
||||||
widget="monetary"
|
<field name="tax_id" nolabel="1"
|
||||||
options="{'currency_field': 'currency_id'}"
|
placeholder="Tax type..."
|
||||||
nolabel="1"/>
|
options="{'no_create': True}"/>
|
||||||
|
<field name="total_tax"
|
||||||
|
widget="monetary"
|
||||||
|
options="{'currency_field': 'currency_id'}"
|
||||||
|
readonly="1" nolabel="1"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="o_fp_xpr_total_row">
|
<div class="o_fp_xpr_total_row">
|
||||||
<span class="o_fp_xpr_total_label">Total Lines</span>
|
<span class="o_fp_xpr_total_label">Total Lines</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user