Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] - shopfloor_mobile_base #694

Merged
merged 223 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
7243904
shopfloor_mobile: split base
simahawk Feb 11, 2021
056c15a
shopfloor_mobile: fix relative import paths
simahawk Feb 12, 2021
945762e
shopfloor_mobile: main.css split from base
simahawk Feb 12, 2021
ffca741
shopfloor: update descriptions
simahawk Feb 12, 2021
50e01b6
shopfloor_mobile_base: reorganize registries
simahawk Feb 12, 2021
75f3e10
shopfloor_mobile: fix assets path
simahawk Feb 12, 2021
b5b7e4f
shopfloor_mobile_base: add page_registry
simahawk Feb 13, 2021
ea2a20e
shopfloor_mobile_base: settings pages from registry
simahawk Feb 13, 2021
bf9035a
Add shopfloor_workstation_mobile
simahawk Feb 14, 2021
d084fcc
shopfloor_mobile_base: add explicit hook for new scenario
simahawk Feb 17, 2021
eed4c27
sf_mobile_base: add shortcuts odoo.get + odoo.post
simahawk Feb 26, 2021
8ae6e54
sf_mobile_base: remove workstation pt1
simahawk Mar 1, 2021
a693ef5
sf_mobile_base: do not load menu if not profile is set
simahawk Mar 1, 2021
c98154e
sf_mobile_base: allow route config via registry
simahawk Mar 1, 2021
dde119d
sf_mobile_base: router use meta.requiresAuth for auth check
simahawk Mar 1, 2021
8d670d3
sf_mobile_base: profile required via route config
simahawk Mar 1, 2021
9a51e40
sf_mobile_base: fix translation on login
simahawk Mar 1, 2021
57a0167
sf_mobile_base: delegate nav lookup to root
simahawk Mar 1, 2021
cdcf45f
sf_mobile_base: refactor stored config handling
simahawk Mar 1, 2021
d4767bf
sf_mobile_base: add TODO for storage lib
simahawk Mar 2, 2021
3f7f02f
sf_mobile_base: get rid of workstation left over
simahawk Mar 2, 2021
e003bec
sf_mobile_base: remove picking form left over
simahawk Mar 2, 2021
87c2e60
sf_mobile_base: use translations where required
simahawk Mar 2, 2021
e00587f
sf_mobile_base: add utils registry
simahawk Mar 2, 2021
8756da9
shopfloor: split wms utils
simahawk Mar 2, 2021
89723f7
sf_mobile_base: add TODO split misc components
simahawk Mar 2, 2021
3af142c
sf_mobile_base: move wms components to sf_mobile
simahawk Mar 3, 2021
f02cfca
sf_mobile_base: fix favicon path
simahawk Mar 3, 2021
0d5a2fe
sf_mobile_base: decouple nav item templates
simahawk Mar 8, 2021
f9ddaef
sf_mobile_base: add some TODOs
simahawk Mar 8, 2021
a4c97c4
shopfloor_mobile: fix usage of parseInt
simahawk Mar 9, 2021
b998133
[UPD] README.rst
OCA-git-bot Mar 9, 2021
ae45ace
sf_mobile: keep manual select box always on top
simahawk Mar 9, 2021
1b4de57
[UPD] Update shopfloor_mobile_base.pot
oca-travis Mar 9, 2021
67dbdab
shopfloor_mobile_base 13.0.1.9.0
OCA-git-bot Mar 12, 2021
93710d7
sf_mobile_base: state update trigger 'screen:reload'
simahawk Mar 12, 2021
afb7647
sf_mobile_base: searchbar preserve focus on state refresh
simahawk Mar 12, 2021
bfb74cb
shopfloor_mobile_base 13.0.1.9.1
OCA-git-bot Mar 15, 2021
1e2caa3
sf_mobile_base: prevent scan multiple times
simahawk Mar 15, 2021
f7be8c2
shopfloor_mobile_base 13.0.1.9.2
OCA-git-bot Mar 16, 2021
74dbe18
sf_mobile_base: name apikey input
simahawk Mar 16, 2021
e780bb3
sf_mobile_base: name settings btns
simahawk Mar 16, 2021
b85745e
sf_mobile_base: make 'authenticated' stored config
simahawk Mar 16, 2021
57f5eec
sf_mobile_base: split profile-not-ready box
simahawk Mar 18, 2021
50e92eb
sf_mobile_base: fix nav item comp props type
simahawk Mar 18, 2021
78bf5a4
sf_mobile_base: fix router auth guard
simahawk Mar 18, 2021
dad4392
sf_mobile_base: user session info specific component
simahawk Mar 18, 2021
a574bbb
shopfloor_mobile_base 13.0.1.10.0
OCA-git-bot Mar 23, 2021
7e523c2
[FIX] shopfloor_mobile_base: Fix demo mode
lmignon Apr 2, 2021
9b675fe
shopfloor_mobile_base 13.0.1.10.1
OCA-git-bot Apr 2, 2021
70eab67
Added translation using Weblate (Spanish (Argentina))
ibuioli Apr 14, 2021
1cf53c3
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 14, 2021
5cbccbe
shopfloor_mobile_base: black, isort, prettier
hparfr Apr 19, 2021
b668b50
[MIG] shopfloor_mobile_base: Migration to 14.0
hparfr Apr 19, 2021
3817902
shopfloor_mobile_base: fix eslint config
hparfr Apr 19, 2021
e4d6478
[UPD] Update shopfloor_mobile_base.pot
oca-travis Jul 1, 2021
d178149
[UPD] README.rst
OCA-git-bot Jul 1, 2021
5042f86
shopfloor_mobile_base 14.0.1.0.1
OCA-git-bot Jul 1, 2021
4123bfb
Update translation files
oca-transbot Jul 1, 2021
bab4365
sf_mobile_base: show current running env
simahawk Apr 21, 2021
d09fe25
[UPD] README.rst
OCA-git-bot Oct 14, 2021
e731eff
shopfloor_mobile_base 14.0.1.1.0
OCA-git-bot Oct 14, 2021
70ec69c
sf_mobile_base: fix vuetify warning
simahawk Oct 22, 2021
0fa0398
sf_mobile_base: base for url and auth override
simahawk Oct 14, 2021
3d5d7a0
sf_mobile_base: no harcoded headers into odoo service
simahawk Oct 14, 2021
7ec9b3d
sf_mobile_base: add auth handler registry
simahawk Oct 14, 2021
b87d200
sf_mobile_base: add TODO for logout event
simahawk Oct 15, 2021
63ef5f9
shopfloor_mobile_base 14.0.1.2.0
OCA-git-bot Oct 26, 2021
fb9f9b2
sf_mobile_base: fix demo core data
simahawk Jun 4, 2021
d6be779
[IMP] shopfloor_mobile_base: detail card improvement
TDu Jul 2, 2021
e796cca
shopfloor_mobile_base 14.0.1.2.1
OCA-git-bot Nov 4, 2021
792d9bc
shopfloor_mobile_base 14.0.1.3.0
OCA-git-bot Nov 4, 2021
d62ec89
Add sf_mobile_base_auth_api_key: decouple auth
simahawk Oct 14, 2021
7690ab8
sf_mobile_base: unify logged in check
simahawk Oct 26, 2021
6a60852
sf_mobile_base: refactor login logic
simahawk Oct 26, 2021
0a65ba6
sf_mobile_base: router change formatting of login path
simahawk Oct 26, 2021
766aa7f
sf_mbl_base_auth_api_key: refactor api_key login logic
JuMiSanAr Oct 28, 2021
1e4bbad
sf_mobile_base: main.js fix throw exception
simahawk Nov 5, 2021
860a19c
shopfloor_mobile_base: update contributors
simahawk Nov 5, 2021
e14309b
shopfloor_mobile_base: fix redundant if/else
simahawk Nov 5, 2021
9709e48
shopfloor_mobile_base: drop debug line
simahawk Nov 5, 2021
be50031
[UPD] README.rst
OCA-git-bot Nov 5, 2021
261ac25
sf_mobile_base: cleanup new login api
simahawk Nov 5, 2021
53bacff
sf_mobile_base: allow to inject menu items via registry
simahawk Oct 22, 2021
d63b654
sf_mobile_base: drop obsolete component prop
simahawk Oct 22, 2021
1a6a3c2
sf_mobile_base: unify menu lookup
simahawk Oct 22, 2021
c24d4d6
sf_mobile_base: auth handler provides login comp name
simahawk Nov 2, 2021
1eb96d7
shopfloor_mobile_base 14.0.1.4.0
OCA-git-bot Nov 17, 2021
4092512
sf_mobile_base: fix scenario menu item lookup
simahawk Nov 18, 2021
c48a142
sf_mobile_base: fix device zoom
simahawk Nov 18, 2021
c1368a1
sf_mobile_base*: improve auth handler init
simahawk Nov 18, 2021
f4cbeba
shopfloor_mobile_base 14.0.1.4.1
OCA-git-bot Nov 18, 2021
b232580
sf_mobile_base: fix some btn colors
simahawk Nov 24, 2021
8a3204e
sf_mobile_base: move theme to its own file
simahawk Nov 24, 2021
ff30a37
shopfloor_mobile_base 14.0.1.5.0
OCA-git-bot Nov 24, 2021
1b73188
sf_mobile_base: fix theme load
simahawk Nov 26, 2021
13dcfb3
shopfloor_mobile_base 14.0.1.5.1
OCA-git-bot Nov 26, 2021
7621803
shopfloor_mobile_base: add translation_registry.load
lmignon Jan 13, 2022
70d6a08
shopfloor_mobile_base: fix scenario state load
lmignon Jan 18, 2022
f4eba6c
shopfloor_mobile_base: dev status -> Beta
simahawk Jan 18, 2022
da6dc5f
[UPD] README.rst
OCA-git-bot Jan 19, 2022
a795ae4
shopfloor_mobile_base 14.0.1.6.0
OCA-git-bot Jan 19, 2022
938ed34
shopfloor_mobile_base: use min.js files in lib
JuMiSanAr Jan 21, 2022
4f76375
shopfloor_mobile_base 14.0.1.7.0
OCA-git-bot Jan 27, 2022
8449a2b
shopfloor_mobile_base 14.0.1.7.1
OCA-git-bot Jan 28, 2022
e9cdde3
Fix shopfloor edit picking carrier form
TDu Feb 2, 2022
fa4ca75
shopfloor_mobile_base 14.0.1.7.2
OCA-git-bot Feb 3, 2022
b88631a
shopfloor_base: add app backend
simahawk Oct 14, 2021
1da61bb
sf_mobile_base: fix _get_app_version in dev mode
simahawk Oct 19, 2021
0512018
sf_mobile_base: adapt to shopfloor_base changes
simahawk Oct 26, 2021
20c0bf0
shopfloor.app mobile: rework route registration
simahawk Nov 2, 2021
5d60c31
sf_mobile_base: shopfloor.app required now
simahawk Nov 15, 2021
ed689d6
shopfloor.app: register only static routes
simahawk Nov 18, 2021
0ff0668
sf_mobile_base: profile required only when needed
simahawk Nov 18, 2021
dddf412
shopfloor.app: fix manifest url
simahawk Nov 26, 2021
b837052
sf_mobile_base: get rid of backward compat controller
simahawk Nov 29, 2021
25abf2c
sf_mobile_base: fix demo mode OdooMocked
simahawk Dec 8, 2021
74465a2
sf_mobile_base: use sf.app name
simahawk Feb 3, 2022
10e5abd
sf_mobile_base: fix demo mode enable
simahawk Feb 3, 2022
2f76114
sf_mobile_base: use DotDict to ease access to info
simahawk Feb 3, 2022
d9d1ca3
sf_mobile_base: fix html title
simahawk Feb 3, 2022
290305e
sf_mobile_base: get version from sf.app
simahawk Feb 7, 2022
4740dec
sf_mobile_base: decouple event_hub
simahawk Feb 7, 2022
c97090c
sf_mobile_base: emit event on app mounted
simahawk Feb 7, 2022
ca38ce1
sf_mobile_base: fetch bypass load state optionally
simahawk Feb 7, 2022
ebeb8a5
sf_mobile_base: allow custom loading msg
simahawk Feb 7, 2022
e5c94c6
sf_mobile_base: emit sync event
simahawk Feb 7, 2022
032157d
sf_mobile_base: fix screen bg class
simahawk Feb 9, 2022
018e701
sf_mobile_base: improve odoo demo data handler
simahawk Feb 9, 2022
1a2c451
sf_mobile_base: make form mixin func name homogeneus
simahawk Feb 16, 2022
93a50f5
s_mobile_base: pass root object to login events
simahawk Apr 4, 2022
cad387f
shopfloor_mobile_base: 14.0.2.0.0
simahawk Nov 29, 2021
98f64e8
[UPD] Update shopfloor_mobile_base.pot
Apr 5, 2022
25c72af
Update translation files
oca-transbot Apr 6, 2022
3eb1bac
sf_mobile_base: add event on drawer transition
JuMiSanAr Apr 4, 2022
5c8494a
shopfloor_mobile_base 14.0.2.1.0
OCA-git-bot Apr 7, 2022
5f39daa
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 10, 2022
032e52c
shopfloor_mobile_base: update load method in translation registry
JuMiSanAr Apr 8, 2022
772eeff
shopfloor_mobile_base: make home customizable
simahawk Apr 7, 2022
4d66242
sf_mobile_base: refer '/' instead of 'home' route
simahawk Apr 11, 2022
a3e2e89
shopfloor_mobile_base: add redirect in router if custom home route
JuMiSanAr Apr 13, 2022
c434853
shopfloor_mobile_base 14.0.2.2.0
OCA-git-bot Apr 21, 2022
aea9f2f
shopfloor_mobile_base 14.0.2.2.1
OCA-git-bot Apr 21, 2022
4f046db
shopfloor_mobile_base 14.0.2.2.2
OCA-git-bot Apr 21, 2022
245a3ff
shopfloor_mobile_base: fix home routing
JuMiSanAr Apr 21, 2022
b948324
shopfloor_mobile_base: persist user language
JuMiSanAr Apr 21, 2022
7f03f88
shopfloor_mobile_base 14.0.2.2.3
OCA-git-bot Apr 21, 2022
2a19a5f
shopfloor_mobile_base 14.0.2.3.0
OCA-git-bot Apr 21, 2022
69bb803
shopfloor_base: move version and info to core
simahawk Apr 28, 2022
3c521d2
[UPD] Update shopfloor_mobile_base.pot
Apr 29, 2022
3fb45de
shopfloor_mobile_base 14.0.2.4.0
OCA-git-bot Apr 29, 2022
eb65226
Update translation files
oca-transbot Apr 29, 2022
557ab39
sf_mobile_base: manage langs from backend
simahawk Apr 29, 2022
0f35940
sf_mobile_base: fix home translations
simahawk Apr 29, 2022
93082cc
sf_mobile_base: hide fullscreen btn by default
simahawk Apr 29, 2022
cd881bf
shopfloor_mobile_base: take user lang on login
simahawk Apr 29, 2022
f37ecb6
shopfloor_mobile_base 14.0.2.5.0
OCA-git-bot May 3, 2022
271c6f8
shopfloor*: fix datetime handling
simahawk May 3, 2022
dfaff07
shopfloor_mobile_base 14.0.2.5.1
OCA-git-bot May 4, 2022
f108aeb
shopfloor_mobile_base: re-license as LGPL
simahawk May 9, 2022
4215d96
shopfloor_mobile_base 14.0.3.0.0
OCA-git-bot May 10, 2022
4f3cea3
shopfloor: support barcode that do not send end of line
jbaudoux Sep 10, 2021
0600911
[UPD] README.rst
OCA-git-bot May 11, 2022
7af1ff9
shopfloor_mobile_base 14.0.3.1.0
OCA-git-bot May 11, 2022
25992b0
shopfloor_mobile_base: use full urls in manifest
JuMiSanAr May 10, 2022
9df7979
shopfloor_mobile_base: use latest vue2storage version (6.1.3)
JuMiSanAr May 9, 2022
276fe62
shopfloor_mobile_base: dynamic storage type
JuMiSanAr May 4, 2022
75a3bd0
shopfloor_mobile_base: allow specific storage config for each key
JuMiSanAr May 9, 2022
4922b79
shopfloor_mobile_base: ease override default storage conf
JuMiSanAr May 10, 2022
ae9be35
shopfloor_mobile_base 14.0.3.2.0
OCA-git-bot May 12, 2022
8f5fe56
shopfloor_mobile_base 14.0.3.3.0
OCA-git-bot May 12, 2022
bdf88dd
shopfloor_mobile_base: first component unit test
JuMiSanAr May 18, 2022
2779d03
shopfloor_mobile_base 14.0.3.4.0
OCA-git-bot May 20, 2022
9f1bb1a
shopfloor_mobile_base: add new translations
JuMiSanAr Apr 26, 2022
865b27c
shopfloor_ui_tests: update existing tests
JuMiSanAr Apr 26, 2022
efc20c0
shopfloor_example: add demo data for partner example
JuMiSanAr May 4, 2022
421a930
shopfloor_mobile_base 14.0.3.5.0
OCA-git-bot May 20, 2022
1ab1e56
sf_mobile_base: add version and user header to requests
simahawk Oct 6, 2022
c882597
shopfloor_mobile_base: display version in settings page too
JuMiSanAr Oct 7, 2022
e922a93
shopfloor_mobile_base 14.0.3.6.0
OCA-git-bot Oct 7, 2022
47e5ea2
shopfloor_mobile_base 14.0.3.7.0
OCA-git-bot Oct 7, 2022
efbd77a
sf_mobile_base: add report issue action
simahawk Oct 7, 2022
983116b
sf_mobile_base: fix app-version-footer markup
simahawk Oct 17, 2022
5bafa36
sf_mobile_base: propagate root on login/logout events
simahawk Oct 19, 2022
8abede0
shopfloor_mobile_base 14.0.3.7.1
OCA-git-bot Oct 19, 2022
7d9c08f
shopfloor_mobile_base 14.0.3.8.0
OCA-git-bot Oct 19, 2022
a0c336e
shopfloor_mobile_base: control virtual keyboard display
jbaudoux Dec 28, 2021
058f1ca
shopfloor_mobile_base_auth_api_key: fix login form security
jbaudoux May 11, 2022
b156b42
sf_mobile_base: move manifest making to app model
simahawk Oct 25, 2022
2b37759
sf_mobile_base: fix missing header Accept-Language
simahawk Oct 25, 2022
df089e1
shopfloor_mobile_base 14.0.3.9.0
OCA-git-bot Oct 25, 2022
3643236
shopfloor_mobile_base: fix registry replace
TDu Aug 25, 2022
1858b02
shopfloor_mobile_base 14.0.3.9.1
OCA-git-bot Nov 22, 2022
9f0b210
shopfloor_mobile_base 14.0.3.10.0
OCA-git-bot Nov 23, 2022
d26b376
shopfloor_mobile_base: add date-picker-input component
JuMiSanAr Nov 21, 2022
21750f7
shopfloor_mobile_base: add list_filter component
JuMiSanAr Nov 24, 2022
6fab078
shopfloor_mobile: make picking_summary fields customizable
JuMiSanAr Nov 21, 2022
1096974
shopfloor_mobile_base 14.0.3.11.0
OCA-git-bot Nov 24, 2022
d5cc98e
sf_mobile_base: trigger event in fetch to handle 401 unauthorized
JuMiSanAr Dec 12, 2022
ddb01ac
sf_mobile_base: do not redirect to login if already there
JuMiSanAr Dec 12, 2022
d5ce5ee
shopfloor_mobile_base 14.0.3.12.0
OCA-git-bot Dec 15, 2022
0a491f6
shopfloor_mobile: Qty picker initial quantity
jbaudoux Nov 9, 2022
8a23980
shopfloor_mobile: selected move line color
jbaudoux Nov 9, 2022
35b5579
shopfloor_mobile_base 14.0.3.13.0
OCA-git-bot Jan 5, 2023
383037c
sf_mobile_base_auth_user: fix login keyboard bug
JuMiSanAr Jan 19, 2023
655932a
shopfloor_mobile_base 14.0.3.13.1
OCA-git-bot Feb 23, 2023
81d9b39
shopfloor_mobile: improve list-item action handling
simahawk Feb 24, 2023
ad9020e
shopfloor_mobile_base 14.0.3.14.0
OCA-git-bot Feb 24, 2023
9441f06
shopfloor_mobile_base: fix searchbar autofocus
simahawk Mar 10, 2023
3712583
shopfloor_mobile_base: fix border style
simahawk Mar 10, 2023
a326d79
shopfloor_mobile_base 14.0.3.14.1
OCA-git-bot Mar 15, 2023
2d57102
shopfloor_mobile_base: allow manual_select to react to scans
JuMiSanAr Mar 31, 2023
dbd6c0f
shopfloor_mobile_base 14.0.3.14.2
OCA-git-bot Apr 4, 2023
4a741c0
shopfloor_mobile_base: fix searchbar autofocus pt2
simahawk Apr 13, 2023
d03d821
shopfloor_mobile_base 14.0.3.14.3
OCA-git-bot Apr 14, 2023
3e88109
shopfloor_mobile_base: fix headers extension
simahawk May 11, 2023
d260bfa
shopfloor_mobile_base: create linear-progress component
JuMiSanAr Jul 6, 2023
2140ae8
sf_mobile_base: make demo menu required
simahawk Jul 18, 2023
ed9a23f
shopfloor_mobile_base 14.0.3.15.0
OCA-git-bot Jul 18, 2023
0e8779c
shopfloor_mobile_base 14.0.3.15.1
OCA-git-bot Jul 20, 2023
39dd2d6
shopfloor_mobile_base 14.0.3.16.0
OCA-git-bot Jul 24, 2023
2dcc776
[16.0][MIG] - shopfloor_mobile_base
sbejaoui Jul 28, 2023
78b1cb1
[FIX] display clear message for unexpected errors
sbejaoui Dec 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ repos:
rev: v8.24.0
hooks:
- id: eslint
# Useless for external libs
exclude: ^shopfloor_mobile_base/static/wms/src/.*
verbose: true
args:
- --color
Expand Down
6 changes: 6 additions & 0 deletions setup/shopfloor_mobile_base/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
238 changes: 238 additions & 0 deletions shopfloor_mobile_base/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
================
Shopfloor mobile
================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwms-lightgray.png?logo=github
:target: https://github.com/OCA/wms/tree/14.0/shopfloor_mobile_base
:alt: OCA/wms
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-shopfloor_mobile_base
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/285/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

