From 6ed136d4527f358ef563a053db82992aa5ab8a16 Mon Sep 17 00:00:00 2001
From: Kitti U
Date: Thu, 27 Jun 2019 17:21:46 +0700
Subject: [PATCH] [12.0][MIG] stock_request_kanban
---
stock_request_kanban/README.rst | 11 +-
stock_request_kanban/__manifest__.py | 2 +-
.../i18n/stock_request_kanban.pot | 461 ++++++++++++++----
stock_request_kanban/readme/CONTRIBUTORS.rst | 1 +
.../static/description/index.html | 7 +-
stock_request_kanban/tests/test_kanban.py | 8 +-
.../views/stock_inventory_kanban_views.xml | 2 +-
.../views/stock_request_kanban_views.xml | 8 +-
.../wizard_stock_request_order_kanban.py | 3 +-
9 files changed, 390 insertions(+), 113 deletions(-)
diff --git a/stock_request_kanban/README.rst b/stock_request_kanban/README.rst
index 472815c46..1a4eb5697 100644
--- a/stock_request_kanban/README.rst
+++ b/stock_request_kanban/README.rst
@@ -14,13 +14,13 @@ Stock Request kanban
: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/11.0/stock_request_kanban
+ :target: https://github.com/OCA/stock-logistics-warehouse/tree/12.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-11-0/stock-logistics-warehouse-11-0-stock_request_kanban
+ :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-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/11.0
+ :target: https://runbot.odoo-community.org/runbot/153/12.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -93,7 +93,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.
@@ -110,6 +110,7 @@ Contributors
~~~~~~~~~~~~
* Enric Tobella
+* Kitti Upariphutthiphong
Maintainers
~~~~~~~~~~~
@@ -124,6 +125,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub.
+This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/stock_request_kanban/__manifest__.py b/stock_request_kanban/__manifest__.py
index 0a3eb4813..162355651 100644
--- a/stock_request_kanban/__manifest__.py
+++ b/stock_request_kanban/__manifest__.py
@@ -3,7 +3,7 @@
{
'name': 'Stock Request kanban',
- 'version': '11.0.1.2.0',
+ 'version': '12.0.1.0.0',
'category': 'Reporting',
'website': 'https://github.com/OCA/stock-logistics-warehouse',
'author': 'Creu Blanca, Eficent, Odoo Community Association (OCA)',
diff --git a/stock_request_kanban/i18n/stock_request_kanban.pot b/stock_request_kanban/i18n/stock_request_kanban.pot
index 3f9cea7de..4c716bffa 100644
--- a/stock_request_kanban/i18n/stock_request_kanban.pot
+++ b/stock_request_kanban/i18n/stock_request_kanban.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 11.0\n"
+"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
@@ -14,16 +14,34 @@ msgstr ""
"Plural-Forms: \n"
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban_active
+#: 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
+msgid "Action Needed"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__active
msgid "Active"
msgstr ""
+#. module: stock_request_kanban
+#: 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
+msgid "Activities"
+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
+msgid "Activity State"
+msgstr ""
+
#. module: stock_request_kanban
#: model:ir.actions.act_window,name:stock_request_kanban.wizard_stock_inventory_kanban_action
#: model:ir.actions.act_window,name:stock_request_kanban.wizard_stock_request_kanban_action
#: model:ir.actions.act_window,name:stock_request_kanban.wizard_stock_request_order_kanban_action
-#: model:ir.ui.view,arch_db:stock_request_kanban.wizard_stock_inventory_kanban_form
-#: model:ir.ui.view,arch_db:stock_request_kanban.wizard_stock_request_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.wizard_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.wizard_stock_request_kanban_form
msgid "Add Kanban"
msgstr ""
@@ -34,10 +52,21 @@ msgid "Added kanban %s for product %s"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__allow_virtual_location
+msgid "Allow Virtual locations on Stock Requests"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
msgid "Archived"
msgstr ""
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_attachment_count
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_attachment_count
+msgid "Attachment Count"
+msgstr ""
+
#. module: stock_request_kanban
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_kanban_abstract.py:29
#, python-format
@@ -62,6 +91,14 @@ msgstr ""
msgid "Barcode %s is on the order"
msgstr ""
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban___barcode_scanned
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban___barcode_scanned
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract___barcode_scanned
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban___barcode_scanned
+msgid "Barcode Scanned"
+msgstr ""
+
#. module: stock_request_kanban
#: code:addons/stock_request_kanban/models/stock_request_kanban.py:39
#, python-format
@@ -69,7 +106,7 @@ msgid "CRC is not valid"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
msgid "Cancel"
msgstr ""
@@ -79,19 +116,19 @@ msgid "Cancelled"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.actions.act_window,help:stock_request_kanban.stock_inventory_kanban_action
+#: model_terms:ir.actions.act_window,help:stock_request_kanban.stock_inventory_kanban_action
msgid "Click to add a Stock Inventory Kanban."
msgstr ""
#. module: stock_request_kanban
-#: model:ir.actions.act_window,help:stock_request_kanban.stock_request_kanban_action
+#: model_terms:ir.actions.act_window,help:stock_request_kanban.stock_request_kanban_action
msgid "Click to add a Stock Request Kanban."
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
-#: model:ir.ui.view,arch_db:stock_request_kanban.wizard_stock_inventory_kanban_form
-#: model:ir.ui.view,arch_db:stock_request_kanban.wizard_stock_request_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.wizard_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.wizard_stock_request_kanban_form
msgid "Close"
msgstr ""
@@ -100,6 +137,11 @@ msgstr ""
msgid "Closed"
msgstr ""
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__company_id
+msgid "Company"
+msgstr ""
+
#. module: stock_request_kanban
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:32
#, python-format
@@ -107,30 +149,30 @@ msgid "Company must be the same"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_create_uid
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban_create_uid
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_create_uid
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_create_uid
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_create_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__create_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__create_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__create_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__create_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__create_uid
msgid "Created by"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_create_date
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban_create_date
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_create_date
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_create_date
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_create_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__create_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__create_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__create_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__create_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__create_date
msgid "Created on"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_display_name
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban_display_name
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_display_name
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract_display_name
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_display_name
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_display_name
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__display_name
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__display_name
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__display_name
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__display_name
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract__display_name
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__display_name
msgid "Display Name"
msgstr ""
@@ -140,7 +182,7 @@ msgid "Draft"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
msgid "Finish"
msgstr ""
@@ -150,20 +192,56 @@ msgid "Finished"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_follower_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_follower_ids
+msgid "Followers"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_channel_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_channel_ids
+msgid "Followers (Channels)"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_partner_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_partner_ids
+msgid "Followers (Partners)"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
msgid "Group By"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_id
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban_id_6246
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_id
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract_id
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_id
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract__id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__id
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."
+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_request_kanban__message_needaction
+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_request_kanban__message_has_error
+msgid "If checked, some messages have a delivery error."
+msgstr ""
+
#. module: stock_request_kanban
#: selection:stock.inventory.kanban,state:0
msgid "In progress"
@@ -175,8 +253,8 @@ msgid "Inventory"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_inventory_kanban_id
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__inventory_kanban_id
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
msgid "Inventory Kanban"
msgstr ""
@@ -186,46 +264,57 @@ msgid "Inventory for Kanban"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_kanban_ids
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban_id
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_kanban_id
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract_kanban_id
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_kanban_id
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_kanban_id
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_is_follower
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_is_follower
+msgid "Is Follower"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__kanban_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request__kanban_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__kanban_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__kanban_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract__kanban_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__kanban_id
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
msgid "Kanban"
msgstr ""
+#. module: stock_request_kanban
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_kanban_view
+msgid "Kanban Image"
+msgstr ""
+
#. module: stock_request_kanban
#: model:ir.ui.menu,name:stock_request_kanban.stock_request_kanban_menu
msgid "Kanban cards"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban___last_update
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban___last_update
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban___last_update
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban___last_update
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract___last_update
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban___last_update
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban____last_update
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban____last_update
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban____last_update
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban____last_update
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract____last_update
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban____last_update
msgid "Last Modified on"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_write_uid
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban_write_uid
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_write_uid
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_write_uid
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_write_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__write_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__write_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__write_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__write_uid
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__write_uid
msgid "Last Updated by"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_write_date
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban_write_date
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_write_date
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_write_date
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_write_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__write_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__write_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__write_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__write_date
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__write_date
msgid "Last Updated on"
msgstr ""
@@ -236,8 +325,9 @@ msgid "Lines only can be added on orders with draft state"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_location_ids
-#: model:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__location_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__location_id
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
msgid "Location"
msgstr ""
@@ -248,40 +338,129 @@ msgid "Location must be the same"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_main_attachment_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_main_attachment_id
+msgid "Main Attachment"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_has_error
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_has_error
+msgid "Message Delivery error"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_ids
+msgid "Messages"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
msgid "Missing"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_missing_kanban_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__missing_kanban_ids
msgid "Missing Kanban"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_count_missing_kanbans
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__count_missing_kanbans
msgid "Missing Kanbans"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_name
+#: 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 ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__name
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__name
msgid "Name"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_order_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_date_deadline
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_date_deadline
+msgid "Next Activity Deadline"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_summary
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_summary
+msgid "Next Activity Summary"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_type_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_type_id
+msgid "Next Activity Type"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_needaction_counter
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_needaction_counter
+msgid "Number of Actions"
+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"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_needaction_counter
+#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_needaction_counter
+msgid "Number of messages which requires an action"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_has_error_counter
+#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_has_error_counter
+msgid "Number of messages with delivery error"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__message_unread_counter
+#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__message_unread_counter
+msgid "Number of unread messages"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__order_id
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"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
msgid "Print missing"
msgstr ""
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__procurement_group_id
+msgid "Procurement Group"
+msgstr ""
+
#. module: stock_request_kanban
#: code:addons/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py:38
#, python-format
@@ -289,65 +468,120 @@ msgid "Procurement group must be the same"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_product_ids
+#: 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.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_uom_id
+msgid "Product Unit of Measure"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__product_ids
msgid "Products"
msgstr ""
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_uom_qty
+msgid "Quantity"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__product_qty
+msgid "Quantity in the default UoM of the product"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,help:stock_request_kanban.field_stock_request_kanban__product_uom_qty
+msgid "Quantity, specified in the unit of measure indicated in the request."
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__product_qty
+msgid "Real Quantity"
+msgstr ""
+
#. module: stock_request_kanban
#: model:ir.ui.menu,name:stock_request_kanban.menu_wizard_stock_request_kanban
msgid "Request from Kanban cards"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.stock_request_order_form
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__activity_user_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__activity_user_id
+msgid "Responsible User"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__route_id
+msgid "Route"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__route_ids
+msgid "Routes"
+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
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
msgid "Scanned"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_scanned_kanban_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__scanned_kanban_ids
msgid "Scanned Kanban"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
msgid "Set to draft"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
msgid "Start"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_state
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__state
msgid "State"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_status
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract_status
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_status
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_status
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__status
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__status
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract__status
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__status
msgid "Status"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban_status_state
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract_status_state
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_status_state
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_status_state
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_inventory_kanban__status_state
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__status_state
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_abstract__status_state
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__status_state
msgid "Status State"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_tree
+#: 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"
+"Overdue: Due date is already passed\n"
+"Today: Activity date is today\n"
+"Planned: Future activities."
+msgstr ""
+
+#. module: stock_request_kanban
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_form
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.view_stock_inventory_kanban_tree
msgid "Stock Inventories"
msgstr ""
@@ -358,14 +592,14 @@ msgstr ""
#. module: stock_request_kanban
#: model:ir.model,name:stock_request_kanban.model_stock_request
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban_stock_request_id
-#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban_stock_request_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_kanban__stock_request_id
+#: model:ir.model.fields,field_description:stock_request_kanban.field_wizard_stock_request_order_kanban__stock_request_id
msgid "Stock Request"
msgstr ""
#. module: stock_request_kanban
#: model:ir.model,name:stock_request_kanban.model_stock_request_kanban
-#: model: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_form
msgid "Stock Request Kanban"
msgstr ""
@@ -375,19 +609,46 @@ msgid "Stock Request Kanbans"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_request_kanban_form
-#: model:ir.ui.view,arch_db:stock_request_kanban.view_stock_request_kanban_tree
+#: 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
msgid "Stock Requests"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
msgid "Stock Requests Kanban"
msgstr ""
#. module: stock_request_kanban
-#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban_warehouse_ids
-#: model:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
+#: selection:stock.inventory.kanban,activity_state:0
+#: selection:stock.request.kanban,activity_state:0
+msgid "Today"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_unread
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_unread
+msgid "Unread Messages"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__message_unread_counter
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__message_unread_counter
+msgid "Unread Messages Counter"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,help:stock_request_kanban.field_wizard_stock_inventory_kanban___barcode_scanned
+#: model:ir.model.fields,help:stock_request_kanban.field_wizard_stock_request_kanban___barcode_scanned
+#: model:ir.model.fields,help:stock_request_kanban.field_wizard_stock_request_kanban_abstract___barcode_scanned
+#: model:ir.model.fields,help:stock_request_kanban.field_wizard_stock_request_order_kanban___barcode_scanned
+msgid "Value of the last barcode scanned."
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__warehouse_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__warehouse_id
+#: model_terms:ir.ui.view,arch_db:stock_request_kanban.stock_request_kanban_search
msgid "Warehouse"
msgstr ""
@@ -397,6 +658,18 @@ msgstr ""
msgid "Warehouse must be the same"
msgstr ""
+#. module: stock_request_kanban
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_inventory_kanban__website_message_ids
+#: model:ir.model.fields,field_description:stock_request_kanban.field_stock_request_kanban__website_message_ids
+msgid "Website Messages"
+msgstr ""
+
+#. module: stock_request_kanban
+#: model:ir.model.fields,help:stock_request_kanban.field_stock_inventory_kanban__website_message_ids
+#: 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"
diff --git a/stock_request_kanban/readme/CONTRIBUTORS.rst b/stock_request_kanban/readme/CONTRIBUTORS.rst
index 93ec993e0..ed1b3be4a 100644
--- a/stock_request_kanban/readme/CONTRIBUTORS.rst
+++ b/stock_request_kanban/readme/CONTRIBUTORS.rst
@@ -1 +1,2 @@
* Enric Tobella
+* Kitti Upariphutthiphong
diff --git a/stock_request_kanban/static/description/index.html b/stock_request_kanban/static/description/index.html
index f8c6feb48..ffa2995d3 100644
--- a/stock_request_kanban/static/description/index.html
+++ b/stock_request_kanban/static/description/index.html
@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
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.
@@ -448,7 +448,7 @@ for kanbans later.
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.
@@ -464,6 +464,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
@@ -473,7 +474,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-
This module is part of the OCA/stock-logistics-warehouse project on GitHub.
+
This module is part of the OCA/stock-logistics-warehouse project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute .
diff --git a/stock_request_kanban/tests/test_kanban.py b/stock_request_kanban/tests/test_kanban.py
index 4a44eac64..5c28639f0 100644
--- a/stock_request_kanban/tests/test_kanban.py
+++ b/stock_request_kanban/tests/test_kanban.py
@@ -12,7 +12,7 @@ class TestKanban(TestBaseKanban):
super().setUp()
self.main_company = self.env.ref('base.main_company')
self.warehouse = self.env.ref('stock.warehouse0')
- self.categ_unit = self.env.ref('product.product_uom_categ_unit')
+ self.categ_unit = self.env.ref('uom.product_uom_categ_unit')
# common data
self.company_2 = self.env['res.company'].create({
@@ -42,19 +42,19 @@ class TestKanban(TestBaseKanban):
'route_ids': [(4, self.route.id)],
'company_id': False,
})
- self.uom_dozen = self.env['product.uom'].create({
+ self.uom_dozen = self.env['uom.uom'].create({
'name': 'Test-DozenA',
'category_id': self.categ_unit.id,
'factor_inv': 12,
'uom_type': 'bigger',
'rounding': 0.001})
- self.env['procurement.rule'].create({
+ self.env['stock.rule'].create({
'name': 'Transfer',
'route_id': self.route.id,
'location_src_id': self.ressuply_loc.id,
'location_id': self.warehouse.lot_stock_id.id,
- 'action': 'move',
+ 'action': 'pull_push',
'picking_type_id': self.warehouse.int_type_id.id,
'procure_method': 'make_to_stock',
'warehouse_id': self.warehouse.id,
diff --git a/stock_request_kanban/views/stock_inventory_kanban_views.xml b/stock_request_kanban/views/stock_inventory_kanban_views.xml
index 879134b44..6833dbc1c 100644
--- a/stock_request_kanban/views/stock_inventory_kanban_views.xml
+++ b/stock_request_kanban/views/stock_inventory_kanban_views.xml
@@ -50,7 +50,7 @@
/>
-
+
diff --git a/stock_request_kanban/views/stock_request_kanban_views.xml b/stock_request_kanban/views/stock_request_kanban_views.xml
index 9fb53700b..ca670c931 100644
--- a/stock_request_kanban/views/stock_request_kanban_views.xml
+++ b/stock_request_kanban/views/stock_request_kanban_views.xml
@@ -34,8 +34,8 @@
-
-
+
+
@@ -50,7 +50,7 @@
-
+
@@ -109,7 +109,7 @@
-
+
diff --git a/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py b/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py
index 0c0416d17..27611de21 100644
--- a/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py
+++ b/stock_request_kanban/wizard/wizard_stock_request_order_kanban.py
@@ -45,7 +45,8 @@ class WizardStockRequestOrderKanban(models.TransientModel):
def stock_request_kanban_values(self):
res = super().stock_request_kanban_values()
res['order_id'] = self.order_id.id,
- res['expected_date'] = self.order_id.expected_date,
+ res['expected_date'] = \
+ fields.Datetime.to_string(self.order_id.expected_date),
return res
def stock_request_ending(self):