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