[MIG] sale_stock_available_info_popup: Migration to 13.0

[UPD] Update sale_stock_available_info_popup.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-sale_stock_available_info_popup
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-sale_stock_available_info_popup/
This commit is contained in:
Víctor Martínez
2021-02-19 09:23:40 +01:00
parent 4860e31647
commit 8643a2bf55
9 changed files with 42 additions and 36 deletions

View File

@@ -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 <https://github.com/OCA/stock-logistics-warehouse/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 <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20sale_stock_available_info_popup%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20sale_stock_available_info_popup%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
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 <https://github.com/OCA/stock-logistics-warehouse/tree/12.0/sale_stock_available_info_popup>`_ project on GitHub.
This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/13.0/sale_stock_available_info_popup>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -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,
}

View File

@@ -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 !"

View File

@@ -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 ""

View File

@@ -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"

View File

@@ -2,3 +2,4 @@
* Ernesto Tejeda
* Pedro M. Baeza
* Víctor Martínez

View File

@@ -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.

View File

@@ -367,8 +367,8 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/12.0/sale_stock_available_info_popup"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-sale_stock_available_info_popup"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/153/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module extends the functionality of Sale Stock Info Popup module
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/13.0/sale_stock_available_info_popup"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-sale_stock_available_info_popup"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/153/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>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.</p>
<p><strong>Table of contents</strong></p>
@@ -390,7 +390,7 @@ to the pop-up that show stock information at sales order line level.</p>
<ol class="arabic simple">
<li>Go to <em>Sales &gt; Orders &gt; quotations</em> and create a new one.</li>
<li>Add a sale order line with a storable product</li>
<li>Click on the icon <img alt="fa_info_circle" src="https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/12.0/sale_stock_available_info_popup/static/src/img/info-circle-solid.png" style="width: 10px;" /> in the line and you will
<li>Click on the icon <img alt="fa_info_circle" src="https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/13.0/sale_stock_available_info_popup/static/src/img/info-circle-solid.png" style="width: 10px;" /> in the line and you will
see in the popover the Available to promise quantity of the
corresponding product.</li>
</ol>
@@ -404,7 +404,7 @@ the icon will be red, indicating an alert; otherwise it will be blue.</p>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20sale_stock_available_info_popup%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20sale_stock_available_info_popup%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@@ -421,6 +421,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
<li>Ernesto Tejeda</li>
<li>Pedro M. Baeza</li>
<li>Víctor Martínez</li>
</ul>
</li>
</ul>
@@ -432,7 +433,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/12.0/sale_stock_available_info_popup">OCA/stock-logistics-warehouse</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/13.0/sale_stock_available_info_popup">OCA/stock-logistics-warehouse</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>

View File

@@ -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")