1909 lines
83 KiB
XML
Executable File
1909 lines
83 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<record id="proposal_boq_form" model="ir.ui.view">
|
|
<field name="name">sos_proposal_boq.form</field>
|
|
<field name="model">sos_proposal_boq</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Battery Installation">
|
|
<header>
|
|
<button class="btn btn-primary" type="object"
|
|
name="action_report_btn"><i class="fa fa-print"></i> Print</button>
|
|
</header>
|
|
<sheet>
|
|
|
|
<group>
|
|
<group>
|
|
<field name="proposal_id"/>
|
|
<field name="customer_name"/>
|
|
</group>
|
|
<group>
|
|
<field name="location"/>
|
|
<field name="products"/>
|
|
</group>
|
|
</group>
|
|
<br></br>
|
|
|
|
<h2 style="text-align: center;text-transform: uppercase;text-shadow: 1px 1p 1px #140718;color: #65407c;padding:5px;">Detailed Specifications</h2><hr></hr><br></br>
|
|
<group>
|
|
<group>
|
|
<field name="communication_type"/>
|
|
<field name="number_of_batteries"/>
|
|
<field name="number_of_ups"/>
|
|
|
|
</group>
|
|
<group>
|
|
|
|
|
|
<field name="specific_requirements"/>
|
|
</group>
|
|
</group>
|
|
|
|
<notebook>
|
|
<!-- Page 1 -->
|
|
<page string="UPS 1" invisible="number_of_ups < 1">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups1">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups1">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups1">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups1">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups1" context="{'default_ups_index': 1}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups1">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups1_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS1</label>
|
|
<field name="ups1_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- End Page 1 -->
|
|
<page string="UPS 2" invisible="number_of_ups < 2">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups2">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups2">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups2">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups2">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups2" context="{'default_ups_index': 2}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups2">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups2_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS2</label>
|
|
<field name="ups2_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- End Page 2 -->
|
|
<page string="UPS 3" invisible="number_of_ups < 3">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups3">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups3">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups3">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups3">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups3" context="{'default_ups_index': 3}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups3">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div class="oe_subtotal_footer" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups3_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS3</label>
|
|
<field name="ups3_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- End Page 3 -->
|
|
<page string="UPS 4" invisible="number_of_ups < 4">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups4">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups4">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups4">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups4">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups4" context="{'default_ups_index': 4}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups4">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups4_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS4</label>
|
|
<field name="ups4_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- End Page 4 -->
|
|
<page string="UPS 5" invisible="number_of_ups < 5">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups5">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups5">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups5">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups5">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups5" context="{'default_ups_index': 5}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups5">
|
|
<tree editable="bottom">
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups5_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS5</label>
|
|
<field name="ups5_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- End Page 5 -->
|
|
<page string="UPS 6" invisible="number_of_ups < 6">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups6">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups6">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups6">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups6">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups6" context="{'default_ups_index': 6}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups6">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups6_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS6</label>
|
|
<field name="ups6_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- End Page 6 -->
|
|
<page string="UPS 7" invisible="number_of_ups < 7">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups7">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups7">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups7">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups7">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups7" context="{'default_ups_index': 7}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups7">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups7_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS7</label>
|
|
<field name="ups7_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- End Page 7 -->
|
|
<page string="UPS 8" invisible="number_of_ups < 8">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups8">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups8">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups8">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups8">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups8" context="{'default_ups_index': 8}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups8">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups8_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS8</label>
|
|
<field name="ups8_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- End Page 8 -->
|
|
<page string="UPS 9" invisible="number_of_ups < 9">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups9">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups9">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups9">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups9">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups9" context="{'default_ups_index': 9}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups9">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups9_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS9</label>
|
|
<field name="ups9_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- End Page 9 -->
|
|
<page string="UPS 10" invisible="number_of_ups < 10">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups10">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups10">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups10">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups10">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups10" context="{'default_ups_index': 10}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups10">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups10_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS10</label>
|
|
<field name="ups10_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<page string="UPS 11" invisible="number_of_ups < 11">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups11">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups11">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups11">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups11">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups11" context="{'default_ups_index': 11}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups11">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups11_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS11</label>
|
|
<field name="ups11_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<page string="UPS 12" invisible="number_of_ups < 12">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups12">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups12">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups12">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups12">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups12" context="{'default_ups_index': 12}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups12">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups12_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS12</label>
|
|
<field name="ups12_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<page string="UPS 13" invisible="number_of_ups < 13">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups13">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups13">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups13">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups13">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups13" context="{'default_ups_index': 13}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups13">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups13_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS13</label>
|
|
<field name="ups13_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<page string="UPS 14" invisible="number_of_ups < 14">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups14">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups14">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups14">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups14">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups14" context="{'default_ups_index': 14}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups14">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups14_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS14</label>
|
|
<field name="ups14_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<page string="UPS 15" invisible="number_of_ups < 15">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Finished Goods</h3>
|
|
<field name="line_ids_fg_ups15">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Semi-Finished Goods</h3>
|
|
<field name="line_ids_sfg_ups15">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Materials</h3>
|
|
<field name="line_ids_material_ups15">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Installation Kit</h3>
|
|
<field name="line_ids_installation_kit_ups15">
|
|
<tree editable="bottom">
|
|
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Spare/Additional Materials</h3>
|
|
<field name="line_ids_spare_ups15" context="{'default_ups_index': 15}">
|
|
<tree editable="bottom">
|
|
<field name="ups_index" column_invisible="1"/>
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous</h3>
|
|
<field name="line_ids_miscellaneous_ups15">
|
|
<tree editable="bottom">
|
|
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<div groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user" class="oe_subtotal_footer" style="float: right;
|
|
padding: 20px;
|
|
border: solid 1px #ccc;
|
|
font-weight: bold;
|
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
|
|
<div style="margin-bottom: 5px;">
|
|
<label for="ups15_total" style="font-weight: bold; margin-right: 10px;">Total Cost of UPS15</label>
|
|
<field name="ups15_total" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</page>
|
|
<!-- <page string="Finished Goods">
|
|
<field name="line_ids_fg">
|
|
<tree editable="bottom">
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<group style="float: right;
|
|
font-weight: bold;
|
|
font-size: 18px;">
|
|
<field name="total_fg_cost"/>
|
|
</group>
|
|
</page> -->
|
|
<!-- <page string="Semi Finished Goods">
|
|
<field name="line_ids_sfg">
|
|
<tree editable="bottom">
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<group style="float: right;
|
|
font-weight: bold;
|
|
font-size: 18px;">
|
|
<field name="total_sfg_cost"/>
|
|
</group>
|
|
</page> -->
|
|
<!-- <page string="Materials">
|
|
<field name="line_ids_material">
|
|
<tree editable="bottom">
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="item_type"/>
|
|
<field name="description"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<group style="float: right;
|
|
font-weight: bold;
|
|
font-size: 18px;">
|
|
<field name="total_material_cost"/>
|
|
</group>
|
|
</page> -->
|
|
<!-- <page string="Installation Kit">
|
|
<field name="line_ids_installation_kit">
|
|
<tree editable="bottom">
|
|
<field name="production_cost" widget="boolean_toggle"/>
|
|
<field name="component_id"/>
|
|
<field name="description"/>
|
|
<field name="item_type"/>
|
|
<field name="uom"/>
|
|
<field name="unit_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
<field name="singet_set_qty"/>
|
|
<field name="total_set"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<group style="float: right;
|
|
font-weight: bold;
|
|
font-size: 18px;">
|
|
<field name="total_installation_material_cost"/>
|
|
</group>
|
|
</page>
|
|
<page string="Miscellaneous">
|
|
<field name="line_ids_miscellaneous">
|
|
<tree editable="bottom">
|
|
<field name="name"/>
|
|
<field name="cost"/>
|
|
<field name="quantity"/>
|
|
<field name="total_price" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user,sos_inventory.sos_scg_group_user"/>
|
|
</tree>
|
|
</field>
|
|
<group style="float: right;
|
|
font-weight: bold;
|
|
font-size: 18px;">
|
|
<field name="total_miscellaneous_cost"/>
|
|
</group>
|
|
</page> -->
|
|
<page string="Installation & Commissioning" invisible="proposal_id == False">
|
|
<group>
|
|
<field name="engineers_nos"/>
|
|
<field name="no_of_days"/>
|
|
<field name="mode_of_transport"/>
|
|
<field name="transport_expense" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user"/>
|
|
<field name="food_expense" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user"/>
|
|
<field name="stay_expense" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user"/>
|
|
<field name="local_expense" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user"/>
|
|
<field name="iandc_costing" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user"/>
|
|
</group>
|
|
|
|
</page>
|
|
<page string="Costing By Accounts" invisible="proposal_id == False" groups="sos_inventory.sos_management_user,sos_inventory.sos_finance_user">
|
|
<div class="row">
|
|
<br></br>
|
|
<div class="col-md-3" style="border-right: solid 1px #ccc;">
|
|
<table class="table">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Product Cost</h3>
|
|
<tr invisible="number_of_ups < 1"><td class="column">UPS 1</td><td><field name="ups1_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 2"><td class="column">UPS 2</td><td><field name="ups2_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 3"><td class="column">UPS 3</td><td><field name="ups3_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 4"><td class="column">UPS 4</td><td><field name="ups4_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 5"><td class="column">UPS 5</td><td><field name="ups5_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 6"><td class="column">UPS 6</td><td><field name="ups6_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 7"><td class="column">UPS 7</td><td><field name="ups7_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 8"><td class="column">UPS 8</td><td><field name="ups8_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 9"><td class="column">UPS 9</td><td><field name="ups9_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 10"><td class="column">UPS 10</td><td><field name="ups10_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 11"><td class="column">UPS 11</td><td><field name="ups11_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 12"><td class="column">UPS 12</td><td><field name="ups12_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 13"><td class="column">UPS 13</td><td><field name="ups13_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 14"><td class="column">UPS 14</td><td><field name="ups14_total"/></td></tr>
|
|
<tr invisible="number_of_ups < 15"><td class="column">UPS 15</td><td><field name="ups15_total"/></td></tr>
|
|
|
|
<tr style="background-color: aliceblue;"><td class="column">Total</td><td><field style="font-weight: bold;font-size: 18px;" name="total_cost"/></td></tr>
|
|
|
|
|
|
</table>
|
|
</div>
|
|
<div class="col-md-3" style="border-right: solid 1px #ccc;">
|
|
<table class="table">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Miscellaneous Cost</h3>
|
|
<field name="extra_cost_line_ids">
|
|
<tree editable="bottom">
|
|
<field name="field_name"/>
|
|
<field name="cost"/>
|
|
|
|
</tree>
|
|
</field>
|
|
</table>
|
|
</div>
|
|
<div class="col-md-6">
|
|
|
|
<table class="table">
|
|
<h3 style="text-transform: uppercase;
|
|
text-decoration: underline;">Final Cost</h3>
|
|
<tr><td class="column">Product Cost</td><td><field name="total_cost"/></td></tr>
|
|
<tr><td class="column">Opreational Cost per Battery</td><td><field name="margin_per_battery"/></td></tr>
|
|
|
|
<tr><td class="column">Opreational Cost</td><td><field name="margin"/></td></tr>
|
|
<tr><td class="column">Packing & Forwarding</td><td><field name="packing_and_forwarding"/></td></tr>
|
|
<tr><td class="column">Installation & Commissioning</td><td><field name="iandc_costing"/></td></tr>
|
|
<tr><td class="column">Warranty (%)</td><td><field name="warranty_percentage"/></td></tr>
|
|
|
|
<tr><td class="column">Warranty Cost</td><td><field name="warranty_cost"/></td></tr>
|
|
|
|
<tr><td class="column">Additional Warranty</td><td><field name="additional_warranty"/></td></tr>
|
|
<tr style="background-color: aliceblue;"><td class="column">MSP Per Battery</td><td><field style="font-weight: bold;font-size: 16px;" name="final_cost_per_battery"/></td></tr>
|
|
|
|
<tr style="background-color: aliceblue;"><td class="column">Final MSP</td><td><field style="font-weight: bold;font-size: 18px;" name="final_cost"/></td></tr>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
<br></br> <hr></hr>
|
|
<templates>
|
|
<div class="row">
|
|
<div class="col-md-6" style="box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;background-color: #fff;border: solid 4px #9689c1; padding-right: 0px;padding-left: 0px;">
|
|
<table class="table">
|
|
<tr><td colspan="2" class="table_custom_header">To Be Filled By <span style="font-size: 18px;padding: 0px; color: #ffcc00;">CE Team</span></td></tr>
|
|
<tr>
|
|
<td style="padding: 8px;" class="column"><b>BOQ Submitted By</b>
|
|
<button string="Approve" invisible="boq_submitted_by_image" class="btn-primary custom_btn" type="object" name="action_ce_esign_btn"></button>
|
|
</td>
|
|
<td><field name="boq_submitted_by_image" widget="image"/></td>
|
|
</tr>
|
|
<tr invisible="boq_submitted_by_image == False">
|
|
<td style="padding: 8px;" class="column"><b>BOQ Submitted On</b></td>
|
|
<td><field name="boq_submitted_by_approved_on" readonly="1"/></td>
|
|
</tr>
|
|
<tr invisible="boq_submitted_by_image == False">
|
|
<td style="padding: 8px;" class="column"><b>BOQ Submitted By</b></td>
|
|
<td><field name="boq_submitted_by_name" readonly="1"/></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="col-md-6" style="box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;background-color: #fff;border: solid 4px #9689c1; padding-right: 0px;padding-left: 0px;">
|
|
<table class="table">
|
|
<tr><td colspan="2" class="table_custom_header">To Be Filled By <span style="font-size: 18px;padding: 0px; color: #ffcc00;">Finance Team</span></td></tr>
|
|
<tr>
|
|
<td style="padding: 8px;" class="column"><b>Approved By</b>
|
|
<button string="Approve" invisible="acc_approved_by_image" class="btn-primary custom_btn" type="object" name="action_acc_esign_btn"></button>
|
|
</td>
|
|
<td><field name="acc_approved_by_image" widget="image"/></td>
|
|
</tr>
|
|
<tr invisible="acc_approved_by_image == False">
|
|
<td style="padding: 8px;" class="column"><b>Approved On</b></td>
|
|
<td><field name="acc_approved_on" readonly="1"/></td>
|
|
</tr>
|
|
<tr invisible="acc_approved_by_image == False">
|
|
<td style="padding: 8px;" class="column"><b>Approved By</b></td>
|
|
<td><field name="acc_approved_by_name" readonly="1"/></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</templates>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="proposal_boq_tree" model="ir.ui.view">
|
|
<field name="name">sos_proposal_boq.tree</field>
|
|
<field name="model">sos_proposal_boq</field>
|
|
<field name="arch" type="xml">
|
|
<tree>
|
|
<field name="proposal_id"/>
|
|
<field name="customer_name"/>
|
|
<field name="location"/>
|
|
<field name="products"/>
|
|
<field name="boq_submitted_by_name" string="BOQ Submitted By" widget="many2one_avatar_user"/>
|
|
<field name="acc_approved_by_name" string="Accounts Costing By" widget="many2one_avatar_user"/>
|
|
|
|
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
<record id="action_proposal_boq" model="ir.actions.act_window">
|
|
<field name="name">BOQ</field>
|
|
<field name="res_model">sos_proposal_boq</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
<menuitem id="menu_proposal_boq" name="BOQ" parent="sos_proposal_system" action="action_proposal_boq"/>
|
|
|
|
</odoo>
|