From f589c4808d0c8f09bc6c0cc66cbd52832de114cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marques?= Date: Wed, 2 Dec 2020 09:30:25 +0000 Subject: [PATCH] [MIG] stock_move_location: Migration to 14.0 TT26454 --- stock_move_location/README.rst | 21 +++++++++++-------- stock_move_location/__manifest__.py | 4 +++- stock_move_location/data/stock_quant_view.xml | 19 ++++++++--------- stock_move_location/readme/CONTRIBUTORS.rst | 5 ++++- stock_move_location/readme/DESCRIPTION.rst | 2 +- stock_move_location/readme/USAGE.rst | 4 ++-- .../security/ir.model.access.csv | 3 +++ .../static/description/index.html | 18 +++++++++------- .../wizard/stock_move_location.xml | 7 ++++--- 9 files changed, 49 insertions(+), 34 deletions(-) create mode 100644 stock_move_location/security/ir.model.access.csv diff --git a/stock_move_location/README.rst b/stock_move_location/README.rst index 0b8759eb7..bdf72e0bf 100644 --- a/stock_move_location/README.rst +++ b/stock_move_location/README.rst @@ -14,19 +14,19 @@ Move Stock Location :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_move_location + :target: https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_move_location :alt: OCA/stock-logistics-warehouse .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_move_location + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_move_location :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/153/13.0 + :target: https://runbot.odoo-community.org/runbot/153/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| This module allows to move entire location of products from one place to -another and move only selected quants. +another and move only selected quantities. **Table of contents** @@ -37,7 +37,7 @@ Usage ===== * A new menu item Stock > Move from location... opens a wizard - where 2 location can be specified. + where 2 locations can be specified. * Select origin and destination locations and press "IMMEDIATE TRANSFER" or "PLANNED TRANSFER" * Press `ADD ALL` button to add all products available * Those lines can be edited. Move quantity can't be more than a max available quantity @@ -53,7 +53,7 @@ If you want to transfer a full quant: or `Inventory > Reporting > Inventory`, the quants view will be opened. -* Select the quants which you want move to another location +* Select the quantities which you want move to another location If you go to the Inventory Dashboard you can see the button "Move from location" in each of the picking types (only applicable to internal transfers). Press it @@ -75,7 +75,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -92,11 +92,14 @@ Contributors * Mathieu Vatel * Mykhailo Panarin -* Sergio Teruel * Joan Sisquella * Jordi Ballester Alomar * Lois Rilo * Héctor Villarreal +* Tecnativa + + * Sergio Teruel + * João Marques Maintainers ~~~~~~~~~~~ @@ -111,6 +114,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub. +This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_move_location/__manifest__.py b/stock_move_location/__manifest__.py index f591365f8..43d006fe6 100644 --- a/stock_move_location/__manifest__.py +++ b/stock_move_location/__manifest__.py @@ -1,10 +1,11 @@ # Copyright (C) 2011 Julius Network Solutions SARL # Copyright 2018 Camptocamp SA +# Copyright 2020 Tecnativa - João Marques # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) { "name": "Move Stock Location", - "version": "13.0.1.0.4", + "version": "14.0.1.0.0", "author": "Julius Network Solutions, Odoo Community Association (OCA)", "summary": "This module allows to move all stock " "in a stock location to an other one.", @@ -14,6 +15,7 @@ "category": "Stock", "data": [ "data/stock_quant_view.xml", + "security/ir.model.access.csv", "views/stock_picking_type_views.xml", "wizard/stock_move_location.xml", ], diff --git a/stock_move_location/data/stock_quant_view.xml b/stock_move_location/data/stock_quant_view.xml index f446526b3..868858787 100644 --- a/stock_move_location/data/stock_quant_view.xml +++ b/stock_move_location/data/stock_quant_view.xml @@ -1,14 +1,13 @@ - + + Move to location... + wiz.stock.move.location + + form + + new + + diff --git a/stock_move_location/readme/CONTRIBUTORS.rst b/stock_move_location/readme/CONTRIBUTORS.rst index 22ce18c67..d20d856f0 100644 --- a/stock_move_location/readme/CONTRIBUTORS.rst +++ b/stock_move_location/readme/CONTRIBUTORS.rst @@ -1,7 +1,10 @@ * Mathieu Vatel * Mykhailo Panarin -* Sergio Teruel * Joan Sisquella * Jordi Ballester Alomar * Lois Rilo * Héctor Villarreal +* Tecnativa + + * Sergio Teruel + * João Marques diff --git a/stock_move_location/readme/DESCRIPTION.rst b/stock_move_location/readme/DESCRIPTION.rst index 7eed585fd..40d1bdefc 100644 --- a/stock_move_location/readme/DESCRIPTION.rst +++ b/stock_move_location/readme/DESCRIPTION.rst @@ -1,2 +1,2 @@ This module allows to move entire location of products from one place to -another and move only selected quants. +another and move only selected quantities. diff --git a/stock_move_location/readme/USAGE.rst b/stock_move_location/readme/USAGE.rst index 99bea2b7e..53763e43d 100644 --- a/stock_move_location/readme/USAGE.rst +++ b/stock_move_location/readme/USAGE.rst @@ -1,5 +1,5 @@ * A new menu item Stock > Move from location... opens a wizard - where 2 location can be specified. + where 2 locations can be specified. * Select origin and destination locations and press "IMMEDIATE TRANSFER" or "PLANNED TRANSFER" * Press `ADD ALL` button to add all products available * Those lines can be edited. Move quantity can't be more than a max available quantity @@ -15,7 +15,7 @@ If you want to transfer a full quant: or `Inventory > Reporting > Inventory`, the quants view will be opened. -* Select the quants which you want move to another location +* Select the quantities which you want move to another location If you go to the Inventory Dashboard you can see the button "Move from location" in each of the picking types (only applicable to internal transfers). Press it diff --git a/stock_move_location/security/ir.model.access.csv b/stock_move_location/security/ir.model.access.csv new file mode 100644 index 000000000..b41b028f1 --- /dev/null +++ b/stock_move_location/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_wiz_stock_move_location,access wiz.stock.move.location,model_wiz_stock_move_location,stock.group_stock_user,1,1,1,1 +access_wiz_stock_move_location_line,access wiz.stock.move.location.line,model_wiz_stock_move_location_line,stock.group_stock_user,1,1,1,1 diff --git a/stock_move_location/static/description/index.html b/stock_move_location/static/description/index.html index 162a94c78..eda83735c 100644 --- a/stock_move_location/static/description/index.html +++ b/stock_move_location/static/description/index.html @@ -367,9 +367,9 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runbot

