diff --git a/sale_stock_available_info_popup/README.rst b/sale_stock_available_info_popup/README.rst index 933bd327b..eade50bc5 100644 --- a/sale_stock_available_info_popup/README.rst +++ b/sale_stock_available_info_popup/README.rst @@ -14,18 +14,18 @@ Sale Stock Available Info Popup :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/12.0/sale_stock_available_info_popup + :target: https://github.com/OCA/stock-logistics-warehouse/tree/13.0/sale_stock_available_info_popup :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-12-0/stock-logistics-warehouse-12-0-sale_stock_available_info_popup + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-sale_stock_available_info_popup :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/12.0 + :target: https://runbot.odoo-community.org/runbot/153/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| -This module extends the functionality of 'Sale Stock Info Popup' module +This module extends the functionality of 'Sale Stock' module to add the 'Available to promise' quantity of the corresponding product to the pop-up that show stock information at sales order line level. @@ -50,7 +50,7 @@ quantity of the corresponding product instead of 'Forecast Quantity'. If that quantity is less than the quantity to deliver, the color of the icon will be red, indicating an alert; otherwise it will be blue. -.. |fa_info_circle| image:: https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/12.0/sale_stock_available_info_popup/static/src/img/info-circle-solid.png +.. |fa_info_circle| image:: https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/13.0/sale_stock_available_info_popup/static/src/img/info-circle-solid.png :width: 10px Bug Tracker @@ -59,7 +59,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. @@ -78,6 +78,7 @@ Contributors * Ernesto Tejeda * Pedro M. Baeza + * Víctor Martínez Maintainers ~~~~~~~~~~~ @@ -92,6 +93,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/sale_stock_available_info_popup/__manifest__.py b/sale_stock_available_info_popup/__manifest__.py index 7679c498a..942a5aec6 100644 --- a/sale_stock_available_info_popup/__manifest__.py +++ b/sale_stock_available_info_popup/__manifest__.py @@ -7,10 +7,10 @@ "author": "Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-warehouse", "category": "Warehouse Management", - "version": "12.0.1.0.1", + "version": "13.0.1.0.0", "license": "AGPL-3", - "depends": ["sale_stock_info_popup", "stock_available",], - "data": ["views/sale_order_views.xml",], - "qweb": ["static/src/xml/qty_at_date.xml",], + "depends": ["sale_stock", "stock_available"], + "data": ["views/sale_order_views.xml"], + "qweb": ["static/src/xml/qty_at_date.xml"], "installable": True, } diff --git a/sale_stock_available_info_popup/i18n/es.po b/sale_stock_available_info_popup/i18n/es.po index a4ef9095e..25b0ad26f 100644 --- a/sale_stock_available_info_popup/i18n/es.po +++ b/sale_stock_available_info_popup/i18n/es.po @@ -19,7 +19,7 @@ msgstr "" #. module: sale_stock_available_info_popup #. openerp-web -#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:13 +#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:0 #, python-format msgid "Available to promise" msgstr "Disponible para Prometer" @@ -36,7 +36,7 @@ msgstr "Línea de pedido de venta" #. module: sale_stock_available_info_popup #. openerp-web -#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:7 +#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:0 #, python-format msgid "" "widget.data.immediately_usable_qty_today < widget.data.qty_to_deliver and !" diff --git a/sale_stock_available_info_popup/i18n/sale_stock_available_info_popup.pot b/sale_stock_available_info_popup/i18n/sale_stock_available_info_popup.pot index 3021e2884..8154fda13 100644 --- a/sale_stock_available_info_popup/i18n/sale_stock_available_info_popup.pot +++ b/sale_stock_available_info_popup/i18n/sale_stock_available_info_popup.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * sale_stock_available_info_popup +# * sale_stock_available_info_popup # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -15,7 +15,7 @@ msgstr "" #. module: sale_stock_available_info_popup #. openerp-web -#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:13 +#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:0 #, python-format msgid "Available to promise" msgstr "" @@ -32,8 +32,9 @@ msgstr "" #. module: sale_stock_available_info_popup #. openerp-web -#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:7 +#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:0 #, python-format -msgid "widget.data.immediately_usable_qty_today < widget.data.qty_to_deliver and !widget.data.is_mto" +msgid "" +"widget.data.immediately_usable_qty_today < widget.data.qty_to_deliver and " +"!widget.data.is_mto" msgstr "" - diff --git a/sale_stock_available_info_popup/i18n/sl.po b/sale_stock_available_info_popup/i18n/sl.po index c05a65507..877b19c8b 100644 --- a/sale_stock_available_info_popup/i18n/sl.po +++ b/sale_stock_available_info_popup/i18n/sl.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * sale_stock_available_info_popup +# * sale_stock_available_info_popup # msgid "" msgstr "" @@ -13,13 +13,13 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " -"n%100==4 ? 2 : 3;\n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3;\n" "X-Generator: Weblate 3.10\n" #. module: sale_stock_available_info_popup #. openerp-web -#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:13 +#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:0 #, python-format msgid "Available to promise" msgstr "Lahko obljubimo" @@ -36,9 +36,11 @@ msgstr "Prodajna postavka" #. module: sale_stock_available_info_popup #. openerp-web -#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:7 +#: code:addons/sale_stock_available_info_popup/static/src/xml/qty_at_date.xml:0 #, python-format -msgid "widget.data.immediately_usable_qty_today < widget.data.qty_to_deliver and !widget.data.is_mto" +msgid "" +"widget.data.immediately_usable_qty_today < widget.data.qty_to_deliver and !" +"widget.data.is_mto" msgstr "" -"widget.data.immediately_usable_qty_today < widget.data.qty_to_deliver and " -"!widget.data.is_mto" +"widget.data.immediately_usable_qty_today < widget.data.qty_to_deliver and !" +"widget.data.is_mto" diff --git a/sale_stock_available_info_popup/readme/CONTRIBUTORS.rst b/sale_stock_available_info_popup/readme/CONTRIBUTORS.rst index b31cef321..bef4cdf82 100644 --- a/sale_stock_available_info_popup/readme/CONTRIBUTORS.rst +++ b/sale_stock_available_info_popup/readme/CONTRIBUTORS.rst @@ -2,3 +2,4 @@ * Ernesto Tejeda * Pedro M. Baeza + * Víctor Martínez diff --git a/sale_stock_available_info_popup/readme/DESCRIPTION.rst b/sale_stock_available_info_popup/readme/DESCRIPTION.rst index 4e0c04d00..e690dfbcd 100644 --- a/sale_stock_available_info_popup/readme/DESCRIPTION.rst +++ b/sale_stock_available_info_popup/readme/DESCRIPTION.rst @@ -1,3 +1,3 @@ -This module extends the functionality of 'Sale Stock Info Popup' module +This module extends the functionality of 'Sale Stock' module to add the 'Available to promise' quantity of the corresponding product to the pop-up that show stock information at sales order line level. diff --git a/sale_stock_available_info_popup/static/description/index.html b/sale_stock_available_info_popup/static/description/index.html index bb0f6409a..aa6b6939e 100644 --- a/sale_stock_available_info_popup/static/description/index.html +++ b/sale_stock_available_info_popup/static/description/index.html @@ -367,8 +367,8 @@ 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

