Skip to content

Commit

Permalink
fixup! [ADD] Window Isntaller: Adding the refered module
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeschwa committed Aug 6, 2024
1 parent cc69046 commit e0ba97f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 33 deletions.
16 changes: 2 additions & 14 deletions window_installer/data/product_product.xml
Original file line number Diff line number Diff line change
@@ -1,41 +1,36 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo noupdate="1">

<record id="product_product_7" model="product.product" forcecreate="1">
<record id="product_product_7" model="product.product">
<field name="standard_price">0.8</field>
<field name="product_tmpl_id" ref="product_template_7"/>
</record>
<record id="product_product_8" model="product.product" forcecreate="1">
<record id="product_product_8" model="product.product">
<field name="product_tmpl_id" ref="product_template_8"/>
</record>
<record id="product_product_15" model="product.product">
<field name="product_template_variant_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_1')])]"/>
<field name="product_template_attribute_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_1')])]"/>
<field name="bom_count">1</field>
<field name="product_tmpl_id" ref="product_template_15"/>
</record>
<record id="product_product_16" model="product.product">
<field name="product_template_variant_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_2')])]"/>
<field name="product_template_attribute_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_2')])]"/>
<field name="bom_count">1</field>
<field name="product_tmpl_id" ref="product_template_15"/>
</record>
<record id="product_product_17" model="product.product">
<field name="product_template_variant_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_3')])]"/>
<field name="product_template_attribute_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_3')])]"/>
<field name="bom_count">1</field>
<field name="product_tmpl_id" ref="product_template_15"/>
</record>
<record id="product_product_18" model="product.product">
<field name="product_template_variant_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_4')])]"/>
<field name="product_template_attribute_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_4')])]"/>
<field name="bom_count">1</field>
<field name="product_tmpl_id" ref="product_template_16"/>
</record>
<record id="product_product_19" model="product.product">
<field name="product_template_variant_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_5')])]"/>
<field name="product_template_attribute_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_5')])]"/>
<field name="bom_count">2</field>
<field name="product_tmpl_id" ref="product_template_16"/>
</record>
<record id="product_product_20" model="product.product">
Expand All @@ -45,39 +40,32 @@
</record>
<record id="product_product_22" model="product.product">
<field name="product_tmpl_id" ref="product_template_18"/>
<field name="used_in_bom_count">6</field>
</record>
<record id="product_product_23" model="product.product">
<field name="product_tmpl_id" ref="product_template_19"/>
<field name="used_in_bom_count">3</field>
</record>
<record id="product_product_24" model="product.product">
<field name="product_template_variant_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_7')])]"/>
<field name="product_template_attribute_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_7')])]"/>
<field name="product_tmpl_id" ref="product_template_17"/>
<field name="used_in_bom_count">1</field>
</record>
<record id="product_product_25" model="product.product">
<field name="product_template_variant_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_8')])]"/>
<field name="product_template_attribute_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_8')])]"/>
<field name="product_tmpl_id" ref="product_template_17"/>
<field name="used_in_bom_count">2</field>
</record>
<record id="product_product_26" model="product.product">
<field name="product_template_variant_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_9')])]"/>
<field name="product_template_attribute_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_9')])]"/>
<field name="product_tmpl_id" ref="product_template_17"/>
<field name="used_in_bom_count">2</field>
</record>
<record id="product_product_27" model="product.product">
<field name="product_template_variant_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_10')])]"/>
<field name="product_template_attribute_value_ids" eval="[(6, 0, [ref('product_template_attribute_value_10')])]"/>
<field name="product_tmpl_id" ref="product_template_17"/>
<field name="used_in_bom_count">1</field>
</record>
<record id="product_product_28" model="product.product">
<field name="product_tmpl_id" ref="product_template_20"/>
<field name="used_in_bom_count">3</field>
</record>
<record id="product_product_29" model="product.product">
<field name="product_tmpl_id" ref="product_template_21"/>
Expand Down
11 changes: 2 additions & 9 deletions window_installer/data/product_template.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo noupdate="1">
<record id="product_template_7" model="product.template" context="{'create_product_product': False}" forcecreate="1">
<record id="product_template_7" model="product.template" context="{'create_product_product': False}">
<field name="name">Travelling costs</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="uom_id" ref="uom.product_uom_km"/>
Expand All @@ -13,7 +13,7 @@
<field name="property_stock_production" ref="stock_location_15"/>
<field name="route_ids" eval="[(6, 0, [ref('purchase_stock.route_warehouse0_buy')])]"/>
</record>
<record id="product_template_8" model="product.template" context="{'create_product_product': False}" forcecreate="1">
<record id="product_template_8" model="product.template" context="{'create_product_product': False}" >
<field name="name">Labor hour with equipment</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="uom_id" ref="uom.product_uom_hour"/>
Expand Down Expand Up @@ -42,7 +42,6 @@
<field name="list_price">600.0</field>
<field name="purchase_ok" eval="False"/>
<field name="property_stock_production" ref="stock_location_15"/>
<field name="bom_count">3</field>
<field name="route_ids" eval="[(6, 0, [ref('mrp.route_warehouse0_manufacture')])]"/>
</record>
<record id="product_template_16" model="product.template" context="{'create_product_product': False}">
Expand All @@ -58,7 +57,6 @@
<field name="list_price">1500.0</field>
<field name="purchase_ok" eval="False"/>
<field name="property_stock_production" ref="stock_location_15"/>
<field name="bom_count">3</field>
<field name="route_ids" eval="[(6, 0, [ref('mrp.route_warehouse0_manufacture')])]"/>
</record>
<record id="product_template_17" model="product.template" context="{'create_product_product': False}">
Expand All @@ -73,9 +71,7 @@
<field name="image_1920" type="base64" file="window_installer/static/src/binary/product_template/17-image_1920"/>
<field name="service_type">manual</field>
<field name="list_price" eval="False"/>
<field name="can_image_1024_be_zoomed" eval="True"/>
<field name="property_stock_production" ref="stock_location_15"/>
<field name="used_in_bom_count">6</field>
<field name="route_ids" eval="[(6, 0, [ref('purchase_stock.route_warehouse0_buy')])]"/>
</record>
<record id="product_template_18" model="product.template" context="{'create_product_product': False}">
Expand All @@ -90,7 +86,6 @@
<field name="service_type">manual</field>
<field name="list_price" eval="False"/>
<field name="property_stock_production" ref="stock_location_15"/>
<field name="used_in_bom_count">6</field>
<field name="route_ids" eval="[(6, 0, [ref('purchase_stock.route_warehouse0_buy')])]"/>
</record>
<record id="product_template_19" model="product.template" context="{'create_product_product': False}">
Expand All @@ -105,7 +100,6 @@
<field name="service_type">manual</field>
<field name="list_price" eval="False"/>
<field name="property_stock_production" ref="stock_location_15"/>
<field name="used_in_bom_count">3</field>
<field name="route_ids" eval="[(6, 0, [ref('purchase_stock.route_warehouse0_buy')])]"/>
</record>
<record id="product_template_20" model="product.template" context="{'create_product_product': False}">
Expand All @@ -120,7 +114,6 @@
<field name="service_type">manual</field>
<field name="list_price" eval="False"/>
<field name="property_stock_production" ref="stock_location_15"/>
<field name="used_in_bom_count">3</field>
<field name="route_ids" eval="[(6, 0, [ref('purchase_stock.route_warehouse0_buy')])]"/>
</record>
<record id="product_template_21" model="product.template" context="{'create_product_product': False}">
Expand Down
5 changes: 0 additions & 5 deletions window_installer/data/stock_location.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,30 @@
<field name="name">WH</field>
<field name="usage">view</field>
<field name="location_id" ref="stock.stock_location_locations"/>
<field name="complete_name">WH</field>
<field name="warehouse_id" ref="stock.warehouse0"/>
</record>
<record id="stock.stock_location_stock" model="stock.location" forcecreate="1">
<field name="name">Stock</field>
<field name="replenish_location" eval="True"/>
<field name="last_inventory_date">2024-07-18</field>
<field name="location_id" ref="stock_location_7"/>
<field name="complete_name">WH/Stock</field>
<field name="warehouse_id" ref="stock.warehouse0"/>
<field name="barcode">WHSTOCK</field>
</record>
<record id="stock_location_14" model="stock.location">
<field name="name">Inventory adjustment</field>
<field name="usage">inventory</field>
<field name="location_id" ref="stock.stock_location_locations_virtual"/>
<field name="complete_name">Virtual Locations/Inventory adjustment</field>
</record>
<record id="stock_location_15" model="stock.location">
<field name="name">Production</field>
<field name="usage">production</field>
<field name="location_id" ref="stock.stock_location_locations_virtual"/>
<field name="complete_name">Virtual Locations/Production</field>
</record>
<record id="stock_location_16" model="stock.location">
<field name="name">Scrap</field>
<field name="usage">inventory</field>
<field name="scrap_location" eval="True"/>
<field name="location_id" ref="stock.stock_location_locations_virtual"/>
<field name="complete_name">Virtual Locations/Scrap</field>
</record>
</odoo>
1 change: 0 additions & 1 deletion window_installer/demo/crm_lead.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<field name="partner_id" ref="res_partner_20"/>
<field name="team_id" ref="sales_team.team_sales_department"/>
<field name="stage_id" ref="crm.stage_lead3"/>
<field name="country_id" ref="base.be"/>
<field name="probability">64.71</field>
<field name="description"><![CDATA[<p> Dear Mister Admin,</p><p>I'm reaching to get a quotation for the installation&nbsp;of these chassis:</p><p>2 frames of&nbsp;</p><ul><li>Height: 2 meters</li><li>Length: 1&nbsp;meters</li></ul><p>4 frame of :<br></p><ul><li>Height 1.4m</li><li>Length 60 cm</li></ul><p>Best regards,</p><p>Kamiel Van De Kust</p>
Expand Down
4 changes: 0 additions & 4 deletions window_installer/demo/project_task.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
<field name="stage_id" ref="industry_fsm.planning_project_stage_3"/>
<field name="allocated_hours">1.0</field>
<field name="remaining_hours">1.0</field>
<field name="display_in_project" eval="True"/>
</record>
<record id="project_task_11" model="project.task" forcecreate="1">
<field name="name">Planification</field>
Expand All @@ -97,7 +96,6 @@
<field name="stage_id" ref="industry_fsm.planning_project_stage_3"/>
<field name="allocated_hours">7.0</field>
<field name="remaining_hours">7.0</field>
<field name="display_in_project" eval="True"/>
</record>
<record id="project_task_12" model="project.task" forcecreate="1">
<field name="name">Work</field>
Expand All @@ -107,7 +105,6 @@
<field name="partner_phone">+32 479 65 43 21</field>
<field name="analytic_account_id" ref="account_analytic_account_4"/>
<field name="stage_id" ref="industry_fsm.planning_project_stage_2"/>
<field name="display_in_project" eval="True"/>
</record>
<record id="project_task_13" model="project.task" forcecreate="1">
<field name="name">Receipt</field>
Expand All @@ -119,6 +116,5 @@
<field name="stage_id" ref="industry_fsm.planning_project_stage_0"/>
<field name="allocated_hours">4.0</field>
<field name="remaining_hours">4.0</field>
<field name="display_in_project" eval="True"/>
</record>
</odoo>

0 comments on commit e0ba97f

Please sign in to comment.