[MIG] stock_inventory_preparation_filter: Migration to v13.0

This commit is contained in:
Sergio Teruel
2020-07-10 15:48:15 +02:00
parent 7a0da1c097
commit db6262b224
4 changed files with 10 additions and 7 deletions

View File

@@ -40,7 +40,8 @@ Known issues / Roadmap
======================
* The widget domain is not displayed correctly, but this issue is related to
Odoo.
Odoo. To avoid this malfunction, use the keyboard arrows to properly work
with the domain option.
Bug Tracker
===========

View File

@@ -8,28 +8,28 @@ def convert_m2o_to_x2m_fields(env):
openupgrade.m2o_to_x2m(
env.cr,
env["stock.inventory"],
"stock.inventory",
"stock_inventory",
"location_ids",
openupgrade.get_legacy_name("location_id"),
)
openupgrade.m2o_to_x2m(
env.cr,
env["stock.inventory"],
"stock.inventory",
"stock_inventory",
"product_ids",
openupgrade.get_legacy_name("product_id"),
)
openupgrade.m2o_to_x2m(
env.cr,
env["stock.inventory"],
"stock.inventory",
"stock_inventory",
"categ_ids",
openupgrade.get_legacy_name("category_id"),
)
openupgrade.m2o_to_x2m(
env.cr,
env["stock.inventory"],
"stock.inventory",
"stock_inventory",
"lot_ids",
openupgrade.get_legacy_name("lot_id"),
)

View File

@@ -1,2 +1,3 @@
* The widget domain is not displayed correctly, but this issue is related to
Odoo.
Odoo. To avoid this malfunction, use the keyboard arrows to properly work
with the domain option.

View File

@@ -391,7 +391,8 @@ ul.auto-toc {
<h1><a class="toc-backref" href="#id1">Known issues / Roadmap</a></h1>
<ul class="simple">
<li>The widget domain is not displayed correctly, but this issue is related to
Odoo.</li>
Odoo. To avoid this malfunction, use the keyboard arrows to properly work
with the domain option.</li>
</ul>
</div>
<div class="section" id="bug-tracker">