Base frontend for Shopfloor applications.

The work is organized in scenario.
A scenario represents a process in the workplace (eg: for WMS -> receive, deliver).
The app allows to start each process through the main menu.

Each scenario is linked to a specific menu item which can be configured in the backend.
Each scenario drives you through the work to do.


Tech details
~~~~~~~~~~~~

* This frontend is built on top of `VueJS <vuejs.org>`_ and `VuetifyJS <vuetifyjs.com/>`_
and relies on `shopfloor` module that exposes REST API in Odoo
(based in turn on `base_rest <https://github.com/OCA/rest-framework/tree/13.0/base_rest>`_).

* The whole business logic comes from `shopfloor_base` module,
this module takes care of providing a nice and reactive UI to work with.

* No Odoo JS is used, no assets machinery used.

Static assets are loaded straight, served by a specific controller.
This app is a Single Page App, hence resources are loaded only once.

The version of the module appended to the URL of each resources
makes sure it's not cached when the version changes.

* When developing you can use a demo mode which allows to define interactive scenario
with pure JS demo data, without interacting with Odoo.
Nothing to deal with Odoo demo data.

**Table of contents**

.. contents::
:local:

Usage
=====

Pre-requisites
~~~~~~~~~~~~~~

* Your Odoo instance is accessible via mobile device
* You have an API Key configured

