-
-
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_putaway_product_form: Migration to 13.0
- Loading branch information
1 parent
39cbe9e
commit 1fa6d5b
Showing
11 changed files
with
97 additions
and
131 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 |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
|
||
from . import models | ||
from . import tests | ||
from .hooks import post_init_hook |
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,31 +1,31 @@ | ||
<?xml version="1.0" ?> | ||
<odoo> | ||
<!--Shows simplest case for categories --> | ||
<record id="putaway_strat_1" model="product.putaway"> | ||
<field name="name">Putaway Strategy 1</field> | ||
</record> | ||
<record id="putaway_strat_1_line_1" model="stock.fixed.putaway.strat"> | ||
<odoo noupdate="1"> | ||
<record id="putaway_rule_1" model="stock.putaway.rule"> | ||
<field name="sequence">1</field> | ||
<field name="company_id" ref="stock.res_company_1" /> | ||
<field name="product_id" ref="product.product_product_11" /> | ||
<field name="putaway_id" ref="stock_putaway_product_form.putaway_strat_1" /> | ||
<field name="fixed_location_id" ref="stock.stock_location_shop0" /> | ||
<field name="location_in_id" ref="stock.stock_location_shop0" /> | ||
<field name="location_out_id" ref="stock.stock_location_shop0" /> | ||
</record> | ||
<record id="putaway_strat_1_line_2" model="stock.fixed.putaway.strat"> | ||
<record id="putaway_rule_2" model="stock.putaway.rule"> | ||
<field name="sequence">2</field> | ||
<field name="company_id" ref="stock.res_company_1" /> | ||
<field name="category_id" ref="product.product_category_5" /> | ||
<field name="putaway_id" ref="stock_putaway_product_form.putaway_strat_1" /> | ||
<field name="fixed_location_id" ref="stock.stock_location_shop0" /> | ||
</record> | ||
<!--Shows inherited case for categories--> | ||
<record id="putaway_strat_2" model="product.putaway"> | ||
<field name="name">Putaway Strategy 2</field> | ||
<field name="location_in_id" ref="stock.stock_location_shop0" /> | ||
<field name="location_out_id" ref="stock.stock_location_shop0" /> | ||
</record> | ||
<record id="putaway_strat_2_line_1" model="stock.fixed.putaway.strat"> | ||
<record id="putaway_rule_3" model="stock.putaway.rule"> | ||
<field name="sequence">3</field> | ||
<field name="company_id" ref="stock.res_company_1" /> | ||
<field name="category_id" ref="product.product_category_1" /> | ||
<field name="putaway_id" ref="stock_putaway_product_form.putaway_strat_2" /> | ||
<field name="fixed_location_id" ref="stock.stock_location_stock" /> | ||
<field name="location_in_id" ref="stock.stock_location_shop0" /> | ||
<field name="location_out_id" ref="stock.stock_location_shop0" /> | ||
</record> | ||
<record id="putaway_strat_2_line_2" model="stock.fixed.putaway.strat"> | ||
<record id="putaway_rule_4" model="stock.putaway.rule"> | ||
<field name="sequence">4</field> | ||
<field name="company_id" ref="stock.res_company_1" /> | ||
<field name="category_id" ref="product.product_category_all" /> | ||
<field name="putaway_id" ref="stock_putaway_product_form.putaway_strat_2" /> | ||
<field name="fixed_location_id" ref="stock.stock_location_stock" /> | ||
<field name="location_in_id" ref="stock.stock_location_shop0" /> | ||
<field name="location_out_id" ref="stock.stock_location_shop0" /> | ||
</record> | ||
</odoo> |
This file was deleted.
Oops, something went wrong.
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,3 +1,3 @@ | ||
from . import product_product | ||
from . import product_template | ||
from . import putaway_strategy | ||
from . import stock_putaway_rule |
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
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
* `Tecnativa <https://www.tecnativa.com>`_: | ||
|
||
* Sergio Teruel | ||
* Víctor Martínez |
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