odoo-addon-shopfloor-mobile 16.0.1.0.0.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. odoo/addons/shopfloor_mobile/README.rst +215 -0
  2. odoo/addons/shopfloor_mobile/__init__.py +0 -0
  3. odoo/addons/shopfloor_mobile/__manifest__.py +17 -0
  4. odoo/addons/shopfloor_mobile/i18n/es_AR.po +39 -0
  5. odoo/addons/shopfloor_mobile/i18n/pt_BR.po +14 -0
  6. odoo/addons/shopfloor_mobile/i18n/shopfloor_mobile.pot +13 -0
  7. odoo/addons/shopfloor_mobile/readme/CONTRIBUTORS.rst +12 -0
  8. odoo/addons/shopfloor_mobile/readme/CREDITS.rst +5 -0
  9. odoo/addons/shopfloor_mobile/readme/DESCRIPTION.rst +31 -0
  10. odoo/addons/shopfloor_mobile/readme/HISTORY.rst +4 -0
  11. odoo/addons/shopfloor_mobile/readme/ROADMAP.rst +29 -0
  12. odoo/addons/shopfloor_mobile/readme/USAGE.rst +34 -0
  13. odoo/addons/shopfloor_mobile/static/description/icon.png +0 -0
  14. odoo/addons/shopfloor_mobile/static/description/index.html +555 -0
  15. odoo/addons/shopfloor_mobile/static/wms/.gitignore +21 -0
  16. odoo/addons/shopfloor_mobile/static/wms/src/components/batch_picking_detail.js +69 -0
  17. odoo/addons/shopfloor_mobile/static/wms/src/components/batch_picking_line_detail.js +141 -0
  18. odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_location.js +66 -0
  19. odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_lot.js +91 -0
  20. odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_operation.js +50 -0
  21. odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_package.js +73 -0
  22. odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_picking.js +40 -0
  23. odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_product.js +70 -0
  24. odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_transfer.js +128 -0
  25. odoo/addons/shopfloor_mobile/static/wms/src/components/forms/form_edit_stock_picking.js +39 -0
  26. odoo/addons/shopfloor_mobile/static/wms/src/components/manual_select_color.js +24 -0
  27. odoo/addons/shopfloor_mobile/static/wms/src/components/misc.js +201 -0
  28. odoo/addons/shopfloor_mobile/static/wms/src/components/packaging-qty-picker.js +329 -0
  29. odoo/addons/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/mixins.js +130 -0
  30. odoo/addons/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_select.js +135 -0
  31. odoo/addons/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_summary.js +212 -0
  32. odoo/addons/shopfloor_mobile/static/wms/src/css/main.css +73 -0
  33. odoo/addons/shopfloor_mobile/static/wms/src/css/normalize.css +351 -0
  34. odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.checkout.js +257 -0
  35. odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.cluster_picking.js +188 -0
  36. odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.delivery.js +79 -0
  37. odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.location_content_transfer.js +179 -0
  38. odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.scan_anything.js +124 -0
  39. odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.single_pack_transfer.js +83 -0
  40. odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.zone_picking.js +277 -0
  41. odoo/addons/shopfloor_mobile/static/wms/src/i18n/add_translations_to_registry.js +4 -0
  42. odoo/addons/shopfloor_mobile/static/wms/src/i18n/en.json +31 -0
  43. odoo/addons/shopfloor_mobile/static/wms/src/i18n/fr.json +27 -0
  44. odoo/addons/shopfloor_mobile/static/wms/src/scenario/checkout.js +390 -0
  45. odoo/addons/shopfloor_mobile/static/wms/src/scenario/checkout_states.js +380 -0
  46. odoo/addons/shopfloor_mobile/static/wms/src/scenario/cluster_picking.js +481 -0
  47. odoo/addons/shopfloor_mobile/static/wms/src/scenario/delivery.js +353 -0
  48. odoo/addons/shopfloor_mobile/static/wms/src/scenario/location_content_transfer.js +388 -0
  49. odoo/addons/shopfloor_mobile/static/wms/src/scenario/single_pack_transfer.js +132 -0
  50. odoo/addons/shopfloor_mobile/static/wms/src/scenario/zone_picking.js +838 -0
  51. odoo/addons/shopfloor_mobile/static/wms/src/screen.js +36 -0
  52. odoo/addons/shopfloor_mobile/static/wms/src/wms_utils.js +318 -0
  53. odoo/addons/shopfloor_mobile/templates/assets.xml +180 -0
  54. odoo_addon_shopfloor_mobile-16.0.1.0.0.6.dist-info/METADATA +235 -0
  55. odoo_addon_shopfloor_mobile-16.0.1.0.0.6.dist-info/RECORD +57 -0
  56. odoo_addon_shopfloor_mobile-16.0.1.0.0.6.dist-info/WHEEL +5 -0
  57. odoo_addon_shopfloor_mobile-16.0.1.0.0.6.dist-info/top_level.txt +1 -0
