-
-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] stock_availale_mrp: Migration to 13.0
- Loading branch information
Showing
8 changed files
with
64 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../stock_available_mrp |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
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
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,38 +1,47 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<record id="product_kit_1a" model="product.product"> | ||
<field name="default_code">PCSC234-WHITE</field> | ||
<field name="product_tmpl_id" | ||
ref="mrp.product_product_table_kit_product_template"/> | ||
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_3')])]"/> | ||
</record> | ||
|
||
<record id="mrp.product_product_table_kit" model="product.product"> | ||
<field name="attribute_value_ids" | ||
eval="[(6,0,[ref('product.product_attribute_value_4')])]"/> | ||
</record> | ||
|
||
<record id="mrp.mrp_bom_kit_line_2" model="mrp.bom.line"> | ||
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_4')])]"/> | ||
</record> | ||
|
||
<record id="product_computer_desk_bolt_white" model="product.product"> | ||
<field name="name">Bolt</field> | ||
<field name="categ_id" ref="product.product_category_5"/> | ||
<field name="standard_price">1.0</field> | ||
<field name="list_price">5.0</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="uom.product_uom_unit"/> | ||
<field name="uom_po_id" ref="uom.product_uom_unit"/> | ||
<field name="default_code">BOLT-WHITE</field> | ||
</record> | ||
|
||
<record id="mrp_bom_kit_line_3" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_computer_desk_bolt_white"/> | ||
<field name="product_qty">4</field> | ||
<field name="product_uom_id" ref="uom.product_uom_unit"/> | ||
<field name="sequence">5</field> | ||
<field name="bom_id" ref="mrp.mrp_bom_kit"/> | ||
<field name="attribute_value_ids" eval="[(6,0,[ref('product.product_attribute_value_3')])]"/> | ||
</record> | ||
<record id="product_kit_1a" model="product.product"> | ||
<field name="default_code">PCSC234-WHITE</field> | ||
<field | ||
name="product_tmpl_id" | ||
ref="mrp.product_product_table_kit_product_template" | ||
/> | ||
<field | ||
name="product_template_attribute_value_ids" | ||
eval="[(6,0,[ref('product.product_attribute_value_3')])]" | ||
/> | ||
</record> | ||
<record id="mrp.product_product_table_kit" model="product.product"> | ||
<field | ||
name="product_template_attribute_value_ids" | ||
eval="[(6,0,[ref('product.product_attribute_value_4')])]" | ||
/> | ||
</record> | ||
<record id="mrp.mrp_bom_kit_line_2" model="mrp.bom.line"> | ||
<field | ||
name="product_template_attribute_value_ids" | ||
eval="[(6,0,[ref('product.product_attribute_value_4')])]" | ||
/> | ||
</record> | ||
<record id="product_computer_desk_bolt_white" model="product.product"> | ||
<field name="name">Bolt</field> | ||
<field name="categ_id" ref="product.product_category_5" /> | ||
<field name="standard_price">1.0</field> | ||
<field name="list_price">5.0</field> | ||
<field name="type">product</field> | ||
<field name="uom_id" ref="uom.product_uom_unit" /> | ||
<field name="uom_po_id" ref="uom.product_uom_unit" /> | ||
<field name="default_code">BOLT-WHITE</field> | ||
</record> | ||
<record id="mrp_bom_kit_line_3" model="mrp.bom.line"> | ||
<field name="product_id" ref="product_computer_desk_bolt_white" /> | ||
<field name="product_qty">4</field> | ||
<field name="product_uom_id" ref="uom.product_uom_unit" /> | ||
<field name="sequence">5</field> | ||
<field name="bom_id" ref="mrp.mrp_bom_kit" /> | ||
<field | ||
name="product_template_attribute_value_ids" | ||
eval="[(6,0,[ref('product.product_attribute_value_3')])]" | ||
/> | ||
</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
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