This module allows to move entire location of products from one place to -another and move only selected quants.

+another and move only selected quantities.

Table of contents

    @@ -388,7 +388,7 @@ another and move only selected quants.

    Usage

    • A new menu item Stock > Move from location… opens a wizard -where 2 location can be specified.
    • +where 2 locations can be specified.
    • Select origin and destination locations and press “IMMEDIATE TRANSFER” or “PLANNED TRANSFER”
    • Press ADD ALL button to add all products available
    • Those lines can be edited. Move quantity can’t be more than a max available quantity
    • @@ -403,7 +403,7 @@ it will move only the available quantity at the button press
    • Go to Inventory > Master Data > Products and click “On hand” smart button or Inventory > Reporting > Inventory, the quants view will be opened.
    • -
    • Select the quants which you want move to another location
    • +
    • Select the quantities which you want move to another location

    If you go to the Inventory Dashboard you can see the button “Move from location” in each of the picking types (only applicable to internal transfers). Press it @@ -424,7 +424,7 @@ and you will be directed to the wizard.

    Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

    +feedback.

    Do not contact contributors directly about support or help with technical issues.

@@ -440,11 +440,15 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
@@ -454,7 +458,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/stock-logistics-warehouse project on GitHub.

+

This module is part of the OCA/stock-logistics-warehouse project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/stock_move_location/wizard/stock_move_location.xml b/stock_move_location/wizard/stock_move_location.xml index 97beb3a01..4c022a469 100644 --- a/stock_move_location/wizard/stock_move_location.xml +++ b/stock_move_location/wizard/stock_move_location.xml @@ -13,13 +13,13 @@
+
+
@@ -142,10 +142,11 @@ wiz.stock.move.location form new + {}