Start the app
~~~~~~~~~~~~~

* Go to "Inventory -> Configuration -> Shopfloor -> Shopfloor App"
* In the login screen fill in your API key
* Hit "Login"

Select a profile
~~~~~~~~~~~~~~~~

Several profiles can be configured in the backend,
you must choose one before starting.

* Tap on "Configure profile"
* Select a profile

This will load all available menu items for the selected profile.

Change language
~~~~~~~~~~~~~~~

* Go to "Settings -> Language"
* Select a language

Customization
~~~~~~~~~~~~~

Please refer to `shopfloor_mobile_custom_example`.


Working environment
~~~~~~~~~~~~~~~~~~~

You can control which running env is considerd by Odoo config or env vars.


For Odoo config: `running_env` or `shopfloor_running_env`.

For env var: `RUNNING_ENV` or `SHOPFLOOR_RUNNING_ENV`.

Expected key `RUNNING_ENV` is compliant w/ `server_environment` naming but is not depending on it.

Additionally, as specific key for Shopfloor is supported.

**You don't need `server_environment` module to use this feature.**

Known issues / Roadmap
======================

* Split module by scenario
* Improve documentation and demo data
* Document each component
* Document demo mode
* Find / create a nice icon
* Finish base translations (move all UI strings to translatable terms)
* Use SCSS
* Refactor states definition

