mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_request_kanban:
* Add Scan Kanban button on Stock Request tree view * Recompute barcode without crc validation * Add kanban cards on product cards
This commit is contained in:
committed by
Bernat Puig Font
parent
6c8a1894b1
commit
5c4156bfa4
@@ -10,17 +10,17 @@ Stock Request kanban
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||
:target: https://odoo-community.org/page/development-status
|
||||
:alt: Beta
|
||||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
|
||||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
||||
:alt: License: LGPL-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/stock_request_kanban
|
||||
:target: https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_request_kanban
|
||||
: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-stock_request_kanban
|
||||
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_request_kanban
|
||||
: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|
|
||||
@@ -42,11 +42,15 @@ It is created following the concept of lean kanban cards.
|
||||
Configuration
|
||||
=============
|
||||
|
||||
If you don't need to check the CRC of the kanban card, you should:
|
||||
If the barcode does not contain a CRC check digit on the kanban card, you should:
|
||||
|
||||
* Access on Development mode
|
||||
* Access 'Settings / Technical / Parameters / System Parameters'
|
||||
* Create a parameter with name 'stock_request_kanban.crc' and set it value to 0
|
||||
* Create a parameter with name 'stock_request_kanban.crc' and set it to value to 0
|
||||
|
||||
If the barcode contains a CRC check digit and you want to ignore it:
|
||||
|
||||
* Create a paramenter with name 'stock_request_kanban.ignore_crc' and set it to value to 1
|
||||
|
||||
If you want to change the format of the QR, you should:
|
||||
|
||||
@@ -93,7 +97,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:%20stock_request_kanban%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:%20stock_request_kanban%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.
|
||||
|
||||
@@ -104,7 +108,7 @@ Authors
|
||||
~~~~~~~
|
||||
|
||||
* Creu Blanca
|
||||
* Eficent
|
||||
* ForgeFlow
|
||||
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
@@ -125,6 +129,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/stock_request_kanban>`_ project on GitHub.
|
||||
This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_request_kanban>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
||||
@@ -20,9 +20,12 @@
|
||||
"views/stock_request_kanban_views.xml",
|
||||
"views/stock_inventory_kanban_views.xml",
|
||||
"views/stock_request_menu.xml",
|
||||
"views/stock_request_views.xml",
|
||||
"views/product_views.xml",
|
||||
"report/stock_request_kanban_templates.xml",
|
||||
"security/ir.model.access.csv",
|
||||
],
|
||||
"qweb": ["static/src/xml/stock_request_kanban_scan.xml"],
|
||||
"installable": True,
|
||||
"application": False,
|
||||
}
|
||||
|
||||
@@ -16,6 +16,13 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 3.1.1\n"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_product_product__kanban_card_count
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_product_template__kanban_card_count
|
||||
#, fuzzy
|
||||
msgid "# Kanban Cards"
|
||||
msgstr "Tarjetas Kanban"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_needaction
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_needaction
|
||||
@@ -31,15 +38,19 @@ msgstr "Activo"
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_ids
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_ids
|
||||
#, fuzzy
|
||||
#| msgid "Active"
|
||||
msgid "Activities"
|
||||
msgstr "Activo"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_exception_decoration
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_exception_decoration
|
||||
msgid "Activity Exception Decoration"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_state
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_state
|
||||
#, fuzzy
|
||||
#| msgid "Status State"
|
||||
msgid "Activity State"
|
||||
msgstr "Estado del Status"
|
||||
|
||||
@@ -53,7 +64,7 @@ msgid "Add Kanban"
|
||||
msgstr "Añadir Kanban"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban.py:23
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Added kanban %s for product %s"
|
||||
msgstr "Se ha añadido el kanban %s para el product %s"
|
||||
@@ -75,7 +86,7 @@ msgid "Attachment Count"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban_abstract.py:29
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban_abstract.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Barcode %s does not correspond to any Kanban. Try with another barcode or "
|
||||
@@ -85,19 +96,19 @@ msgstr ""
|
||||
"barras o haz click en Cerrar para acabar de escanear."
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:34
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:0
|
||||
#, fuzzy, python-format
|
||||
msgid "Barcode %s is already scanned"
|
||||
msgstr "El código %s ya está en la petición"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:28
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:0
|
||||
#, fuzzy, python-format
|
||||
msgid "Barcode %s is not in the inventory"
|
||||
msgstr "El código %s ya está en la petición"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:23
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Barcode %s is on the order"
|
||||
msgstr "El código %s ya está en la petición"
|
||||
@@ -112,7 +123,7 @@ msgid "Barcode Scanned"
|
||||
msgstr "El código %s ya está en la petición"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/models/stock_request_kanban.py:39
|
||||
#: code:addons/stock_request_kanban/models/stock_request_kanban.py:0
|
||||
#, python-format
|
||||
msgid "CRC is not valid"
|
||||
msgstr "El CRC no es válido"
|
||||
@@ -123,7 +134,7 @@ msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__cancelled
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
@@ -146,7 +157,7 @@ msgid "Close"
|
||||
msgstr "Cerrar"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__closed
|
||||
#, fuzzy
|
||||
msgid "Closed"
|
||||
msgstr "Cerrar"
|
||||
@@ -157,7 +168,7 @@ msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:32
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Company must be the same"
|
||||
msgstr "La Compañía debe ser la misma"
|
||||
@@ -191,7 +202,7 @@ msgid "Display Name"
|
||||
msgstr "Nombre mostrado"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__draft
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
@@ -201,7 +212,7 @@ msgid "Finish"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__finished
|
||||
msgid "Finished"
|
||||
msgstr ""
|
||||
|
||||
@@ -239,25 +250,35 @@ msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_unread
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_unread
|
||||
msgid "If checked new messages require your attention."
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_exception_icon
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_exception_icon
|
||||
msgid "Icon"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__activity_exception_icon
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__activity_exception_icon
|
||||
msgid "Icon to indicate an exception activity."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_needaction
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_unread
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_needaction
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_unread
|
||||
msgid "If checked, new messages require your attention."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_has_error
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_has_sms_error
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_has_error
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_has_sms_error
|
||||
msgid "If checked, some messages have a delivery error."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__in_progress
|
||||
msgid "In progress"
|
||||
msgstr ""
|
||||
|
||||
@@ -294,10 +315,16 @@ msgstr ""
|
||||
msgid "Kanban"
|
||||
msgstr "Kanban"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.product_product_form_view_kanban_card_button
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.product_template_form_view_bom_button
|
||||
#, fuzzy
|
||||
msgid "Kanban Cards"
|
||||
msgstr "Tarjetas Kanban"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_kanban_view
|
||||
#, fuzzy
|
||||
#| msgid "Kanban cards"
|
||||
msgid "Kanban Image"
|
||||
msgstr "Tarjetas Kanban"
|
||||
|
||||
@@ -335,7 +362,7 @@ msgid "Last Updated on"
|
||||
msgstr "Actualizado por última vez el"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:27
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Lines only can be added on orders with draft state"
|
||||
msgstr "Sólo se pueden añadir líneas en ordenes en estado borrador"
|
||||
@@ -348,7 +375,7 @@ msgid "Location"
|
||||
msgstr "Localización"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:40
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Location must be the same"
|
||||
msgstr "La localización debe coincidir"
|
||||
@@ -428,7 +455,7 @@ msgstr ""
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_has_error_counter
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_has_error_counter
|
||||
msgid "Number of error"
|
||||
msgid "Number of errors"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
@@ -454,19 +481,6 @@ msgstr ""
|
||||
msgid "Order"
|
||||
msgstr "Pedido"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,activity_state:0
|
||||
#: selection:stock.request.kanban,activity_state:0
|
||||
msgid "Overdue"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,activity_state:0
|
||||
#: selection:stock.request.kanban,activity_state:0
|
||||
#, fuzzy
|
||||
msgid "Planned"
|
||||
msgstr "Escanear"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.actions.report,name:stock_request_kanban.action_report_kanban
|
||||
msgid "Print kanban"
|
||||
@@ -480,21 +494,27 @@ msgstr ""
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__procurement_group_id
|
||||
#, fuzzy
|
||||
#| msgid "Procurement group must be the same"
|
||||
msgid "Procurement Group"
|
||||
msgstr "El grupo de reestablecimiento debe coincidir"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:38
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Procurement group must be the same"
|
||||
msgstr "El grupo de reestablecimiento debe coincidir"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_product_product
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_id
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_product_template
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_template_id
|
||||
msgid "Product Template"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_uom_id
|
||||
msgid "Product Unit of Measure"
|
||||
@@ -546,12 +566,25 @@ msgstr ""
|
||||
msgid "Routes"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_has_sms_error
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_has_sms_error
|
||||
msgid "SMS Delivery error"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_order_form
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
|
||||
msgid "Scan"
|
||||
msgstr "Escanear"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#. openerp-web
|
||||
#: code:addons/stock_request_kanban/static/src/xml/stock_request_kanban_scan.xml:0
|
||||
#, fuzzy, python-format
|
||||
msgid "Scan Kanban"
|
||||
msgstr "Añadir Kanban"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
|
||||
#, fuzzy
|
||||
@@ -613,6 +646,12 @@ msgstr ""
|
||||
msgid "Stock Inventories"
|
||||
msgstr "Solicitud de existencias"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_inventory_kanban
|
||||
#, fuzzy
|
||||
msgid "Stock Inventory Kanban Wizard"
|
||||
msgstr "Kanbans de Solicitud de Existencias"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.actions.act_window,name:stock_request_kanban.stock_inventory_kanban_action
|
||||
#, fuzzy
|
||||
@@ -632,11 +671,29 @@ msgstr "Solicitud de existencias"
|
||||
msgid "Stock Request Kanban"
|
||||
msgstr "Kanban de Solicitud de Existencias"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban_abstract
|
||||
#, fuzzy
|
||||
msgid "Stock Request Kanban Abstract Wizard"
|
||||
msgstr "Kanbans de Solicitud de Existencias"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban
|
||||
#, fuzzy
|
||||
msgid "Stock Request Kanban Wizard"
|
||||
msgstr "Kanban de Solicitud de Existencias"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.actions.act_window,name:stock_request_kanban.stock_request_kanban_action
|
||||
msgid "Stock Request Kanbans"
|
||||
msgstr "Kanbans de Solicitud de Existencias"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_order_kanban
|
||||
#, fuzzy
|
||||
msgid "Stock Request Order Kanban Wizard"
|
||||
msgstr "Kanban de Solicitud de Existencias"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_request_kanban_form
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_request_kanban_tree
|
||||
@@ -649,9 +706,9 @@ msgid "Stock Requests Kanban"
|
||||
msgstr "Kanban de Solicitudes de Existencias"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,activity_state:0
|
||||
#: selection:stock.request.kanban,activity_state:0
|
||||
msgid "Today"
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__activity_exception_decoration
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__activity_exception_decoration
|
||||
msgid "Type of the exception activity on record."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
@@ -682,7 +739,7 @@ msgid "Warehouse"
|
||||
msgstr "Almacén"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:42
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Warehouse must be the same"
|
||||
msgstr "El almacén debe coincidir"
|
||||
@@ -699,23 +756,19 @@ msgstr ""
|
||||
msgid "Website communication history"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_inventory_kanban
|
||||
#, fuzzy
|
||||
msgid "wizard.stock.inventory.kanban"
|
||||
msgstr "wizard.stock.request.kanban"
|
||||
#~ msgid "Planned"
|
||||
#~ msgstr "Escanear"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban
|
||||
msgid "wizard.stock.request.kanban"
|
||||
msgstr "wizard.stock.request.kanban"
|
||||
#, fuzzy
|
||||
#~ msgid "wizard.stock.inventory.kanban"
|
||||
#~ msgstr "wizard.stock.request.kanban"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban_abstract
|
||||
msgid "wizard.stock.request.kanban.abstract"
|
||||
msgstr "wizard.stock.request.kanban.abstract"
|
||||
#~ msgid "wizard.stock.request.kanban"
|
||||
#~ msgstr "wizard.stock.request.kanban"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_order_kanban
|
||||
msgid "wizard.stock.request.order.kanban"
|
||||
msgstr "wizard.stock.request.order.kanban"
|
||||
#~ msgid "wizard.stock.request.kanban.abstract"
|
||||
#~ msgstr "wizard.stock.request.kanban.abstract"
|
||||
|
||||
#~ msgid "wizard.stock.request.order.kanban"
|
||||
#~ msgstr "wizard.stock.request.order.kanban"
|
||||
|
||||
@@ -1,18 +1,24 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * stock_request_kanban
|
||||
# * stock_request_kanban
|
||||
#
|
||||
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"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_product_product__kanban_card_count
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_product_template__kanban_card_count
|
||||
msgid "# Kanban Cards"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_needaction
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_needaction
|
||||
@@ -30,6 +36,12 @@ msgstr ""
|
||||
msgid "Activities"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_exception_decoration
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_exception_decoration
|
||||
msgid "Activity Exception Decoration"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_state
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_state
|
||||
@@ -46,7 +58,7 @@ msgid "Add Kanban"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban.py:23
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Added kanban %s for product %s"
|
||||
msgstr ""
|
||||
@@ -68,25 +80,27 @@ msgid "Attachment Count"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban_abstract.py:29
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban_abstract.py:0
|
||||
#, python-format
|
||||
msgid "Barcode %s does not correspond to any Kanban. Try with another barcode or press Close to finish scanning."
|
||||
msgid ""
|
||||
"Barcode %s does not correspond to any Kanban. Try with another barcode or "
|
||||
"press Close to finish scanning."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:34
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Barcode %s is already scanned"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:28
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Barcode %s is not in the inventory"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:23
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Barcode %s is on the order"
|
||||
msgstr ""
|
||||
@@ -100,7 +114,7 @@ msgid "Barcode Scanned"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/models/stock_request_kanban.py:39
|
||||
#: code:addons/stock_request_kanban/models/stock_request_kanban.py:0
|
||||
#, python-format
|
||||
msgid "CRC is not valid"
|
||||
msgstr ""
|
||||
@@ -111,7 +125,7 @@ msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__cancelled
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
@@ -133,7 +147,7 @@ msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__closed
|
||||
msgid "Closed"
|
||||
msgstr ""
|
||||
|
||||
@@ -143,7 +157,7 @@ msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:32
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Company must be the same"
|
||||
msgstr ""
|
||||
@@ -177,7 +191,7 @@ msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__draft
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
@@ -187,7 +201,7 @@ msgid "Finish"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__finished
|
||||
msgid "Finished"
|
||||
msgstr ""
|
||||
|
||||
@@ -225,25 +239,35 @@ msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_unread
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_unread
|
||||
msgid "If checked new messages require your attention."
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_exception_icon
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_exception_icon
|
||||
msgid "Icon"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__activity_exception_icon
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__activity_exception_icon
|
||||
msgid "Icon to indicate an exception activity."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_needaction
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_unread
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_needaction
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_unread
|
||||
msgid "If checked, new messages require your attention."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_has_error
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_has_sms_error
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_has_error
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_has_sms_error
|
||||
msgid "If checked, some messages have a delivery error."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__in_progress
|
||||
msgid "In progress"
|
||||
msgstr ""
|
||||
|
||||
@@ -280,6 +304,12 @@ msgstr ""
|
||||
msgid "Kanban"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.product_product_form_view_kanban_card_button
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.product_template_form_view_bom_button
|
||||
msgid "Kanban Cards"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_kanban_view
|
||||
msgid "Kanban Image"
|
||||
@@ -319,7 +349,7 @@ msgid "Last Updated on"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:27
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Lines only can be added on orders with draft state"
|
||||
msgstr ""
|
||||
@@ -332,7 +362,7 @@ msgid "Location"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:40
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Location must be the same"
|
||||
msgstr ""
|
||||
@@ -372,7 +402,10 @@ msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__procurement_group_id
|
||||
msgid "Moves created through this stock request will be put in this procurement group. If none is given, the moves generated by procurement rules will be grouped into one big picking."
|
||||
msgid ""
|
||||
"Moves created through this stock request will be put in this procurement "
|
||||
"group. If none is given, the moves generated by procurement rules will be "
|
||||
"grouped into one big picking."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
@@ -408,7 +441,7 @@ msgstr ""
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_has_error_counter
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_has_error_counter
|
||||
msgid "Number of error"
|
||||
msgid "Number of errors"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
@@ -434,18 +467,6 @@ msgstr ""
|
||||
msgid "Order"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,activity_state:0
|
||||
#: selection:stock.request.kanban,activity_state:0
|
||||
msgid "Overdue"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,activity_state:0
|
||||
#: selection:stock.request.kanban,activity_state:0
|
||||
msgid "Planned"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.actions.report,name:stock_request_kanban.action_report_kanban
|
||||
msgid "Print kanban"
|
||||
@@ -462,16 +483,23 @@ msgid "Procurement Group"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:38
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Procurement group must be the same"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_product_product
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_id
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_product_template
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_template_id
|
||||
msgid "Product Template"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_uom_id
|
||||
msgid "Product Unit of Measure"
|
||||
@@ -523,12 +551,25 @@ msgstr ""
|
||||
msgid "Routes"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_has_sms_error
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_has_sms_error
|
||||
msgid "SMS Delivery error"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_order_form
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
|
||||
msgid "Scan"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#. openerp-web
|
||||
#: code:addons/stock_request_kanban/static/src/xml/stock_request_kanban_scan.xml:0
|
||||
#, python-format
|
||||
msgid "Scan Kanban"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
|
||||
msgid "Scanned"
|
||||
@@ -573,7 +614,8 @@ msgstr ""
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__activity_state
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__activity_state
|
||||
msgid "Status based on activities\n"
|
||||
msgid ""
|
||||
"Status based on activities\n"
|
||||
"Overdue: Due date is already passed\n"
|
||||
"Today: Activity date is today\n"
|
||||
"Planned: Future activities."
|
||||
@@ -585,6 +627,11 @@ msgstr ""
|
||||
msgid "Stock Inventories"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_inventory_kanban
|
||||
msgid "Stock Inventory Kanban Wizard"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.actions.act_window,name:stock_request_kanban.stock_inventory_kanban_action
|
||||
msgid "Stock Inventory Kanbans"
|
||||
@@ -603,11 +650,26 @@ msgstr ""
|
||||
msgid "Stock Request Kanban"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban_abstract
|
||||
msgid "Stock Request Kanban Abstract Wizard"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban
|
||||
msgid "Stock Request Kanban Wizard"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.actions.act_window,name:stock_request_kanban.stock_request_kanban_action
|
||||
msgid "Stock Request Kanbans"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_order_kanban
|
||||
msgid "Stock Request Order Kanban Wizard"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_request_kanban_form
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_request_kanban_tree
|
||||
@@ -620,9 +682,9 @@ msgid "Stock Requests Kanban"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,activity_state:0
|
||||
#: selection:stock.request.kanban,activity_state:0
|
||||
msgid "Today"
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__activity_exception_decoration
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__activity_exception_decoration
|
||||
msgid "Type of the exception activity on record."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
@@ -653,7 +715,7 @@ msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:42
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Warehouse must be the same"
|
||||
msgstr ""
|
||||
@@ -669,24 +731,3 @@ msgstr ""
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__website_message_ids
|
||||
msgid "Website communication history"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_inventory_kanban
|
||||
msgid "wizard.stock.inventory.kanban"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban
|
||||
msgid "wizard.stock.request.kanban"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban_abstract
|
||||
msgid "wizard.stock.request.kanban.abstract"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_order_kanban
|
||||
msgid "wizard.stock.request.order.kanban"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * stock_request_kanban
|
||||
# * stock_request_kanban
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
@@ -16,6 +16,13 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 3.8\n"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_product_product__kanban_card_count
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_product_template__kanban_card_count
|
||||
#, fuzzy
|
||||
msgid "# Kanban Cards"
|
||||
msgstr "看板卡"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_needaction
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_needaction
|
||||
@@ -33,6 +40,12 @@ msgstr "有效"
|
||||
msgid "Activities"
|
||||
msgstr "活动"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_exception_decoration
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_exception_decoration
|
||||
msgid "Activity Exception Decoration"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_state
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_state
|
||||
@@ -49,7 +62,7 @@ msgid "Add Kanban"
|
||||
msgstr "添加看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban.py:23
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Added kanban %s for product %s"
|
||||
msgstr "为产品%s添加了看板%s"
|
||||
@@ -71,25 +84,27 @@ msgid "Attachment Count"
|
||||
msgstr "附件数量"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban_abstract.py:29
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban_abstract.py:0
|
||||
#, python-format
|
||||
msgid "Barcode %s does not correspond to any Kanban. Try with another barcode or press Close to finish scanning."
|
||||
msgid ""
|
||||
"Barcode %s does not correspond to any Kanban. Try with another barcode or "
|
||||
"press Close to finish scanning."
|
||||
msgstr "条形码%s与任何看板都不对应。尝试使用其他条形码或按“关闭”完成扫描。"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:34
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Barcode %s is already scanned"
|
||||
msgstr "条码%s已被扫描"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:28
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_inventory_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Barcode %s is not in the inventory"
|
||||
msgstr "条码%s不在库存中"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:23
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Barcode %s is on the order"
|
||||
msgstr "条码%s在订单上"
|
||||
@@ -103,7 +118,7 @@ msgid "Barcode Scanned"
|
||||
msgstr "条码扫描"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/models/stock_request_kanban.py:39
|
||||
#: code:addons/stock_request_kanban/models/stock_request_kanban.py:0
|
||||
#, python-format
|
||||
msgid "CRC is not valid"
|
||||
msgstr "CRC无效"
|
||||
@@ -114,7 +129,7 @@ msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__cancelled
|
||||
msgid "Cancelled"
|
||||
msgstr "已取消"
|
||||
|
||||
@@ -136,7 +151,7 @@ msgid "Close"
|
||||
msgstr "关闭"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__closed
|
||||
msgid "Closed"
|
||||
msgstr "已关闭"
|
||||
|
||||
@@ -146,7 +161,7 @@ msgid "Company"
|
||||
msgstr "公司"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:32
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Company must be the same"
|
||||
msgstr "公司必须相同"
|
||||
@@ -180,7 +195,7 @@ msgid "Display Name"
|
||||
msgstr "显示名称"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__draft
|
||||
msgid "Draft"
|
||||
msgstr "草稿"
|
||||
|
||||
@@ -190,7 +205,7 @@ msgid "Finish"
|
||||
msgstr "完成"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__finished
|
||||
msgid "Finished"
|
||||
msgstr "已完成"
|
||||
|
||||
@@ -228,25 +243,35 @@ msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_unread
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_unread
|
||||
msgid "If checked new messages require your attention."
|
||||
msgstr ".如果勾选此项,将会收到新消息提醒。"
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_exception_icon
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_exception_icon
|
||||
msgid "Icon"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__activity_exception_icon
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__activity_exception_icon
|
||||
msgid "Icon to indicate an exception activity."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_needaction
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_unread
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_needaction
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_unread
|
||||
msgid "If checked, new messages require your attention."
|
||||
msgstr "如果勾选此项,将会收到新消息提醒。"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_has_error
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_has_sms_error
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_has_error
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_has_sms_error
|
||||
msgid "If checked, some messages have a delivery error."
|
||||
msgstr "如果勾选此项, 某些信息将会产生传递错误。"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,state:0
|
||||
#: model:ir.model.fields.selection,name:stock_request_kanban.selection__stock_inventory_kanban__state__in_progress
|
||||
msgid "In progress"
|
||||
msgstr "进行中"
|
||||
|
||||
@@ -283,6 +308,13 @@ msgstr "是关注者"
|
||||
msgid "Kanban"
|
||||
msgstr "看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.product_product_form_view_kanban_card_button
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.product_template_form_view_bom_button
|
||||
#, fuzzy
|
||||
msgid "Kanban Cards"
|
||||
msgstr "看板卡"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_kanban_view
|
||||
msgid "Kanban Image"
|
||||
@@ -322,7 +354,7 @@ msgid "Last Updated on"
|
||||
msgstr "最后更新时间"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:27
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Lines only can be added on orders with draft state"
|
||||
msgstr "只有处于草稿状态的订单才能添加行"
|
||||
@@ -335,7 +367,7 @@ msgid "Location"
|
||||
msgstr "位置"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:40
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Location must be the same"
|
||||
msgstr "位置必须相同"
|
||||
@@ -375,8 +407,13 @@ msgstr "看板缺失"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__procurement_group_id
|
||||
msgid "Moves created through this stock request will be put in this procurement group. If none is given, the moves generated by procurement rules will be grouped into one big picking."
|
||||
msgstr "通过此库存请求创建的移动将放入此采购组。如果没有给出,则由采购规则生成的移动将被分组为一个大拣货。"
|
||||
msgid ""
|
||||
"Moves created through this stock request will be put in this procurement "
|
||||
"group. If none is given, the moves generated by procurement rules will be "
|
||||
"grouped into one big picking."
|
||||
msgstr ""
|
||||
"通过此库存请求创建的移动将放入此采购组。如果没有给出,则由采购规则生成的移动"
|
||||
"将被分组为一个大拣货。"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__name
|
||||
@@ -411,7 +448,8 @@ msgstr "操作次数"
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_has_error_counter
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_has_error_counter
|
||||
msgid "Number of error"
|
||||
#, fuzzy
|
||||
msgid "Number of errors"
|
||||
msgstr "错误数"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
@@ -437,18 +475,6 @@ msgstr "未读消息的数量"
|
||||
msgid "Order"
|
||||
msgstr "订单"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,activity_state:0
|
||||
#: selection:stock.request.kanban,activity_state:0
|
||||
msgid "Overdue"
|
||||
msgstr "逾期"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,activity_state:0
|
||||
#: selection:stock.request.kanban,activity_state:0
|
||||
msgid "Planned"
|
||||
msgstr "计划"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.actions.report,name:stock_request_kanban.action_report_kanban
|
||||
msgid "Print kanban"
|
||||
@@ -465,16 +491,24 @@ msgid "Procurement Group"
|
||||
msgstr "补货组"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:38
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Procurement group must be the same"
|
||||
msgstr "补货组必须相同"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_product_product
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_id
|
||||
msgid "Product"
|
||||
msgstr "产品"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_product_template
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_template_id
|
||||
#, fuzzy
|
||||
msgid "Product Template"
|
||||
msgstr "产品"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_uom_id
|
||||
msgid "Product Unit of Measure"
|
||||
@@ -526,12 +560,26 @@ msgstr "路线"
|
||||
msgid "Routes"
|
||||
msgstr "路线"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_has_sms_error
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_has_sms_error
|
||||
#, fuzzy
|
||||
msgid "SMS Delivery error"
|
||||
msgstr "消息递送错误"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_order_form
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
|
||||
msgid "Scan"
|
||||
msgstr "扫描"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#. openerp-web
|
||||
#: code:addons/stock_request_kanban/static/src/xml/stock_request_kanban_scan.xml:0
|
||||
#, fuzzy, python-format
|
||||
msgid "Scan Kanban"
|
||||
msgstr "已扫描看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
|
||||
msgid "Scanned"
|
||||
@@ -576,7 +624,8 @@ msgstr "状态"
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__activity_state
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__activity_state
|
||||
msgid "Status based on activities\n"
|
||||
msgid ""
|
||||
"Status based on activities\n"
|
||||
"Overdue: Due date is already passed\n"
|
||||
"Today: Activity date is today\n"
|
||||
"Planned: Future activities."
|
||||
@@ -592,6 +641,12 @@ msgstr ""
|
||||
msgid "Stock Inventories"
|
||||
msgstr "库存存货"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_inventory_kanban
|
||||
#, fuzzy
|
||||
msgid "Stock Inventory Kanban Wizard"
|
||||
msgstr "库存存货看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.actions.act_window,name:stock_request_kanban.stock_inventory_kanban_action
|
||||
msgid "Stock Inventory Kanbans"
|
||||
@@ -610,11 +665,29 @@ msgstr "库存请求"
|
||||
msgid "Stock Request Kanban"
|
||||
msgstr "库存请求看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban_abstract
|
||||
#, fuzzy
|
||||
msgid "Stock Request Kanban Abstract Wizard"
|
||||
msgstr "库存请求看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban
|
||||
#, fuzzy
|
||||
msgid "Stock Request Kanban Wizard"
|
||||
msgstr "库存请求看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.actions.act_window,name:stock_request_kanban.stock_request_kanban_action
|
||||
msgid "Stock Request Kanbans"
|
||||
msgstr "库存请求看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_order_kanban
|
||||
#, fuzzy
|
||||
msgid "Stock Request Order Kanban Wizard"
|
||||
msgstr "库存请求看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_request_kanban_form
|
||||
#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_request_kanban_tree
|
||||
@@ -627,10 +700,10 @@ msgid "Stock Requests Kanban"
|
||||
msgstr "库存请求看板"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: selection:stock.inventory.kanban,activity_state:0
|
||||
#: selection:stock.request.kanban,activity_state:0
|
||||
msgid "Today"
|
||||
msgstr "今天"
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__activity_exception_decoration
|
||||
#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__activity_exception_decoration
|
||||
msgid "Type of the exception activity on record."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_unread
|
||||
@@ -660,7 +733,7 @@ msgid "Warehouse"
|
||||
msgstr "仓库"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:42
|
||||
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:0
|
||||
#, python-format
|
||||
msgid "Warehouse must be the same"
|
||||
msgstr "仓库必须相同"
|
||||
@@ -677,22 +750,26 @@ msgstr "网站消息"
|
||||
msgid "Website communication history"
|
||||
msgstr "网站沟通记录"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_inventory_kanban
|
||||
msgid "wizard.stock.inventory.kanban"
|
||||
msgstr "wizard.stock.inventory.kanban"
|
||||
#~ msgid "If checked new messages require your attention."
|
||||
#~ msgstr ".如果勾选此项,将会收到新消息提醒。"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban
|
||||
msgid "wizard.stock.request.kanban"
|
||||
msgstr "wizard.stock.request.kanban"
|
||||
#~ msgid "Overdue"
|
||||
#~ msgstr "逾期"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_kanban_abstract
|
||||
msgid "wizard.stock.request.kanban.abstract"
|
||||
msgstr "wizard.stock.request.kanban.abstract"
|
||||
#~ msgid "Planned"
|
||||
#~ msgstr "计划"
|
||||
|
||||
#. module: stock_request_kanban
|
||||
#: model:ir.model,name:stock_request_kanban.model_wizard_stock_request_order_kanban
|
||||
msgid "wizard.stock.request.order.kanban"
|
||||
msgstr "wizard.stock.request.order.kanban"
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "今天"
|
||||
|
||||
#~ msgid "wizard.stock.inventory.kanban"
|
||||
#~ msgstr "wizard.stock.inventory.kanban"
|
||||
|
||||
#~ msgid "wizard.stock.request.kanban"
|
||||
#~ msgstr "wizard.stock.request.kanban"
|
||||
|
||||
#~ msgid "wizard.stock.request.kanban.abstract"
|
||||
#~ msgstr "wizard.stock.request.kanban.abstract"
|
||||
|
||||
#~ msgid "wizard.stock.request.order.kanban"
|
||||
#~ msgstr "wizard.stock.request.order.kanban"
|
||||
|
||||
@@ -4,3 +4,4 @@
|
||||
from . import stock_request
|
||||
from . import stock_request_kanban
|
||||
from . import stock_inventory_kanban
|
||||
from . import product
|
||||
|
||||
53
stock_request_kanban/models/product.py
Normal file
53
stock_request_kanban/models/product.py
Normal file
@@ -0,0 +1,53 @@
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ProductTemplate(models.Model):
|
||||
_inherit = "product.template"
|
||||
|
||||
kanban_card_count = fields.Integer(
|
||||
"# Kanban Cards", compute="_compute_kanban_card_count", compute_sudo=False
|
||||
)
|
||||
|
||||
def _compute_kanban_card_count(self):
|
||||
for product in self:
|
||||
count = 0
|
||||
for variant in product.product_variant_ids:
|
||||
count += self.env["stock.request.kanban"].search_count(
|
||||
[("product_id", "=", variant.id)]
|
||||
)
|
||||
product.kanban_card_count = count
|
||||
|
||||
def action_view_kanban_cards(self):
|
||||
self.ensure_one()
|
||||
action = self.env.ref(
|
||||
"stock_request_kanban.stock_request_kanban_action"
|
||||
).read()[0]
|
||||
action["context"] = {"default_product_id": self.product_variant_id.id}
|
||||
action["domain"] = [
|
||||
("active", "=", True),
|
||||
("product_template_id", "=", self.id),
|
||||
]
|
||||
return action
|
||||
|
||||
|
||||
class ProductProduct(models.Model):
|
||||
_inherit = "product.product"
|
||||
|
||||
kanban_card_count = fields.Integer(
|
||||
"# Kanban Cards", compute="_compute_kanban_card_count", compute_sudo=False
|
||||
)
|
||||
|
||||
def _compute_kanban_card_count(self):
|
||||
for product in self:
|
||||
product.kanban_card_count += self.env["stock.request.kanban"].search_count(
|
||||
[("product_id", "=", product.id)]
|
||||
)
|
||||
|
||||
def action_view_kanban_cards(self):
|
||||
self.ensure_one()
|
||||
action = self.env.ref(
|
||||
"stock_request_kanban.stock_request_kanban_action"
|
||||
).read()[0]
|
||||
action["context"] = {"default_product_id": self.id}
|
||||
action["domain"] = [("active", "=", True), ("product_id", "=", self.id)]
|
||||
return action
|
||||
@@ -13,6 +13,7 @@ class StockRequestKanban(models.Model):
|
||||
_inherit = "stock.request.abstract"
|
||||
|
||||
active = fields.Boolean(default=True)
|
||||
product_template_id = fields.Many2one(related="product_id.product_tmpl_id")
|
||||
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
@@ -37,11 +38,17 @@ class StockRequestKanban(models.Model):
|
||||
== "0"
|
||||
):
|
||||
return barcode
|
||||
bcc = getCodes()[self.get_barcode_format()](value=barcode[:-1])
|
||||
bcc.validate()
|
||||
bcc.encode()
|
||||
if bcc.encoded[1:-1] != barcode:
|
||||
raise ValidationError(_("CRC is not valid"))
|
||||
if (
|
||||
self.env["ir.config_parameter"]
|
||||
.sudo()
|
||||
.get_param("stock_request_kanban.ignore_crc", default="0")
|
||||
== "0"
|
||||
):
|
||||
bcc = getCodes()[self.get_barcode_format()](value=barcode[:-1])
|
||||
bcc.validate()
|
||||
bcc.encode()
|
||||
if bcc.encoded[1:-1] != barcode:
|
||||
raise ValidationError(_("CRC is not valid"))
|
||||
return barcode[:-1]
|
||||
|
||||
@api.model
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
If you don't need to check the CRC of the kanban card, you should:
|
||||
If the barcode does not contain a CRC check digit on the kanban card, you should:
|
||||
|
||||
* Access on Development mode
|
||||
* Access 'Settings / Technical / Parameters / System Parameters'
|
||||
* Create a parameter with name 'stock_request_kanban.crc' and set it value to 0
|
||||
* Create a parameter with name 'stock_request_kanban.crc' and set it to value to 0
|
||||
|
||||
If the barcode contains a CRC check digit and you want to ignore it:
|
||||
|
||||
* Create a paramenter with name 'stock_request_kanban.ignore_crc' and set it to value to 1
|
||||
|
||||
If you want to change the format of the QR, you should:
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 15 KiB |
@@ -367,7 +367,7 @@ 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/stock_request_kanban"><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-stock_request_kanban"><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><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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_request_kanban"><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-stock_request_kanban"><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>On most companies there is products that must be purchased often but cannot be
|
||||
stored as a usual product because no consumption moves are made.
|
||||
Usually, they are stored as consumables or putaway rules are defined.
|
||||
@@ -396,11 +396,15 @@ products.</p>
|
||||
</div>
|
||||
<div class="section" id="configuration">
|
||||
<h1><a class="toc-backref" href="#id1">Configuration</a></h1>
|
||||
<p>If you don’t need to check the CRC of the kanban card, you should:</p>
|
||||
<p>If the barcode does not contain a CRC check digit on the kanban card, you should:</p>
|
||||
<ul class="simple">
|
||||
<li>Access on Development mode</li>
|
||||
<li>Access ‘Settings / Technical / Parameters / System Parameters’</li>
|
||||
<li>Create a parameter with name ‘stock_request_kanban.crc’ and set it value to 0</li>
|
||||
<li>Create a parameter with name ‘stock_request_kanban.crc’ and set it to value to 0</li>
|
||||
</ul>
|
||||
<p>If the barcode contains a CRC check digit and you want to ignore it:</p>
|
||||
<ul class="simple">
|
||||
<li>Create a paramenter with name ‘stock_request_kanban.ignore_crc’ and set it to value to 1</li>
|
||||
</ul>
|
||||
<p>If you want to change the format of the QR, you should:</p>
|
||||
<ul class="simple">
|
||||
@@ -448,7 +452,7 @@ for kanbans later.</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:%20stock_request_kanban%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:%20stock_request_kanban%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">
|
||||
@@ -457,7 +461,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
||||
<h2><a class="toc-backref" href="#id8">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Creu Blanca</li>
|
||||
<li>Eficent</li>
|
||||
<li>ForgeFlow</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
@@ -474,7 +478,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/stock_request_kanban">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/stock_request_kanban">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>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2020 ForgeFlow, S.L.
|
||||
License LGPL-3.0 or later (https://www.gnu.org/licenses/gpl). -->
|
||||
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). -->
|
||||
<odoo>
|
||||
<record id="product_product_form_view_kanban_card_button" model="ir.ui.view">
|
||||
<field name="name">product.product.stock.request.kanban</field>
|
||||
|
||||
Reference in New Issue
Block a user