-
-
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_template: Migration to 13.0
- Loading branch information
1 parent
cd4680d
commit f71dea3
Showing
16 changed files
with
107 additions
and
217 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
setup/stock_putaway_product_template/odoo/addons/stock_putaway_product_template
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_putaway_product_template |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
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
42 changes: 21 additions & 21 deletions
42
stock_putaway_product_template/demo/putaway_strategies.xml
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
Oops, something went wrong.