From db6262b224cbd01b2a10f3a85067f871a8b24ae5 Mon Sep 17 00:00:00 2001 From: Sergio Teruel Date: Fri, 10 Jul 2020 15:48:15 +0200 Subject: [PATCH] [MIG] stock_inventory_preparation_filter: Migration to v13.0 --- stock_inventory_preparation_filter/README.rst | 3 ++- .../migrations/13.0.1.0.0/post-migration.py | 8 ++++---- stock_inventory_preparation_filter/readme/ROADMAP.rst | 3 ++- .../static/description/index.html | 3 ++- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/stock_inventory_preparation_filter/README.rst b/stock_inventory_preparation_filter/README.rst index 0ea3a1f1b..e6784f253 100644 --- a/stock_inventory_preparation_filter/README.rst +++ b/stock_inventory_preparation_filter/README.rst @@ -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 =========== diff --git a/stock_inventory_preparation_filter/migrations/13.0.1.0.0/post-migration.py b/stock_inventory_preparation_filter/migrations/13.0.1.0.0/post-migration.py index 36e575064..7061981d9 100644 --- a/stock_inventory_preparation_filter/migrations/13.0.1.0.0/post-migration.py +++ b/stock_inventory_preparation_filter/migrations/13.0.1.0.0/post-migration.py @@ -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"), ) diff --git a/stock_inventory_preparation_filter/readme/ROADMAP.rst b/stock_inventory_preparation_filter/readme/ROADMAP.rst index a824b18f0..a4e3ae486 100644 --- a/stock_inventory_preparation_filter/readme/ROADMAP.rst +++ b/stock_inventory_preparation_filter/readme/ROADMAP.rst @@ -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. diff --git a/stock_inventory_preparation_filter/static/description/index.html b/stock_inventory_preparation_filter/static/description/index.html index 0cf3cdf65..2d7b90ae1 100644 --- a/stock_inventory_preparation_filter/static/description/index.html +++ b/stock_inventory_preparation_filter/static/description/index.html @@ -391,7 +391,8 @@ ul.auto-toc {

Known issues / Roadmap