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.
- odoo/addons/shopfloor_mobile/README.rst +215 -0
- odoo/addons/shopfloor_mobile/__init__.py +0 -0
- odoo/addons/shopfloor_mobile/__manifest__.py +17 -0
- odoo/addons/shopfloor_mobile/i18n/es_AR.po +39 -0
- odoo/addons/shopfloor_mobile/i18n/pt_BR.po +14 -0
- odoo/addons/shopfloor_mobile/i18n/shopfloor_mobile.pot +13 -0
- odoo/addons/shopfloor_mobile/readme/CONTRIBUTORS.rst +12 -0
- odoo/addons/shopfloor_mobile/readme/CREDITS.rst +5 -0
- odoo/addons/shopfloor_mobile/readme/DESCRIPTION.rst +31 -0
- odoo/addons/shopfloor_mobile/readme/HISTORY.rst +4 -0
- odoo/addons/shopfloor_mobile/readme/ROADMAP.rst +29 -0
- odoo/addons/shopfloor_mobile/readme/USAGE.rst +34 -0
- odoo/addons/shopfloor_mobile/static/description/icon.png +0 -0
- odoo/addons/shopfloor_mobile/static/description/index.html +555 -0
- odoo/addons/shopfloor_mobile/static/wms/.gitignore +21 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/batch_picking_detail.js +69 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/batch_picking_line_detail.js +141 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_location.js +66 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_lot.js +91 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_operation.js +50 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_package.js +73 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_picking.js +40 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_product.js +70 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_transfer.js +128 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/forms/form_edit_stock_picking.js +39 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/manual_select_color.js +24 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/misc.js +201 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/packaging-qty-picker.js +329 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/mixins.js +130 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_select.js +135 -0
- odoo/addons/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_summary.js +212 -0
- odoo/addons/shopfloor_mobile/static/wms/src/css/main.css +73 -0
- odoo/addons/shopfloor_mobile/static/wms/src/css/normalize.css +351 -0
- odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.checkout.js +257 -0
- odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.cluster_picking.js +188 -0
- odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.delivery.js +79 -0
- odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.location_content_transfer.js +179 -0
- odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.scan_anything.js +124 -0
- odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.single_pack_transfer.js +83 -0
- odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.zone_picking.js +277 -0
- odoo/addons/shopfloor_mobile/static/wms/src/i18n/add_translations_to_registry.js +4 -0
- odoo/addons/shopfloor_mobile/static/wms/src/i18n/en.json +31 -0
- odoo/addons/shopfloor_mobile/static/wms/src/i18n/fr.json +27 -0
- odoo/addons/shopfloor_mobile/static/wms/src/scenario/checkout.js +390 -0
- odoo/addons/shopfloor_mobile/static/wms/src/scenario/checkout_states.js +380 -0
- odoo/addons/shopfloor_mobile/static/wms/src/scenario/cluster_picking.js +481 -0
- odoo/addons/shopfloor_mobile/static/wms/src/scenario/delivery.js +353 -0
- odoo/addons/shopfloor_mobile/static/wms/src/scenario/location_content_transfer.js +388 -0
- odoo/addons/shopfloor_mobile/static/wms/src/scenario/single_pack_transfer.js +132 -0
- odoo/addons/shopfloor_mobile/static/wms/src/scenario/zone_picking.js +838 -0
- odoo/addons/shopfloor_mobile/static/wms/src/screen.js +36 -0
- odoo/addons/shopfloor_mobile/static/wms/src/wms_utils.js +318 -0
- odoo/addons/shopfloor_mobile/templates/assets.xml +180 -0
- odoo_addon_shopfloor_mobile-16.0.1.0.0.6.dist-info/METADATA +235 -0
- odoo_addon_shopfloor_mobile-16.0.1.0.0.6.dist-info/RECORD +57 -0
- odoo_addon_shopfloor_mobile-16.0.1.0.0.6.dist-info/WHEEL +5 -0
- odoo_addon_shopfloor_mobile-16.0.1.0.0.6.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,555 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
5
|
+
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
|
6
|
+
<title>Shopfloor mobile</title>
|
|
7
|
+
<style type="text/css">
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
:Author: David Goodger (goodger@python.org)
|
|
11
|
+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
|
12
|
+
:Copyright: This stylesheet has been placed in the public domain.
|
|
13
|
+
|
|
14
|
+
Default cascading style sheet for the HTML output of Docutils.
|
|
15
|
+
Despite the name, some widely supported CSS2 features are used.
|
|
16
|
+
|
|
17
|
+
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
|
18
|
+
customize this style sheet.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/* used to remove borders from tables and images */
|
|
22
|
+
.borderless, table.borderless td, table.borderless th {
|
|
23
|
+
border: 0 }
|
|
24
|
+
|
|
25
|
+
table.borderless td, table.borderless th {
|
|
26
|
+
/* Override padding for "table.docutils td" with "! important".
|
|
27
|
+
The right padding separates the table cells. */
|
|
28
|
+
padding: 0 0.5em 0 0 ! important }
|
|
29
|
+
|
|
30
|
+
.first {
|
|
31
|
+
/* Override more specific margin styles with "! important". */
|
|
32
|
+
margin-top: 0 ! important }
|
|
33
|
+
|
|
34
|
+
.last, .with-subtitle {
|
|
35
|
+
margin-bottom: 0 ! important }
|
|
36
|
+
|
|
37
|
+
.hidden {
|
|
38
|
+
display: none }
|
|
39
|
+
|
|
40
|
+
.subscript {
|
|
41
|
+
vertical-align: sub;
|
|
42
|
+
font-size: smaller }
|
|
43
|
+
|
|
44
|
+
.superscript {
|
|
45
|
+
vertical-align: super;
|
|
46
|
+
font-size: smaller }
|
|
47
|
+
|
|
48
|
+
a.toc-backref {
|
|
49
|
+
text-decoration: none ;
|
|
50
|
+
color: black }
|
|
51
|
+
|
|
52
|
+
blockquote.epigraph {
|
|
53
|
+
margin: 2em 5em ; }
|
|
54
|
+
|
|
55
|
+
dl.docutils dd {
|
|
56
|
+
margin-bottom: 0.5em }
|
|
57
|
+
|
|
58
|
+
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
|
63
|
+
dl.docutils dt {
|
|
64
|
+
font-weight: bold }
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
div.abstract {
|
|
68
|
+
margin: 2em 5em }
|
|
69
|
+
|
|
70
|
+
div.abstract p.topic-title {
|
|
71
|
+
font-weight: bold ;
|
|
72
|
+
text-align: center }
|
|
73
|
+
|
|
74
|
+
div.admonition, div.attention, div.caution, div.danger, div.error,
|
|
75
|
+
div.hint, div.important, div.note, div.tip, div.warning {
|
|
76
|
+
margin: 2em ;
|
|
77
|
+
border: medium outset ;
|
|
78
|
+
padding: 1em }
|
|
79
|
+
|
|
80
|
+
div.admonition p.admonition-title, div.hint p.admonition-title,
|
|
81
|
+
div.important p.admonition-title, div.note p.admonition-title,
|
|
82
|
+
div.tip p.admonition-title {
|
|
83
|
+
font-weight: bold ;
|
|
84
|
+
font-family: sans-serif }
|
|
85
|
+
|
|
86
|
+
div.attention p.admonition-title, div.caution p.admonition-title,
|
|
87
|
+
div.danger p.admonition-title, div.error p.admonition-title,
|
|
88
|
+
div.warning p.admonition-title, .code .error {
|
|
89
|
+
color: red ;
|
|
90
|
+
font-weight: bold ;
|
|
91
|
+
font-family: sans-serif }
|
|
92
|
+
|
|
93
|
+
/* Uncomment (and remove this text!) to get reduced vertical space in
|
|
94
|
+
compound paragraphs.
|
|
95
|
+
div.compound .compound-first, div.compound .compound-middle {
|
|
96
|
+
margin-bottom: 0.5em }
|
|
97
|
+
|
|
98
|
+
div.compound .compound-last, div.compound .compound-middle {
|
|
99
|
+
margin-top: 0.5em }
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
div.dedication {
|
|
103
|
+
margin: 2em 5em ;
|
|
104
|
+
text-align: center ;
|
|
105
|
+
font-style: italic }
|
|
106
|
+
|
|
107
|
+
div.dedication p.topic-title {
|
|
108
|
+
font-weight: bold ;
|
|
109
|
+
font-style: normal }
|
|
110
|
+
|
|
111
|
+
div.figure {
|
|
112
|
+
margin-left: 2em ;
|
|
113
|
+
margin-right: 2em }
|
|
114
|
+
|
|
115
|
+
div.footer, div.header {
|
|
116
|
+
clear: both;
|
|
117
|
+
font-size: smaller }
|
|
118
|
+
|
|
119
|
+
div.line-block {
|
|
120
|
+
display: block ;
|
|
121
|
+
margin-top: 1em ;
|
|
122
|
+
margin-bottom: 1em }
|
|
123
|
+
|
|
124
|
+
div.line-block div.line-block {
|
|
125
|
+
margin-top: 0 ;
|
|
126
|
+
margin-bottom: 0 ;
|
|
127
|
+
margin-left: 1.5em }
|
|
128
|
+
|
|
129
|
+
div.sidebar {
|
|
130
|
+
margin: 0 0 0.5em 1em ;
|
|
131
|
+
border: medium outset ;
|
|
132
|
+
padding: 1em ;
|
|
133
|
+
background-color: #ffffee ;
|
|
134
|
+
width: 40% ;
|
|
135
|
+
float: right ;
|
|
136
|
+
clear: right }
|
|
137
|
+
|
|
138
|
+
div.sidebar p.rubric {
|
|
139
|
+
font-family: sans-serif ;
|
|
140
|
+
font-size: medium }
|
|
141
|
+
|
|
142
|
+
div.system-messages {
|
|
143
|
+
margin: 5em }
|
|
144
|
+
|
|
145
|
+
div.system-messages h1 {
|
|
146
|
+
color: red }
|
|
147
|
+
|
|
148
|
+
div.system-message {
|
|
149
|
+
border: medium outset ;
|
|
150
|
+
padding: 1em }
|
|
151
|
+
|
|
152
|
+
div.system-message p.system-message-title {
|
|
153
|
+
color: red ;
|
|
154
|
+
font-weight: bold }
|
|
155
|
+
|
|
156
|
+
div.topic {
|
|
157
|
+
margin: 2em }
|
|
158
|
+
|
|
159
|
+
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
|
160
|
+
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
|
161
|
+
margin-top: 0.4em }
|
|
162
|
+
|
|
163
|
+
h1.title {
|
|
164
|
+
text-align: center }
|
|
165
|
+
|
|
166
|
+
h2.subtitle {
|
|
167
|
+
text-align: center }
|
|
168
|
+
|
|
169
|
+
hr.docutils {
|
|
170
|
+
width: 75% }
|
|
171
|
+
|
|
172
|
+
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
|
173
|
+
clear: left ;
|
|
174
|
+
float: left ;
|
|
175
|
+
margin-right: 1em }
|
|
176
|
+
|
|
177
|
+
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
|
178
|
+
clear: right ;
|
|
179
|
+
float: right ;
|
|
180
|
+
margin-left: 1em }
|
|
181
|
+
|
|
182
|
+
img.align-center, .figure.align-center, object.align-center {
|
|
183
|
+
display: block;
|
|
184
|
+
margin-left: auto;
|
|
185
|
+
margin-right: auto;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
table.align-center {
|
|
189
|
+
margin-left: auto;
|
|
190
|
+
margin-right: auto;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.align-left {
|
|
194
|
+
text-align: left }
|
|
195
|
+
|
|
196
|
+
.align-center {
|
|
197
|
+
clear: both ;
|
|
198
|
+
text-align: center }
|
|
199
|
+
|
|
200
|
+
.align-right {
|
|
201
|
+
text-align: right }
|
|
202
|
+
|
|
203
|
+
/* reset inner alignment in figures */
|
|
204
|
+
div.align-right {
|
|
205
|
+
text-align: inherit }
|
|
206
|
+
|
|
207
|
+
/* div.align-center * { */
|
|
208
|
+
/* text-align: left } */
|
|
209
|
+
|
|
210
|
+
.align-top {
|
|
211
|
+
vertical-align: top }
|
|
212
|
+
|
|
213
|
+
.align-middle {
|
|
214
|
+
vertical-align: middle }
|
|
215
|
+
|
|
216
|
+
.align-bottom {
|
|
217
|
+
vertical-align: bottom }
|
|
218
|
+
|
|
219
|
+
ol.simple, ul.simple {
|
|
220
|
+
margin-bottom: 1em }
|
|
221
|
+
|
|
222
|
+
ol.arabic {
|
|
223
|
+
list-style: decimal }
|
|
224
|
+
|
|
225
|
+
ol.loweralpha {
|
|
226
|
+
list-style: lower-alpha }
|
|
227
|
+
|
|
228
|
+
ol.upperalpha {
|
|
229
|
+
list-style: upper-alpha }
|
|
230
|
+
|
|
231
|
+
ol.lowerroman {
|
|
232
|
+
list-style: lower-roman }
|
|
233
|
+
|
|
234
|
+
ol.upperroman {
|
|
235
|
+
list-style: upper-roman }
|
|
236
|
+
|
|
237
|
+
p.attribution {
|
|
238
|
+
text-align: right ;
|
|
239
|
+
margin-left: 50% }
|
|
240
|
+
|
|
241
|
+
p.caption {
|
|
242
|
+
font-style: italic }
|
|
243
|
+
|
|
244
|
+
p.credits {
|
|
245
|
+
font-style: italic ;
|
|
246
|
+
font-size: smaller }
|
|
247
|
+
|
|
248
|
+
p.label {
|
|
249
|
+
white-space: nowrap }
|
|
250
|
+
|
|
251
|
+
p.rubric {
|
|
252
|
+
font-weight: bold ;
|
|
253
|
+
font-size: larger ;
|
|
254
|
+
color: maroon ;
|
|
255
|
+
text-align: center }
|
|
256
|
+
|
|
257
|
+
p.sidebar-title {
|
|
258
|
+
font-family: sans-serif ;
|
|
259
|
+
font-weight: bold ;
|
|
260
|
+
font-size: larger }
|
|
261
|
+
|
|
262
|
+
p.sidebar-subtitle {
|
|
263
|
+
font-family: sans-serif ;
|
|
264
|
+
font-weight: bold }
|
|
265
|
+
|
|
266
|
+
p.topic-title {
|
|
267
|
+
font-weight: bold }
|
|
268
|
+
|
|
269
|
+
pre.address {
|
|
270
|
+
margin-bottom: 0 ;
|
|
271
|
+
margin-top: 0 ;
|
|
272
|
+
font: inherit }
|
|
273
|
+
|
|
274
|
+
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|
275
|
+
margin-left: 2em ;
|
|
276
|
+
margin-right: 2em }
|
|
277
|
+
|
|
278
|
+
pre.code .ln { color: gray; } /* line numbers */
|
|
279
|
+
pre.code, code { background-color: #eeeeee }
|
|
280
|
+
pre.code .comment, code .comment { color: #5C6576 }
|
|
281
|
+
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
|
282
|
+
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
|
283
|
+
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
|
284
|
+
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
|
285
|
+
pre.code .inserted, code .inserted { background-color: #A3D289}
|
|
286
|
+
|
|
287
|
+
span.classifier {
|
|
288
|
+
font-family: sans-serif ;
|
|
289
|
+
font-style: oblique }
|
|
290
|
+
|
|
291
|
+
span.classifier-delimiter {
|
|
292
|
+
font-family: sans-serif ;
|
|
293
|
+
font-weight: bold }
|
|
294
|
+
|
|
295
|
+
span.interpreted {
|
|
296
|
+
font-family: sans-serif }
|
|
297
|
+
|
|
298
|
+
span.option {
|
|
299
|
+
white-space: nowrap }
|
|
300
|
+
|
|
301
|
+
span.pre {
|
|
302
|
+
white-space: pre }
|
|
303
|
+
|
|
304
|
+
span.problematic, pre.problematic {
|
|
305
|
+
color: red }
|
|
306
|
+
|
|
307
|
+
span.section-subtitle {
|
|
308
|
+
/* font-size relative to parent (h1..h6 element) */
|
|
309
|
+
font-size: 80% }
|
|
310
|
+
|
|
311
|
+
table.citation {
|
|
312
|
+
border-left: solid 1px gray;
|
|
313
|
+
margin-left: 1px }
|
|
314
|
+
|
|
315
|
+
table.docinfo {
|
|
316
|
+
margin: 2em 4em }
|
|
317
|
+
|
|
318
|
+
table.docutils {
|
|
319
|
+
margin-top: 0.5em ;
|
|
320
|
+
margin-bottom: 0.5em }
|
|
321
|
+
|
|
322
|
+
table.footnote {
|
|
323
|
+
border-left: solid 1px black;
|
|
324
|
+
margin-left: 1px }
|
|
325
|
+
|
|
326
|
+
table.docutils td, table.docutils th,
|
|
327
|
+
table.docinfo td, table.docinfo th {
|
|
328
|
+
padding-left: 0.5em ;
|
|
329
|
+
padding-right: 0.5em ;
|
|
330
|
+
vertical-align: top }
|
|
331
|
+
|
|
332
|
+
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
|
333
|
+
font-weight: bold ;
|
|
334
|
+
text-align: left ;
|
|
335
|
+
white-space: nowrap ;
|
|
336
|
+
padding-left: 0 }
|
|
337
|
+
|
|
338
|
+
/* "booktabs" style (no vertical lines) */
|
|
339
|
+
table.docutils.booktabs {
|
|
340
|
+
border: 0px;
|
|
341
|
+
border-top: 2px solid;
|
|
342
|
+
border-bottom: 2px solid;
|
|
343
|
+
border-collapse: collapse;
|
|
344
|
+
}
|
|
345
|
+
table.docutils.booktabs * {
|
|
346
|
+
border: 0px;
|
|
347
|
+
}
|
|
348
|
+
table.docutils.booktabs th {
|
|
349
|
+
border-bottom: thin solid;
|
|
350
|
+
text-align: left;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
|
354
|
+
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
|
355
|
+
font-size: 100% }
|
|
356
|
+
|
|
357
|
+
ul.auto-toc {
|
|
358
|
+
list-style-type: none }
|
|
359
|
+
|
|
360
|
+
</style>
|
|
361
|
+
</head>
|
|
362
|
+
<body>
|
|
363
|
+
<div class="document" id="shopfloor-mobile">
|
|
364
|
+
<h1 class="title">Shopfloor mobile</h1>
|
|
365
|
+
|
|
366
|
+
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
367
|
+
!! This file is generated by oca-gen-addon-readme !!
|
|
368
|
+
!! changes will be overwritten. !!
|
|
369
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
370
|
+
!! source digest: sha256:cd664d31e2a374f629474683de47781fd6a0463a2939ab5d86ad0ab5b8f4e0d5
|
|
371
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
372
|
+
<p><a class="reference external image-reference" 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 image-reference" 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 image-reference" href="https://github.com/OCA/wms/tree/16.0/shopfloor_mobile"><img alt="OCA/wms" src="https://img.shields.io/badge/github-OCA%2Fwms-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/wms-16-0/wms-16-0-shopfloor_mobile"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/wms&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
373
|
+
<p>Frontend for Shopfloor app.</p>
|
|
374
|
+
<p>The work is organized in scenario.
|
|
375
|
+
A scenario represents a process in the warehouse (eg: receive, deliver).
|
|
376
|
+
The app allows to start each process through the main menu.</p>
|
|
377
|
+
<p>Each scenario is linked to a specific menu item which can be configured in the backend.
|
|
378
|
+
Each scenario drives you through the work to do.</p>
|
|
379
|
+
<div class="section" id="tech-details">
|
|
380
|
+
<h1>Tech details</h1>
|
|
381
|
+
<ul>
|
|
382
|
+
<li><p class="first">This frontend is built on top of <a class="reference external" href="vuejs.org">VueJS</a> and <a class="reference external" href="vuetifyjs.com/">VuetifyJS</a>
|
|
383
|
+
and relies on <cite>shopfloor</cite> module that exposes REST API in Odoo
|
|
384
|
+
(based in turn on <a class="reference external" href="https://github.com/OCA/rest-framework/tree/13.0/base_rest">base_rest</a>).</p>
|
|
385
|
+
</li>
|
|
386
|
+
<li><p class="first">The whole business logic comes from <cite>shopfloor</cite> module,
|
|
387
|
+
this module takes care of providing a nice and reactive UI to work with.</p>
|
|
388
|
+
</li>
|
|
389
|
+
<li><p class="first">No Odoo JS is used, no assets machinery used.</p>
|
|
390
|
+
<p>Static assets are loaded straight, served by a specific controller.
|
|
391
|
+
This app is a Single Page App, hence resources are loaded only once.</p>
|
|
392
|
+
<p>The version of the module appended to the URL of each resources
|
|
393
|
+
makes sure it’s not cached when the version changes.</p>
|
|
394
|
+
</li>
|
|
395
|
+
<li><p class="first">When developing you can use a demo mode which allows to define interactive scenario
|
|
396
|
+
with pure JS demo data, without interacting with Odoo.
|
|
397
|
+
Nothing to deal with Odoo demo data.</p>
|
|
398
|
+
</li>
|
|
399
|
+
</ul>
|
|
400
|
+
<p><strong>Table of contents</strong></p>
|
|
401
|
+
<div class="contents local topic" id="contents">
|
|
402
|
+
<ul class="simple">
|
|
403
|
+
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
|
|
404
|
+
</ul>
|
|
405
|
+
</div>
|
|
406
|
+
<div class="section" id="usage">
|
|
407
|
+
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
|
|
408
|
+
</div>
|
|
409
|
+
</div>
|
|
410
|
+
<div class="section" id="pre-requisites">
|
|
411
|
+
<h1>Pre-requisites</h1>
|
|
412
|
+
<ul class="simple">
|
|
413
|
+
<li>Your Odoo instance is accessible via mobile device</li>
|
|
414
|
+
<li>You have an API Key configured</li>
|
|
415
|
+
</ul>
|
|
416
|
+
</div>
|
|
417
|
+
<div class="section" id="start-the-app">
|
|
418
|
+
<h1>Start the app</h1>
|
|
419
|
+
<ul class="simple">
|
|
420
|
+
<li>Go to “Inventory -> Configuration -> Shopfloor -> Shopfloor App”</li>
|
|
421
|
+
<li>In the login screen fill in your API key</li>
|
|
422
|
+
<li>Hit “Login”</li>
|
|
423
|
+
</ul>
|
|
424
|
+
</div>
|
|
425
|
+
<div class="section" id="select-a-profile">
|
|
426
|
+
<h1>Select a profile</h1>
|
|
427
|
+
<p>Several profiles can be configured in the backend,
|
|
428
|
+
you must choose one before starting.</p>
|
|
429
|
+
<ul class="simple">
|
|
430
|
+
<li>Tap on “Configure profile”</li>
|
|
431
|
+
<li>Select a profile</li>
|
|
432
|
+
</ul>
|
|
433
|
+
<p>This will load all available menu items for the selected profile.</p>
|
|
434
|
+
</div>
|
|
435
|
+
<div class="section" id="change-language">
|
|
436
|
+
<h1>Change language</h1>
|
|
437
|
+
<ul class="simple">
|
|
438
|
+
<li>Go to “Settings -> Language”</li>
|
|
439
|
+
<li>Select a language</li>
|
|
440
|
+
</ul>
|
|
441
|
+
</div>
|
|
442
|
+
<div class="section" id="customization">
|
|
443
|
+
<h1>Customization</h1>
|
|
444
|
+
<p>Please refer to <cite>shopfloor_mobile_custom_example</cite>.</p>
|
|
445
|
+
<div class="section" id="known-issues-roadmap">
|
|
446
|
+
<h2>Known issues / Roadmap</h2>
|
|
447
|
+
<ul>
|
|
448
|
+
<li><p class="first">Split module by scenario</p>
|
|
449
|
+
</li>
|
|
450
|
+
<li><p class="first">Improve documentation and demo data</p>
|
|
451
|
+
</li>
|
|
452
|
+
<li><p class="first">Document each component</p>
|
|
453
|
+
</li>
|
|
454
|
+
<li><p class="first">Document demo mode</p>
|
|
455
|
+
</li>
|
|
456
|
+
<li><p class="first">Find / create a nice icon</p>
|
|
457
|
+
</li>
|
|
458
|
+
<li><p class="first">Finish base translations (move all UI strings to translatable terms)</p>
|
|
459
|
+
</li>
|
|
460
|
+
<li><p class="first">Use SCSS</p>
|
|
461
|
+
</li>
|
|
462
|
+
<li><p class="first">Refactor states definition</p>
|
|
463
|
+
<p>States are now part of the scenario data. They should be specific objects with their own class.
|
|
464
|
+
They should also provide all the actions that should be displayed w/ their handlers when needed.
|
|
465
|
+
Actions can be popup actions or buttons at the bottom of the screen.
|
|
466
|
+
The tricky part here could be how to register this states for the given component.
|
|
467
|
+
Today states have access to the full object of the scenario component as they are part of it.
|
|
468
|
+
<cite>_get_state_spec</cite> could probably lookup for registered states
|
|
469
|
+
(eg: when you register a component in the registry you should provide states as well).
|
|
470
|
+
When we’ll have states in this fashion we should also consider if they should provide their own template.
|
|
471
|
+
This way the component template will hold only the generic bits of the scenario.</p>
|
|
472
|
+
</li>
|
|
473
|
+
<li><p class="first">Back buttons should be smarter</p>
|
|
474
|
+
<p>In some cases getting back using history is fine but very often this could lead to outdated data display.
|
|
475
|
+
To mitigate this in particular scenario’s steps, custom handlers for the back action have been implemented.
|
|
476
|
+
For instance, in cluster_picking when you hit back on manual selection it forces the state to go to start and reload.
|
|
477
|
+
For starting we should provide <cite>on_back</cite> property to all states where we want to display it
|
|
478
|
+
(no more specific check on the state to display this button).
|
|
479
|
+
This part is also related to “Refactor states definition”.</p>
|
|
480
|
+
</li>
|
|
481
|
+
<li><p class="first">Go through <cite>_.forEach</cite> and similar calls to replace them w/ vanilla JS (eg: <cite>.map()</cite>)</p>
|
|
482
|
+
</li>
|
|
483
|
+
</ul>
|
|
484
|
+
</div>
|
|
485
|
+
<div class="section" id="changelog">
|
|
486
|
+
<h2>Changelog</h2>
|
|
487
|
+
</div>
|
|
488
|
+
</div>
|
|
489
|
+
<div class="section" id="section-1">
|
|
490
|
+
<h1>13.0.1.0.0</h1>
|
|
491
|
+
<p>First official version.</p>
|
|
492
|
+
<div class="section" id="bug-tracker">
|
|
493
|
+
<h2>Bug Tracker</h2>
|
|
494
|
+
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/wms/issues">GitHub Issues</a>.
|
|
495
|
+
In case of trouble, please check there if your issue has already been reported.
|
|
496
|
+
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
497
|
+
<a class="reference external" href="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**">feedback</a>.</p>
|
|
498
|
+
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
499
|
+
</div>
|
|
500
|
+
<div class="section" id="credits">
|
|
501
|
+
<h2>Credits</h2>
|
|
502
|
+
</div>
|
|
503
|
+
</div>
|
|
504
|
+
<div class="section" id="authors">
|
|
505
|
+
<h1>Authors</h1>
|
|
506
|
+
<ul class="simple">
|
|
507
|
+
<li>Camptocamp</li>
|
|
508
|
+
<li>BCIM</li>
|
|
509
|
+
<li>Akretion</li>
|
|
510
|
+
</ul>
|
|
511
|
+
</div>
|
|
512
|
+
<div class="section" id="contributors">
|
|
513
|
+
<h1>Contributors</h1>
|
|
514
|
+
<ul class="simple">
|
|
515
|
+
<li>Simone Orsi <<a class="reference external" href="mailto:simahawk@gmail.com">simahawk@gmail.com</a>></li>
|
|
516
|
+
<li>Thierry Ducrest <<a class="reference external" href="mailto:thierry.ducrest@camptocamp.com">thierry.ducrest@camptocamp.com</a>></li>
|
|
517
|
+
<li>Guewen Baconnier <<a class="reference external" href="mailto:guewen.baconnier@camptocamp.com">guewen.baconnier@camptocamp.com</a>></li>
|
|
518
|
+
<li>Raphaël Reverdy <<a class="reference external" href="mailto:raphael.reverdy@akretion.com">raphael.reverdy@akretion.com</a>></li>
|
|
519
|
+
<li>Sébastien Beau <<a class="reference external" href="mailto:sebastien.beau@akretion.com">sebastien.beau@akretion.com</a>></li>
|
|
520
|
+
<li>Jacques-Etienne Baudoux <<a class="reference external" href="mailto:je@bcim.be">je@bcim.be</a>></li>
|
|
521
|
+
</ul>
|
|
522
|
+
</div>
|
|
523
|
+
<div class="section" id="design">
|
|
524
|
+
<h1>Design</h1>
|
|
525
|
+
<ul class="simple">
|
|
526
|
+
<li>Joël Grand-Guillaume <<a class="reference external" href="mailto:joel.grandguillaume@camptocamp.com">joel.grandguillaume@camptocamp.com</a>></li>
|
|
527
|
+
<li>Jacques-Etienne Baudoux <<a class="reference external" href="mailto:je@bcim.be">je@bcim.be</a>></li>
|
|
528
|
+
</ul>
|
|
529
|
+
</div>
|
|
530
|
+
<div class="section" id="other-credits">
|
|
531
|
+
<h1>Other credits</h1>
|
|
532
|
+
<p><strong>Financial support</strong></p>
|
|
533
|
+
<ul class="simple">
|
|
534
|
+
<li>Cosanum</li>
|
|
535
|
+
<li>Camptocamp R&D</li>
|
|
536
|
+
<li>Akretion R&D</li>
|
|
537
|
+
</ul>
|
|
538
|
+
</div>
|
|
539
|
+
<div class="section" id="maintainers">
|
|
540
|
+
<h1>Maintainers</h1>
|
|
541
|
+
<p>This module is maintained by the OCA.</p>
|
|
542
|
+
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
543
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
544
|
+
</a>
|
|
545
|
+
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
546
|
+
mission is to support the collaborative development of Odoo features and
|
|
547
|
+
promote its widespread use.</p>
|
|
548
|
+
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
|
549
|
+
<p><a class="reference external image-reference" href="https://github.com/simahawk"><img alt="simahawk" src="https://github.com/simahawk.png?size=40px" /></a></p>
|
|
550
|
+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/wms/tree/16.0/shopfloor_mobile">OCA/wms</a> project on GitHub.</p>
|
|
551
|
+
<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>
|
|
552
|
+
</div>
|
|
553
|
+
</div>
|
|
554
|
+
</body>
|
|
555
|
+
</html>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.DS_Store
|
|
2
|
+
node_modules
|
|
3
|
+
/dist
|
|
4
|
+
|
|
5
|
+
# local env files
|
|
6
|
+
.env.local
|
|
7
|
+
.env.*.local
|
|
8
|
+
|
|
9
|
+
# Log files
|
|
10
|
+
npm-debug.log*
|
|
11
|
+
yarn-debug.log*
|
|
12
|
+
yarn-error.log*
|
|
13
|
+
|
|
14
|
+
# Editor directories and files
|
|
15
|
+
.idea
|
|
16
|
+
.vscode
|
|
17
|
+
*.suo
|
|
18
|
+
*.ntvs*
|
|
19
|
+
*.njsproj
|
|
20
|
+
*.sln
|
|
21
|
+
*.sw?
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2020 Camptocamp SA (http://www.camptocamp.com)
|
|
3
|
+
* @author Simone Orsi <simahawk@gmail.com>
|
|
4
|
+
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* eslint-disable strict */
|
|
8
|
+
Vue.component("batch-picking-detail", {
|
|
9
|
+
props: ["record"],
|
|
10
|
+
methods: {
|
|
11
|
+
detail_fields() {
|
|
12
|
+
return [
|
|
13
|
+
{path: "picking_count", label: "Total operations"},
|
|
14
|
+
{path: "move_line_count", label: "Total lines"},
|
|
15
|
+
{path: "weight", label: "Total weight"},
|
|
16
|
+
];
|
|
17
|
+
},
|
|
18
|
+
picking_detail_fields() {
|
|
19
|
+
return [
|
|
20
|
+
{path: "name", klass: "loud", action_val_path: "name"},
|
|
21
|
+
{path: "move_line_count", label: "Lines"},
|
|
22
|
+
{path: "weight", label: "Weight"},
|
|
23
|
+
];
|
|
24
|
+
},
|
|
25
|
+
picking_list_options() {
|
|
26
|
+
return {
|
|
27
|
+
group_title_default: "Pickings list",
|
|
28
|
+
group_color: this.utils.colors.color_for("screen_step_todo"),
|
|
29
|
+
list_item_options: {
|
|
30
|
+
key_title: "name",
|
|
31
|
+
loud_title: true,
|
|
32
|
+
fields: this.picking_detail_fields(),
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
template: `
|
|
38
|
+
<div class="detail batch-picking-detail with-bottom-actions" v-if="!_.isEmpty(record)">
|
|
39
|
+
|
|
40
|
+
<div class="review">
|
|
41
|
+
|
|
42
|
+
<item-detail-card :card_color="utils.colors.color_for('screen_step_todo')"
|
|
43
|
+
:record="record" :options="{main: true, loud: true, fields: detail_fields()}" />
|
|
44
|
+
|
|
45
|
+
<div class="button-list button-vertical-list full">
|
|
46
|
+
<v-row align="center">
|
|
47
|
+
<v-col class="text-center" cols="12">
|
|
48
|
+
<btn-action @click="$emit('confirm')">Start</btn-action>
|
|
49
|
+
</v-col>
|
|
50
|
+
</v-row>
|
|
51
|
+
<v-row align="center">
|
|
52
|
+
<v-col class="text-center" cols="12">
|
|
53
|
+
<btn-action :action="'cancel'" @click="$emit('cancel')">Cancel</btn-action>
|
|
54
|
+
</v-col>
|
|
55
|
+
</v-row>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
<div class="pickings">
|
|
61
|
+
<list
|
|
62
|
+
:records="record.pickings"
|
|
63
|
+
:options="picking_list_options()"
|
|
64
|
+
/>
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
</div>
|
|
68
|
+
`,
|
|
69
|
+
});
|