@@ -0,0 +1,215 @@
1
+ ================
2
+ Shopfloor mobile
3
+ ================
4
+
5
+ ..
6
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7
+ !! This file is generated by oca-gen-addon-readme !!
8
+ !! changes will be overwritten. !!
9
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
+ !! source digest: sha256:cd664d31e2a374f629474683de47781fd6a0463a2939ab5d86ad0ab5b8f4e0d5
11
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+
13
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14
+ :target: https://odoo-community.org/page/development-status
15
+ :alt: Beta
16
+ .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18
+ :alt: License: AGPL-3
19
+ .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwms-lightgray.png?logo=github
20
+ :target: https://github.com/OCA/wms/tree/16.0/shopfloor_mobile
21
+ :alt: OCA/wms
22
+ .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23
+ :target: https://translation.odoo-community.org/projects/wms-16-0/wms-16-0-shopfloor_mobile
24
+ :alt: Translate me on Weblate
25
+ .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/wms&target_branch=16.0
27
+ :alt: Try me on Runboat
28
+
29
+ |badge1| |badge2| |badge3| |badge4| |badge5|
30
+
31
+ Frontend for Shopfloor app.
32
+
33
+ The work is organized in scenario.
34
+ A scenario represents a process in the warehouse (eg: receive, deliver).
35
+ The app allows to start each process through the main menu.
36
+
37
+ Each scenario is linked to a specific menu item which can be configured in the backend.
38
+ Each scenario drives you through the work to do.
39
+
40
+
41
+ Tech details
42
+ ~~~~~~~~~~~~
43
+
44
+ * This frontend is built on top of `VueJS <vuejs.org>`_ and `VuetifyJS <vuetifyjs.com/>`_
45
+ and relies on `shopfloor` module that exposes REST API in Odoo
46
+ (based in turn on `base_rest <https://github.com/OCA/rest-framework/tree/13.0/base_rest>`_).
47
+
48
+ * The whole business logic comes from `shopfloor` module,
49
+ this module takes care of providing a nice and reactive UI to work with.
50
+
51
+ * No Odoo JS is used, no assets machinery used.
52
+
53
+ Static assets are loaded straight, served by a specific controller.
54
+ This app is a Single Page App, hence resources are loaded only once.
55
+
56
+ The version of the module appended to the URL of each resources
57
+ makes sure it's not cached when the version changes.
58
+
59
+ * When developing you can use a demo mode which allows to define interactive scenario
60
+ with pure JS demo data, without interacting with Odoo.
61
+ Nothing to deal with Odoo demo data.
62
+
63
+ **Table of contents**
64
+
65
+ .. contents::
66
+ :local:
67
+
68
+ Usage
69
+ =====
70
+
71
+ Pre-requisites
72
+ ~~~~~~~~~~~~~~
73
+
74
+ * Your Odoo instance is accessible via mobile device
75
+ * You have an API Key configured
76
+
77
+ Start the app
78
+ ~~~~~~~~~~~~~
79
+
80
+ * Go to "Inventory -> Configuration -> Shopfloor -> Shopfloor App"
81
+ * In the login screen fill in your API key
82
+ * Hit "Login"
83
+
84
+ Select a profile
85
+ ~~~~~~~~~~~~~~~~
86
+
87
+ Several profiles can be configured in the backend,
88
+ you must choose one before starting.
89
+
90
+ * Tap on "Configure profile"
91
+ * Select a profile
92
+
93
+ This will load all available menu items for the selected profile.
94
+
95
+ Change language
96
+ ~~~~~~~~~~~~~~~
97
+
98
+ * Go to "Settings -> Language"
99
+ * Select a language
100
+
101
+ Customization
102
+ ~~~~~~~~~~~~~
103
+
104
+ Please refer to `shopfloor_mobile_custom_example`.
105
+
106
+ Known issues / Roadmap
107
+ ======================
108
+
109
+ * Split module by scenario
110
+ * Improve documentation and demo data
111
+ * Document each component
112
+ * Document demo mode
113
+ * Find / create a nice icon
114
+ * Finish base translations (move all UI strings to translatable terms)
115
+ * Use SCSS
116
+ * Refactor states definition
117
+
118
+ States are now part of the scenario data. They should be specific objects with their own class.
119
+ They should also provide all the actions that should be displayed w/ their handlers when needed.
120
+ Actions can be popup actions or buttons at the bottom of the screen.
121
+ The tricky part here could be how to register this states for the given component.
122
+ Today states have access to the full object of the scenario component as they are part of it.
123
+ `_get_state_spec` could probably lookup for registered states
124
+ (eg: when you register a component in the registry you should provide states as well).
125
+ When we'll have states in this fashion we should also consider if they should provide their own template.
126
+ This way the component template will hold only the generic bits of the scenario.
127
+
128
+ * Back buttons should be smarter
129
+
130
+ In some cases getting back using history is fine but very often this could lead to outdated data display.
131
+ To mitigate this in particular scenario's steps, custom handlers for the back action have been implemented.
132
+ For instance, in cluster_picking when you hit back on manual selection it forces the state to go to start and reload.
133
+ For starting we should provide `on_back` property to all states where we want to display it
134
+ (no more specific check on the state to display this button).
135
+ This part is also related to "Refactor states definition".
136
+
137
+ * Go through `_.forEach` and similar calls to replace them w/ vanilla JS (eg: `.map()`)
138
+
139
+ Changelog
140
+ =========
141
+
142
+ 13.0.1.0.0
143
+ ~~~~~~~~~~
144
+
145
+ First official version.
146
+
147
+ Bug Tracker
148
+ ===========
149
+
150
+ Bugs are tracked on `GitHub Issues <https://github.com/OCA/wms/issues>`_.
151
+ In case of trouble, please check there if your issue has already been reported.
152
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
153
+ `feedback <https://github.com/OCA/wms/issues/new?body=module:%20shopfloor_mobile%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
154
+
155
+ Do not contact contributors directly about support or help with technical issues.
156
+
157
+ Credits
158
+ =======
159
+
160
+ Authors
161
+ ~~~~~~~
162
+
163
+ * Camptocamp
164
+ * BCIM
165
+ * Akretion
166
+
167
+ Contributors
168
+ ~~~~~~~~~~~~
169
+
170
+ * Simone Orsi <simahawk@gmail.com>
171
+ * Thierry Ducrest <thierry.ducrest@camptocamp.com>
172
+ * Guewen Baconnier <guewen.baconnier@camptocamp.com>
173
+ * Raphaël Reverdy <raphael.reverdy@akretion.com>
174
+ * Sébastien Beau <sebastien.beau@akretion.com>
175
+ * Jacques-Etienne Baudoux <je@bcim.be>
176
+
177
+ Design
178
+ ~~~~~~
179
+
180
+ * Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com>
181
+ * Jacques-Etienne Baudoux <je@bcim.be>
182
+
183
+ Other credits
184
+ ~~~~~~~~~~~~~
185
+
186
+ **Financial support**
187
+
188
+ * Cosanum
189
+ * Camptocamp R&D
190
+ * Akretion R&D
191
+
192
+ Maintainers
193
+ ~~~~~~~~~~~
194
+
195
+ This module is maintained by the OCA.
196
+
197
+ .. image:: https://odoo-community.org/logo.png
198
+ :alt: Odoo Community Association
199
+ :target: https://odoo-community.org
200
+
201
+ OCA, or the Odoo Community Association, is a nonprofit organization whose
202
+ mission is to support the collaborative development of Odoo features and
203
+ promote its widespread use.
204
+
205
+ .. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px
206
+ :target: https://github.com/simahawk
207
+ :alt: simahawk
208
+
209
+ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
210
+
211
+ |maintainer-simahawk|
212
+
213
+ This module is part of the `OCA/wms <https://github.com/OCA/wms/tree/16.0/shopfloor_mobile>`_ project on GitHub.
214
+
215
+ You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
File without changes
@@ -0,0 +1,17 @@
1
+ # Copyright 2020 Camptocamp SA (http://www.camptocamp.com)
2
+ # Copyright 2020 BCIM (http://www.bcim.be)
3
+ # Copyright 2020 Akretion (http://www.akretion.com)
4
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5
+ {
6
+ "name": "Shopfloor mobile",
7
+ "summary": "Mobile frontend for WMS Shopfloor app",
8
+ "version": "16.0.1.0.0",
9
+ "depends": ["shopfloor", "shopfloor_mobile_base"],
10
+ "author": "Camptocamp, BCIM, Akretion, Odoo Community Association (OCA)",
11
+ "maintainers": ["simahawk"],
12
+ "website": "https://github.com/OCA/wms",
13
+ "category": "Warehouse Management",
14
+ "license": "AGPL-3",
15
+ "installable": True,
16
+ "data": ["templates/assets.xml"],
17
+ }
@@ -0,0 +1,39 @@
1
+ # Translation of Odoo Server.
2
+ # This file contains the translation of the following modules:
3
+ # * shopfloor_mobile
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Odoo Server 13.0\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "PO-Revision-Date: 2021-02-06 22:45+0000\n"
10
+ "Last-Translator: Ignacio Buioli <ibuioli@gmail.com>\n"
11
+ "Language-Team: none\n"
12
+ "Language: es_AR\n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: \n"
16
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
+ "X-Generator: Weblate 4.3.2\n"
18
+
19
+ #~ msgid ""
20
+ #~ "<strong>\n"
21
+ #~ " We're sorry but wms doesn't work properly without JavaScript "
22
+ #~ "enabled.\n"
23
+ #~ " Please enable it to continue.\n"
24
+ #~ " </strong>"
25
+ #~ msgstr ""
26
+ #~ "<strong>\n"
27
+ #~ " Lo sentimos, pero wms no funciona correctamente sin JavaScript "
28
+ #~ "habilitado.\n"
29
+ #~ " Por favor, activelo para continuar.\n"
30
+ #~ " </strong>"
31
+
32
+ #~ msgid "Shopfloor WMS app"
33
+ #~ msgstr "Aplicación WMS del Taller"
34
+
35
+ #~ msgid "Shopfloor mobile app"
36
+ #~ msgstr "Aplicación móvil del Taller"
37
+
38
+ #~ msgid "Shopfloor mobile app DEMO"
39
+ #~ msgstr "Aplicación móvil del Taller DEMO"
@@ -0,0 +1,14 @@
1
+ # Translation of Odoo Server.
2
+ # This file contains the translation of the following modules:
3
+ #
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: Odoo Server 14.0\n"
7
+ "Report-Msgid-Bugs-To: \n"
8
+ "Last-Translator: Automatically generated\n"
9
+ "Language-Team: none\n"
10
+ "Language: pt_BR\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: \n"
14
+ "Plural-Forms: nplurals=2; plural=n > 1;\n"
@@ -0,0 +1,13 @@
1
+ # Translation of Odoo Server.
2
+ # This file contains the translation of the following modules:
3
+ #
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: Odoo Server 16.0\n"
7
+ "Report-Msgid-Bugs-To: \n"
8
+ "Last-Translator: \n"
9
+ "Language-Team: \n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: \n"
13
+ "Plural-Forms: \n"
@@ -0,0 +1,12 @@
1
+ * Simone Orsi <simahawk@gmail.com>
2
+ * Thierry Ducrest <thierry.ducrest@camptocamp.com>
3
+ * Guewen Baconnier <guewen.baconnier@camptocamp.com>
4
+ * Raphaël Reverdy <raphael.reverdy@akretion.com>
5
+ * Sébastien Beau <sebastien.beau@akretion.com>
6
+ * Jacques-Etienne Baudoux <je@bcim.be>
7
+
8
+ Design
9
+ ~~~~~~
10
+
11
+ * Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com>
12
+ * Jacques-Etienne Baudoux <je@bcim.be>
@@ -0,0 +1,5 @@
1
+ **Financial support**
2
+
3
+ * Cosanum
4
+ * Camptocamp R&D
5
+ * Akretion R&D
@@ -0,0 +1,31 @@
1
+ Frontend for Shopfloor app.
2
+
3
+ The work is organized in scenario.
4
+ A scenario represents a process in the warehouse (eg: receive, deliver).
5
+ The app allows to start each process through the main menu.
6
+
7
+ Each scenario is linked to a specific menu item which can be configured in the backend.
8
+ Each scenario drives you through the work to do.
9
+
10
+
11
+ Tech details
12
+ ~~~~~~~~~~~~
13
+
14
+ * This frontend is built on top of `VueJS <vuejs.org>`_ and `VuetifyJS <vuetifyjs.com/>`_
15
+ and relies on `shopfloor` module that exposes REST API in Odoo
16
+ (based in turn on `base_rest <https://github.com/OCA/rest-framework/tree/13.0/base_rest>`_).
17
+
18
+ * The whole business logic comes from `shopfloor` module,
19
+ this module takes care of providing a nice and reactive UI to work with.
20
+
21
+ * No Odoo JS is used, no assets machinery used.
22
+
23
+ Static assets are loaded straight, served by a specific controller.
24
+ This app is a Single Page App, hence resources are loaded only once.
25
+
26
+ The version of the module appended to the URL of each resources
27
+ makes sure it's not cached when the version changes.
28
+
29
+ * When developing you can use a demo mode which allows to define interactive scenario
30
+ with pure JS demo data, without interacting with Odoo.
31
+ Nothing to deal with Odoo demo data.
@@ -0,0 +1,4 @@
1
+ 13.0.1.0.0
2
+ ~~~~~~~~~~
3
+
4
+ First official version.
@@ -0,0 +1,29 @@
1
+ * Split module by scenario
2
+ * Improve documentation and demo data
3
+ * Document each component
4
+ * Document demo mode
5
+ * Find / create a nice icon
6
+ * Finish base translations (move all UI strings to translatable terms)
7
+ * Use SCSS
8
+ * Refactor states definition
9
+
10
+ States are now part of the scenario data. They should be specific objects with their own class.
11
+ They should also provide all the actions that should be displayed w/ their handlers when needed.
12
+ Actions can be popup actions or buttons at the bottom of the screen.
13
+ The tricky part here could be how to register this states for the given component.
14
+ Today states have access to the full object of the scenario component as they are part of it.
15
+ `_get_state_spec` could probably lookup for registered states
16
+ (eg: when you register a component in the registry you should provide states as well).
17
+ When we'll have states in this fashion we should also consider if they should provide their own template.
18
+ This way the component template will hold only the generic bits of the scenario.
19
+
20
+ * Back buttons should be smarter
21
+
22
+ In some cases getting back using history is fine but very often this could lead to outdated data display.
23
+ To mitigate this in particular scenario's steps, custom handlers for the back action have been implemented.
24
+ For instance, in cluster_picking when you hit back on manual selection it forces the state to go to start and reload.
25
+ For starting we should provide `on_back` property to all states where we want to display it
26
+ (no more specific check on the state to display this button).
27
+ This part is also related to "Refactor states definition".
28
+
29
+ * Go through `_.forEach` and similar calls to replace them w/ vanilla JS (eg: `.map()`)
@@ -0,0 +1,34 @@
1
+ Pre-requisites
2
+ ~~~~~~~~~~~~~~
3
+
4
+ * Your Odoo instance is accessible via mobile device
5
+ * You have an API Key configured
6
+
7
+ Start the app
8
+ ~~~~~~~~~~~~~
9
+
10
+ * Go to "Inventory -> Configuration -> Shopfloor -> Shopfloor App"
11
+ * In the login screen fill in your API key
12
+ * Hit "Login"
13
+
14
+ Select a profile
15
+ ~~~~~~~~~~~~~~~~
16
+
17
+ Several profiles can be configured in the backend,
18
+ you must choose one before starting.
19
+
20
+ * Tap on "Configure profile"
21
+ * Select a profile
22
+
23
+ This will load all available menu items for the selected profile.
24
+
25
+ Change language
26
+ ~~~~~~~~~~~~~~~
27
+
28
+ * Go to "Settings -> Language"
29
+ * Select a language
30
+
31
+ Customization
32
+ ~~~~~~~~~~~~~
33
+
34
+ Please refer to `shopfloor_mobile_custom_example`.