States are now part of the scenario data. They should be specific objects with their own class.
They should also provide all the actions that should be displayed w/ their handlers when needed.
Actions can be popup actions or buttons at the bottom of the screen.
The tricky part here could be how to register this states for the given component.
Today states have access to the full object of the scenario component as they are part of it.
`_get_state_spec` could probably lookup for registered states
(eg: when you register a component in the registry you should provide states as well).
When we'll have states in this fashion we should also consider if they should provide their own template.
This way the component template will hold only the generic bits of the scenario.

* Back buttons should be smarter

In some cases getting back using history is fine but very often this could lead to outdated data display.
To mitigate this in particular scenario's steps, custom handlers for the back action have been implemented.
For instance, in cluster_picking when you hit back on manual selection it forces the state to go to start and reload.
For starting we should provide `on_back` property to all states where we want to display it
(no more specific check on the state to display this button).
This part is also related to "Refactor states definition".

* Load modules/components dependencies

As of today we are using bare ES6 imports which requires devs to know the exact path
of the resource. If the resource changes name or path dependent files will be broken.
It would be nice to have a way to declare modules by name as Odoo JS does.

* Get rid of custom assets controller?

A controller takes care of loading static assets but seems to not be needed anymore.

Changelog
=========

13.0.1.0.0
~~~~~~~~~~