-

This module extends the functionality of ‘Sale Stock Info Popup’ module +

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

+

This module extends the functionality of ‘Sale Stock’ module to add the ‘Available to promise’ quantity of the corresponding product to the pop-up that show stock information at sales order line level.

Table of contents

@@ -390,7 +390,7 @@ to the pop-up that show stock information at sales order line level.

  1. Go to Sales > Orders > quotations and create a new one.
  2. Add a sale order line with a storable product
  3. -
  4. Click on the icon fa_info_circle in the line and you will +
  5. Click on the icon fa_info_circle in the line and you will see in the popover the ‘Available to promise’ quantity of the corresponding product.
@@ -404,7 +404,7 @@ the icon will be red, indicating an alert; otherwise it will be blue.

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.

@@ -421,6 +421,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Tecnativa:
    • Ernesto Tejeda
    • Pedro M. Baeza
    • +
    • Víctor Martínez
  • @@ -432,7 +433,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/sale_stock_available_info_popup/tests/test_sale_stock_available_info_popup.py b/sale_stock_available_info_popup/tests/test_sale_stock_available_info_popup.py index 1dff449e3..ef95d663e 100644 --- a/sale_stock_available_info_popup/tests/test_sale_stock_available_info_popup.py +++ b/sale_stock_available_info_popup/tests/test_sale_stock_available_info_popup.py @@ -7,7 +7,7 @@ from odoo.tests.common import SavepointCase class SaleStockAvailableInfoPopup(SavepointCase): @classmethod def setUpClass(cls): - super(SaleStockAvailableInfoPopup, cls).setUpClass() + super().setUpClass() user_group_stock_user = cls.env.ref("stock.group_stock_user") cls.user_stock_user = cls.env["res.users"].create( { @@ -19,7 +19,7 @@ class SaleStockAvailableInfoPopup(SavepointCase): } ) cls.product = cls.env["product.product"].create( - {"name": "Storable product", "type": "product",} + {"name": "Storable product", "type": "product"} ) cls.stock_location = cls.env.ref("stock.stock_location_stock") cls.customers_location = cls.env.ref("stock.stock_location_customers")