-
-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bhavesh Odedra
committed
Mar 1, 2018
1 parent
d8b0674
commit b686d2a
Showing
13 changed files
with
213 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 Eficent Business and IT Consulting Services S.L. | ||
# Copyright 2015 John Walsh | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,128 +1,123 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (C) 2017 - Today: GRAP (http://www.grap.coop) | ||
@author Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
--> | ||
|
||
<odoo> <data noupdate="1"> | ||
|
||
<record id="product_product_manufacture_1" model="product.product"> | ||
<field name="name">TOP</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">600.00</field> | ||
<field name="list_price">400.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF</field> | ||
<field name="route_ids" eval="[(6, 0, [ref('stock.route_warehouse0_mto'), ref('mrp.route_warehouse0_manufacture')])]"/> | ||
</record> | ||
|
||
<record id="product_product_manufacture_1_1" model="product.product"> | ||
<field name="name">Subproduct 1</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">300.00</field> | ||
<field name="list_price">100.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF 1-1</field> | ||
<field name="route_ids" eval="[(6, 0, [ref('mrp.route_warehouse0_manufacture')])]"/> | ||
<field name="mrp_mts_mto_location_ids" eval="[(6, 0, [ref('stock.stock_location_stock')])]"/> | ||
</record> | ||
|
||
<record id="product_product_manufacture_1_2" model="product.product"> | ||
<field name="name">Subproduct 2</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">100.00</field> | ||
<field name="list_price">30.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF 1-2</field> | ||
<field name="route_ids" eval="[(6, 0, [ref('mrp.route_warehouse0_manufacture')])]"/> | ||
<field name="mrp_mts_mto_location_ids" eval="[(6, 0, [ref('stock.stock_location_stock')])]"/> | ||
</record> | ||
|
||
<record id="product_product_manufacture_1_1_1" model="product.product"> | ||
<field name="name">Subproduct 1-1</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">10.00</field> | ||
<field name="list_price">3.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF 1-1-1</field> | ||
</record> | ||
|
||
|
||
<record id="product_product_manufacture_1_2_1" model="product.product"> | ||
<field name="name">Subproduct 2-1</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">10.00</field> | ||
<field name="list_price">3.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF 1-2-1</field> | ||
</record> | ||
|
||
|
||
<record id="mrp_bom_manuf_1" model="mrp.bom"> | ||
<field name="product_tmpl_id" ref="product_product_manufacture_1_product_template"/> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">10</field> | ||
</record> | ||
|
||
<record id="mrp_bom_line_manuf_1_1" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_product_manufacture_1_1"/> | ||
<field name="product_qty">5</field> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">1</field> | ||
<field name="bom_id" ref="mrp_bom_manuf_1"/> | ||
</record> | ||
|
||
<record id="mrp_bom_line_manuf_1_2" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_product_manufacture_1_2"/> | ||
<field name="product_qty">2</field> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">1</field> | ||
<field name="bom_id" ref="mrp_bom_manuf_1"/> | ||
</record> | ||
|
||
<record id="mrp_bom_manuf_1_1" model="mrp.bom"> | ||
<field name="product_tmpl_id" ref="product_product_manufacture_1_1_product_template"/> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">10</field> | ||
</record> | ||
|
||
<record id="mrp_bom_line_manuf_1_1_1" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_product_manufacture_1_1_1"/> | ||
<field name="product_qty">2</field> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">1</field> | ||
<field name="bom_id" ref="mrp_bom_manuf_1_1"/> | ||
</record> | ||
|
||
<record id="mrp_bom_manuf_1_2" model="mrp.bom"> | ||
<field name="product_tmpl_id" ref="product_product_manufacture_1_2_product_template"/> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">10</field> | ||
</record> | ||
|
||
<record id="mrp_bom_line_manuf_1_2_1" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_product_manufacture_1_2_1"/> | ||
<field name="product_qty">4</field> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">1</field> | ||
<field name="bom_id" ref="mrp_bom_manuf_1_2"/> | ||
</record> | ||
|
||
|
||
</data> </odoo> | ||
<odoo noupdate="1"> | ||
<record id="product_product_manufacture_1" model="product.product"> | ||
<field name="name">TOP</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">600.00</field> | ||
<field name="list_price">400.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF</field> | ||
<field name="route_ids" eval="[(6, 0, [ref('stock.route_warehouse0_mto'), ref('mrp.route_warehouse0_manufacture')])]"/> | ||
</record> | ||
|
||
<record id="product_product_manufacture_1_1" model="product.product"> | ||
<field name="name">Subproduct 1</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">300.00</field> | ||
<field name="list_price">100.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF 1-1</field> | ||
<field name="route_ids" eval="[(6, 0, [ref('mrp.route_warehouse0_manufacture')])]"/> | ||
<field name="mrp_mts_mto_location_ids" eval="[(6, 0, [ref('stock.stock_location_stock')])]"/> | ||
</record> | ||
|
||
<record id="product_product_manufacture_1_2" model="product.product"> | ||
<field name="name">Subproduct 2</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">100.00</field> | ||
<field name="list_price">30.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF 1-2</field> | ||
<field name="route_ids" eval="[(6, 0, [ref('mrp.route_warehouse0_manufacture')])]"/> | ||
<field name="mrp_mts_mto_location_ids" eval="[(6, 0, [ref('stock.stock_location_stock')])]"/> | ||
</record> | ||
|
||
<record id="product_product_manufacture_1_1_1" model="product.product"> | ||
<field name="name">Subproduct 1-1</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">10.00</field> | ||
<field name="list_price">3.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF 1-1-1</field> | ||
</record> | ||
|
||
<record id="product_product_manufacture_1_2_1" model="product.product"> | ||
<field name="name">Subproduct 2-1</field> | ||
<field name="categ_id" ref="product.product_category_3"/> | ||
<field name="standard_price">10.00</field> | ||
<field name="list_price">3.00</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="uom_po_id" ref="product.product_uom_unit"/> | ||
<field name="description">TODO</field> | ||
<field name="default_code">MANUF 1-2-1</field> | ||
</record> | ||
|
||
<record id="mrp_bom_manuf_1" model="mrp.bom"> | ||
<field name="product_tmpl_id" ref="product_product_manufacture_1_product_template"/> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">10</field> | ||
</record> | ||
|
||
<record id="mrp_bom_line_manuf_1_1" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_product_manufacture_1_1"/> | ||
<field name="product_qty">5</field> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">1</field> | ||
<field name="bom_id" ref="mrp_bom_manuf_1"/> | ||
</record> | ||
|
||
<record id="mrp_bom_line_manuf_1_2" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_product_manufacture_1_2"/> | ||
<field name="product_qty">2</field> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">1</field> | ||
<field name="bom_id" ref="mrp_bom_manuf_1"/> | ||
</record> | ||
|
||
<record id="mrp_bom_manuf_1_1" model="mrp.bom"> | ||
<field name="product_tmpl_id" ref="product_product_manufacture_1_1_product_template"/> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">10</field> | ||
</record> | ||
|
||
<record id="mrp_bom_line_manuf_1_1_1" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_product_manufacture_1_1_1"/> | ||
<field name="product_qty">2</field> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">1</field> | ||
<field name="bom_id" ref="mrp_bom_manuf_1_1"/> | ||
</record> | ||
|
||
<record id="mrp_bom_manuf_1_2" model="mrp.bom"> | ||
<field name="product_tmpl_id" ref="product_product_manufacture_1_2_product_template"/> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">10</field> | ||
</record> | ||
|
||
<record id="mrp_bom_line_manuf_1_2_1" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_product_manufacture_1_2_1"/> | ||
<field name="product_qty">4</field> | ||
<field name="product_uom_id" ref="product.product_uom_unit"/> | ||
<field name="sequence">1</field> | ||
<field name="bom_id" ref="mrp_bom_manuf_1_2"/> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.