First official version.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/wms/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/wms/issues/new?body=module:%20shopfloor_mobile_base%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Camptocamp
* BCIM
* Akretion

Contributors
~~~~~~~~~~~~

* Simone Orsi <[email protected]>
* Thierry Ducrest <[email protected]>
* Guewen Baconnier <[email protected]>
* Juan Miguel Sánchez Arce <[email protected]>
* Raphaël Reverdy <[email protected]>
* Sébastien Beau <[email protected]>
* Jacques-Etienne Baudoux <[email protected]>

Design
~~~~~~

* Joël Grand-Guillaume <[email protected]>
* Jacques-Etienne Baudoux <[email protected]>

Other credits
~~~~~~~~~~~~~

**Financial support**

* Cosanum
* Camptocamp R&D
* Akretion R&D

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px
:target: https://github.com/simahawk
:alt: simahawk

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-simahawk|

This module is part of the `OCA/wms <https://github.com/OCA/wms/tree/14.0/shopfloor_mobile_base>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions shopfloor_mobile_base/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import controllers
18 changes: 18 additions & 0 deletions shopfloor_mobile_base/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2020 Camptocamp SA (http://www.camptocamp.com)
# Copyright 2020 BCIM (http://www.bcim.be)
# Copyright 2020 Akretion (http://www.akretion.com)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Shopfloor mobile",
"summary": "Mobile frontend for WMS Shopfloor app",
"version": "16.0.1.0.0",
"development_status": "Beta",
"depends": ["shopfloor_base"],
"author": "Camptocamp, BCIM, Akretion, Odoo Community Association (OCA)",
"maintainers": ["simahawk"],
"website": "https://github.com/OCA/wms",
"category": "Warehouse Management",
"license": "LGPL-3",
"installable": True,
"data": ["templates/main.xml", "templates/assets.xml", "views/shopfloor_app.xml"],
}
1 change: 1 addition & 0 deletions shopfloor_mobile_base/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import main
Loading
Loading