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

[13.0] Add shopfloor barcode app #25

Merged
merged 1,045 commits into from
Nov 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1045 commits
Select commit Hold shift + click to select a range
7f97e59
zone picking: fix test about picking scheduled_date
sebalix Aug 10, 2020
bf2a2c5
front: fix picking summary v-for key
simahawk Aug 10, 2020
4a3859c
Merge pull request #35 from sebalix/13.0-shopfloor-checkout-packaging
simahawk Aug 10, 2020
005488d
front: fix render_field_date binding
simahawk Aug 12, 2020
e0a4370
front: fix menu item parsing when it's string
simahawk Aug 12, 2020
fb0e668
front: move single pack transfer mixin
simahawk Aug 12, 2020
6952eca
front: picking summary prod detail improve key
simahawk Aug 12, 2020
0419771
front: fix profile deselection
simahawk Aug 13, 2020
5aa8e14
bknd: single_pack_transfer remove confirm states
simahawk Aug 13, 2020
55c94f0
front: single_pack_transfer remove confirm states
simahawk Aug 13, 2020
bfee4c0
single_pack_transfer: prevent usage w/out 'move entire packs'
simahawk Aug 13, 2020
97224ad
front: fix global state key sync
simahawk Aug 13, 2020
f8662ce
bknd: zone_picking fix complete buffer msg
simahawk Aug 13, 2020
f49c6f2
front: zone_picking fix unlad all set destination call
simahawk Aug 13, 2020
259bbae
bknd: fix single_pack_transfer take over
simahawk Aug 13, 2020
2e5a026
fron: single_pack_transfer replace UI w/ recent approach
simahawk Aug 13, 2020
24298d3
bknd: fix actions data tests
simahawk Aug 13, 2020
49b53c6
Merge pull request #37 from camptocamp/single-pack-transfer-fixes
simahawk Aug 13, 2020
eee8767
Add packing information by customer
TDu Aug 13, 2020
1e3c30b
bknd: include packing info in checkout/select_package
simahawk Aug 13, 2020
e4dca60
front: show packing info in checkout/select_package
simahawk Aug 13, 2020
264e209
search action: do not return location with no barcode defined
sebalix Aug 17, 2020
9a854c9
zone picking: fix sort filter move lines
sebalix Aug 17, 2020
5018e0f
Merge pull request #38 from sebalix/13.0-shopfloor-fixes
sebalix Aug 17, 2020
dbc6516
location transfer: add a test to reproduce an issue with several oper…
sebalix Aug 17, 2020
fea9079
location transfer: fix issue while several operators are working from…
sebalix Aug 17, 2020
a78b325
Merge pull request #39 from sebalix/13.0-shopfloor-issue-1361
sebalix Aug 17, 2020
ec125f8
location transfer: add a test to reproduce an issue if move lines hav…
sebalix Aug 17, 2020
08d7a43
location transfer: fix issue if move lines have different src locations
sebalix Aug 17, 2020
03ff9c0
Merge pull request #40 from sebalix/13.0-shopfloor-issue-1362
jgrandguillaume Aug 17, 2020
253f264
bknd: constraint 'delivery' to be used w/ entire packs as well
simahawk Aug 19, 2020
1e5c61b
front: fix qty picker missing unique keys
simahawk Aug 20, 2020
8a36269
zone picking: return right amount of operations on picking types data…
sebalix Aug 20, 2020
af8a5b6
bknd: fix zone_picking handling of set destination
simahawk Aug 20, 2020
7b9dd20
zone_picking: handle case where set line dest has no line
simahawk Aug 20, 2020
ea7cd5f
front: zone_picking + loc transfer fix qty handling on set dest
simahawk Aug 20, 2020
ab2753e
Merge pull request #42 from simahawk/misc-fixes
simahawk Aug 21, 2020
d5bcba1
front: fix scenario mixin menu_id not computed
simahawk Aug 21, 2020
98ac5f4
front: fix missing unique keys for delivery and checkout select
simahawk Aug 21, 2020
8c0f29a
front: fix set/reset messages
simahawk Aug 21, 2020
d8838a3
front: REF computed state behavior
simahawk Aug 21, 2020
0d2dfe1
front: REF do no reset state on state enter
simahawk Aug 21, 2020
0cab492
front: fix state transition
simahawk Aug 21, 2020
7d62636
front: fix app error handling
simahawk Aug 21, 2020
c568982
front: user info alert supports multi line msg
simahawk Aug 21, 2020
e58f8f9
bknd: fix checkout._response_for_select_package
simahawk Aug 21, 2020
02c5afd
front: detail-package fix loop on pickings
simahawk Aug 21, 2020
c10f51a
front: fix reload state on state_set_data
simahawk Aug 21, 2020
6d3686f
Merge pull request #46 from simahawk/mix-fixes-pt-2
simahawk Aug 21, 2020
76cfd8b
front: add global events for fetch request start/end
simahawk Aug 24, 2020
a71ddd5
front: display spinner when fetching data from backend
simahawk Aug 24, 2020
d8df57c
zone picking/location content transfer: Add sync of move lines destin…
guewen Aug 21, 2020
4d23e19
front: zone picking display picking types counter if empty
simahawk Aug 25, 2020
792851a
front: fix marging below P in notifications
simahawk Aug 25, 2020
ee7d776
bknd: improve exception tracing
simahawk Aug 26, 2020
64bea5a
bknd: zone picking fix typo raise/return on scan source
simahawk Aug 26, 2020
dec73b8
front: app error display support url
simahawk Aug 26, 2020
f6432af
bknd: add package name unique constrain
simahawk Aug 26, 2020
f560816
zone picking: return error when no package or location is found
guewen Aug 26, 2020
4c07289
location transfer: ensure to process pickings sharing the same source…
sebalix Aug 18, 2020
0ebac5d
api: return related move line's location instead of picking's
guewen Aug 26, 2020
5e3e4a5
Merge pull request #49 from simahawk/13.0-shopfloor
simahawk Aug 26, 2020
e69ecd0
bknd: fix zone picking types counters
simahawk Aug 26, 2020
ea5db75
Merge pull request #52 from simahawk/zone-picking-fix-counters
simahawk Aug 26, 2020
ad48366
location transfer: exit with proper message when no line is found
guewen Aug 26, 2020
6574e14
backend: Write destintation location on package levels
guewen Aug 26, 2020
b28a10b
Merge pull request #44 from sebalix/13.0-shopfloor-1373
sebalix Aug 27, 2020
0960a7c
front: fix event binding w/ wrapped state
simahawk Aug 26, 2020
b18d19f
front: fix qty picker trigger qty on refresh
simahawk Aug 26, 2020
033b919
shopfloor: ensure that confirmation email is sent when moves are vali…
sebalix Aug 27, 2020
93881e7
bknd: map specific exceptions to odoo std exceptions
simahawk Aug 27, 2020
4c70511
front: fix report url color for errors
simahawk Aug 27, 2020
fd0485a
front: fix defensive condition missing bknd data
simahawk Aug 27, 2020
e258e7b
front: fix qty picker packaging lost
simahawk Aug 27, 2020
5655271
front: zone_picking fix summary group by dest pkg
simahawk Aug 27, 2020
5d23195
front: cluter_picking scan dest qty default to 0
simahawk Aug 27, 2020
e07c24f
front: zone_picking summary mark dest location as todo
simahawk Aug 27, 2020
d630314
front: fix zone_picking unload pkg dest
simahawk Aug 28, 2020
b25783a
Merge pull request #55 from simahawk/13.0-shopfloor
simahawk Aug 28, 2020
bb252e4
Display product vendor code everywhere
simahawk Aug 28, 2020
549f7e4
front: fix information btn over tile cards
simahawk Aug 28, 2020
d4d1e5b
front: login do not expose api key by default
simahawk Sep 2, 2020
d3b8295
front: login display login errors properly
simahawk Sep 2, 2020
9bbd3c8
front: fix logout data cleanup
simahawk Sep 2, 2020
8cbb897
shopfloor.__manifest__ update references
simahawk Sep 2, 2020
ca7e8c0
Packaging data: rely on packaging type
simahawk Sep 2, 2020
805a2b5
front: scan_anything drop dead code
simahawk Sep 2, 2020
f57023b
front: scan_anything fix scan same identifier
simahawk Sep 2, 2020
a0bc447
Add active field on shopfloor profile
guewen Aug 28, 2020
52819d4
front: save space for main doc title on small screens
simahawk Sep 1, 2020
198fb3e
bknd: fix vendor code by variant
simahawk Aug 31, 2020
9b8b7ca
front: fix picking select display prod info
simahawk Aug 31, 2020
5deb1d6
zone picking: fix check against destination location when unloading
sebalix Aug 27, 2020
bd8f982
zone picking: if the buffer is empty when we want to set the destinat…
sebalix Aug 27, 2020
fcab62b
Add check of scanned dest. location vs move's destination
guewen Aug 28, 2020
47aa510
bknd: cluster-picking split move line split code
simahawk Aug 31, 2020
f23076c
bknd: checkout edit qty split if less qty done
simahawk Aug 31, 2020
d40c1e3
shopfloor: fix send_confirmation_email handling from pickings
sebalix Sep 1, 2020
00f87de
front: add fullscreen mode switch
simahawk Sep 3, 2020
d46d797
front: login btn styled as all the others
simahawk Sep 3, 2020
be2af96
front: add fullscreen btn to login screen
simahawk Sep 3, 2020
42bc2f4
Merge pull request #65 from simahawk/front-fullscreen
simahawk Sep 3, 2020
9c6bdbb
bknd: fix vendor code must be always a string
simahawk Sep 7, 2020
fa96f46
location transfer: ensure move state is recomputed (#66)
guewen Sep 8, 2020
9498726
loc content transfer: fix line sorter
simahawk Sep 8, 2020
6bf2008
backend: Prevent comparison between False and empty string
guewen Sep 9, 2020
fc6d01f
bknd: delivery unify picking status check
simahawk Sep 11, 2020
6f851c2
bknd: checkout unify picking status check
simahawk Sep 11, 2020
3f5a6bc
bknd: fix delivery picking state check
simahawk Sep 11, 2020
7357b53
bknd: delivery check picking status on deliver by pkg|lot|prod
simahawk Sep 11, 2020
a4743ed
bknd: loc content transfer fix recover pickings domain
simahawk Sep 11, 2020
f1d8c99
Fix zone_picking move line domain on scan_location
simahawk Sep 14, 2020
4b2c6a4
front: prevent autocomplete login api key input
simahawk Sep 15, 2020
aa10458
Fix location content transfer tests
sebalix Sep 16, 2020
1ce4f60
Merge pull request #71 from sebalix/13.0-shopfloor-fix-tests-1527
sebalix Sep 16, 2020
30533ea
Implement change.package.lot as a Component instead of Mixin
guewen Sep 2, 2020
63dfaad
Skip unittest failing on travis
guewen Sep 16, 2020
18624c8
checkout: Fix flaky test for list_packaging
guewen Sep 17, 2020
dbec76e
new method to validate moves in a separate transfer (#72)
sebalix Sep 17, 2020
712aa4c
pack transfer: check of scanned dest. location vs move's destination
guewen Sep 9, 2020
343928a
single pack transfer: extract move in new picking and use action_done
guewen Sep 17, 2020
186d4ad
zone picking: extract move in new picking and use action_done
guewen Sep 17, 2020
1ed4db4
location transfer: extract move in new picking and use action_done
sebalix Sep 17, 2020
85533ca
backend: remove code related to _action_done usage
sebalix Sep 17, 2020
293a97b
location transfer front: Improve handling of multi/single lines/packages
guewen Sep 18, 2020
3a55deb
shopfloor_mobile: REF index to render app w/ qweb template
simahawk Aug 28, 2020
01f6131
location content transfer: add completion info
sebalix Sep 21, 2020
5b9a566
backend: change "postponed" as "priority" (#80)
guewen Sep 22, 2020
b65ee25
location transfer: new endpoint to remove a package level
sebalix Sep 17, 2020
577a914
Merge pull request #79 from sebalix/13.0-shopfloor-dismiss_package_level
sebalix Sep 22, 2020
b13662b
Merge pull request #84 from sebalix/13.0-shopfloor-location_transfer_…
sebalix Sep 22, 2020
b9a1671
shopfloor_mobile: improve serve assets
simahawk Sep 23, 2020
6788e8f
shpofloor_mobile: embed external resources, all minified
simahawk Sep 23, 2020
bcdb627
Merge pull request #82 from camptocamp/version-mgmt
simahawk Sep 24, 2020
f031b3e
shopfloor_mobile: add translation registry
simahawk Sep 21, 2020
bb14368
shopfloor_mobile: register processes as local components
simahawk Sep 21, 2020
f59a94c
shopfloor_mobile: processes not registered globally anymore
simahawk Sep 21, 2020
259e6ab
shopfloor_mobile: add copyright
simahawk Sep 21, 2020
fe54534
shopfloor_mobile: add readme
simahawk Sep 21, 2020
fe93346
shopfloor_mobile: add IDs on assets to ease hooking
simahawk Sep 24, 2020
20ea953
shopfloor_mobile: controllers propagate kwargs
simahawk Sep 24, 2020
f176d6a
shopfloor_mobile: resource app version named param as 'v'
simahawk Sep 24, 2020
1620016
shopfloor_mobile: process registry ease extension
simahawk Sep 24, 2020
c379787
shopfloor_mobile: process registry cleanup and doc
simahawk Sep 24, 2020
72dce0d
Add shopfloor_mobile_custom_example
simahawk Sep 24, 2020
b41ecd1
shopfloor_mobile: fix missing /lib assets
simahawk Sep 24, 2020
406ab20
Fix error when product has no default_code
guewen Sep 24, 2020
e6f0fac
Merge pull request #83 from simahawk/go-for-oca
simahawk Sep 25, 2020
7e07718
Merge pull request #86 from camptocamp/fix-default_code-required
simahawk Sep 25, 2020
c941406
backend: Rename method for better understanding
guewen Sep 25, 2020
d0ea89d
Add missing imports of tests
guewen Sep 25, 2020
2a8769b
backend: fix reset of result_package_id on move._action_assign()
guewen Sep 25, 2020
43d3d38
backend: Fix issue on stock out endpoints
guewen Sep 25, 2020
b6a8f59
Merge pull request #87 from camptocamp/13.0-shopfloor-stock-out
simahawk Sep 30, 2020
294d4d6
shopfloor: zone_picking, show if location are about to be empty (#90)
sebalix Oct 1, 2020
1231f2b
shopfloor: zone_picking rename empty_location_src -> location_will_be…
simahawk Oct 5, 2020
81f1bb5
shopfloor_mobile: list/select add card_klass option
simahawk Oct 5, 2020
1cea4e6
shopfloor_mobile: zone_picking make line detail labels bold
simahawk Oct 5, 2020
c70dcf7
shopfloor_mobile: zone_picking table mode use priority widget
simahawk Oct 5, 2020
3ee08c1
shopfloor_mobile: zone_picking show special icon for location_will_be…
simahawk Oct 5, 2020
5ba62cf
shopfloor_mobile: zone_picking show qty picker
simahawk Oct 5, 2020
3e9902b
shopfloor_mobile: manual-select support list_item_klass_maker
simahawk Oct 5, 2020
5b17cd1
shopfloor_mobile: priority-widget no need for record prop
simahawk Oct 5, 2020
6882dc9
shopfloor_mobile: update roadmap
simahawk Oct 5, 2020
43378ee
shopfloor_mobile: add fullscreen toggle icons
simahawk Oct 5, 2020
b9df51c
shopfloor_mobile: zone_picking table save space
simahawk Oct 5, 2020
eabce58
Merge pull request #91 from simahawk/zone-picking-show-empty-loc
simahawk Oct 5, 2020
9dcd628
shopfloor_mobile: bump 13.0.1.1.0
simahawk Oct 6, 2020
6771a61
backend: add option on menu to allow unreserving moves
guewen Oct 7, 2020
09ad218
location transfer: implement unreserve of existing moves
guewen Oct 7, 2020
fdbfcb3
single pack transfer: implement unreserve of existing moves
guewen Oct 7, 2020
b2291a0
backend: Add a component to factorize savepoint methods
guewen Oct 7, 2020
856adc9
Rework change of package/lot
guewen Sep 7, 2020
d54e27f
shopfloor: add readme
guewen Oct 9, 2020
1cb736e
shopfloor: add copyrights
guewen Oct 9, 2020
e3c4b63
Update ROADMAP.rst
simahawk Oct 12, 2020
7c4eb2c
Merge pull request #93 from camptocamp/13.0-shopfloor-oca-ready
simahawk Oct 12, 2020
904e775
Merge branch '13.0' into 13.0-shopfloor
simahawk Oct 12, 2020
e14d731
shopfloor_mobile: fix readme usage menu path
simahawk Oct 12, 2020
8b2ca42
shopfloor_mobile: fix floating menu width
simahawk Oct 13, 2020
8e63539
oca_dependencies.txt fix linting
simahawk Oct 13, 2020
a8f4b82
shopfloor: fix linting
simahawk Oct 13, 2020
7dba09a
shopfloor_batch_automatic_creation: update manifest and README
simahawk Oct 13, 2020
cbf6d9f
shopfloor_checkout_sync: update manifest and README
simahawk Oct 13, 2020
5d8edd9
shopfloor: update manifest and README
simahawk Oct 13, 2020
2539329
shopfloor_mobile: update manifest and README
simahawk Oct 13, 2020
f2837a8
shopfloor: fix permission in tests
simahawk Oct 13, 2020
c5dcd12
backend: save the form only when all moves have been added
guewen Oct 19, 2020
77968d9
delivery: fix failing test
guewen Oct 19, 2020
54476d6
backend: fix flaky tests
guewen Oct 20, 2020
5a752df
backend: fix more flaky tests
guewen Oct 20, 2020
0398537
backend: fix more flaky tests by forcing order of moves in tests
guewen Oct 20, 2020
9919664
cluster picking: make sort of packages deterministic
guewen Oct 20, 2020
f62c07d
zone_picking/unload_set_destination: fix move.state = partially_avail…
simahawk Oct 19, 2020
9c11716
shopfloor: improve logs with exception detail + severity
simahawk Oct 14, 2020
5043ba8
shopfloor: improve logs filtering
simahawk Oct 14, 2020
9e62aff
shopfloor: log dict data as json
simahawk Oct 14, 2020
662b4ff
shopfloor: log improve form display
simahawk Oct 14, 2020
b495b14
shopfloor: bump 13.0.1.2.0 with migration step
simahawk Oct 14, 2020
d10f0dc
shopfloor: log use ace widget for params n headers
simahawk Oct 19, 2020
f0311b4
location content transfer: add test to reproduce an error
sebalix Oct 21, 2020
8446d8c
location content transfer: fix if no move line to unreserve
sebalix Oct 21, 2020
29c91a1
Merge pull request #95 from simahawk/shopfloor-log-severity
simahawk Oct 21, 2020
265206e
shopfloor_mobile: fix odoo data handling for aliased states
simahawk Sep 30, 2020
390b1a4
zone_picking: list all zones on start
simahawk Sep 29, 2020
a4de47b
shopfloor_mobile: bump 13.0.1.2.0
simahawk Oct 22, 2020
bae61d1
Merge pull request #89 from simahawk/zone-picking-list-zones
simahawk Oct 22, 2020
afddb1f
Fix error with message being a dict, not str
guewen Oct 26, 2020
053fa22
Merge pull request #98 from camptocamp/13.0-shopfloor-bug-picking-sta…
simahawk Oct 26, 2020
7d9e6e0
location content transfer: fix wrong return
guewen Oct 26, 2020
04cdc97
shopfloor_mobile: clean dead demo code
simahawk Oct 23, 2020
164c652
shopfloor: refactor header validation
simahawk Oct 26, 2020
29212ee
shopfloor: split app/menu to user/menu
simahawk Oct 26, 2020
fe3179c
shopfloor: add picking edit form
simahawk Oct 23, 2020
c974394
shopfloor_mobile: fix odoo.GET
simahawk Oct 26, 2020
82de055
shopfloor_mobile: log indexed demo keys
simahawk Oct 26, 2020
39d73e4
shopfloor_mobile: controller propagate kw to template
simahawk Oct 26, 2020
074727a
shopfloor_mobile: enable vuejs devtools in debug mode
simahawk Oct 26, 2020
873230b
shopfloor_mobile: detail-card add slot after details
simahawk Oct 26, 2020
1e77f61
shopfloor_mobile: detail-picking add slot after detail
simahawk Oct 26, 2020
912473f
shopfloor_mobile: add speed-dial component
simahawk Oct 26, 2020
b11bbae
shopfloor_mobile: add picking edit form
simahawk Oct 26, 2020
c842b31
shopfloor_mobile: screen change empty content text
simahawk Oct 26, 2020
6bc0e65
shopfloor: picking info add picking_type_code
simahawk Oct 27, 2020
0b0970b
shopfloor: location fix reserved move lines compute
simahawk Oct 27, 2020
959e96d
shopfloor_mobile: fix web manifest
simahawk Oct 27, 2020
bd4d5f3
shopfloor_mobile: list add divider
simahawk Oct 27, 2020
4387aa3
shopfloor_mobile: make app background light grey and configurable
simahawk Oct 27, 2020
ed06739
Prevent migration failure when exception is not parsed as expected
guewen Oct 26, 2020
c7caa8d
shopfloor menus: add option to ignore unavailable putaway
guewen Oct 26, 2020
aac75db
single pack transfer: implement ignore no putaway available option
guewen Oct 26, 2020
d4f2034
location transfer: implement ignore no putaway available option
guewen Oct 26, 2020
c81ba7a
shopfloor menus: Remove editable list view
guewen Oct 27, 2020
24d7bab
shopfloor_mobile: imp/fix all detail info screens
simahawk Oct 27, 2020
623f222
shopflor_mobile: demo.core.make_picking add type code
simahawk Oct 27, 2020
28e8feb
shopfloor_mobile: bump 13.0.1.3.0
simahawk Oct 27, 2020
e66fdb2
shopfloor: bump 13.0.1.3.0
simahawk Oct 27, 2020
bdac134
Merge pull request #101 from simahawk/shopfloor-mix-imp
simahawk Oct 29, 2020
895acda
Merge pull request #96 from simahawk/zone-picking-fix-partially-avail
simahawk Oct 29, 2020
c1d77f5
shopfloor_mobile: allow edit picking for all types
simahawk Oct 30, 2020
c3cf07c
shopfloor_mobile: bump 13.0.1.3.1
simahawk Oct 30, 2020
139a966
shopfloor_mobile: loc.cont.transfer fix label
simahawk Oct 30, 2020
456dc3c
location transfer: allow to scan source package on lines
guewen Oct 30, 2020
2f275a1
shopfloor: fix singleton error
sebalix Nov 2, 2020
25c1483
Merge pull request #104 from sebalix/13.0-shopfloor-fix-singleton-error
simahawk Nov 2, 2020
fcbad50
shopfloor_mobile: get available lang from registry
simahawk Nov 2, 2020
f06daac
shopfloor_mobile: split i18n lang files
simahawk Nov 2, 2020
8fbeb07
shopfloor_mobile: add more translation keys
simahawk Nov 2, 2020
9353278
shopfloor_mobile: bump 13.0.1.4.0
simahawk Nov 2, 2020
d1d2157
Merge pull request #105 from simahawk/shopfloor-mobile-transl
simahawk Nov 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude: |
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
/static/(src/)?lib/|
lib/|
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
# You don't usually want a bot to modify your legal texts
Expand Down Expand Up @@ -40,6 +40,10 @@ repos:
args:
- --color
- --fix
# SPECIAL CASE: barcode scanner app use Vue.js +
# advanced JS (modules, classes, etc)
# which are not supported by OCA rules yet.
exclude: shopfloor_mobile/*
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
Expand Down
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
after_success:
- stage: test
env:
- TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
- TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1" MQT_DEP="PIP"
- stage: test
env:
- TESTS="1" ODOO_REPO="OCA/OCB"
- TESTS="1" ODOO_REPO="OCA/OCB" MQT_DEP="PIP"

env:
global:
Expand All @@ -41,6 +41,8 @@ install:
${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
# Requirements to test server_environment modules
- printf '[options]\n\nrunning_env = dev\n' > ${HOME}/.openerp_serverrc

script:
- travis_run_tests
Expand Down
2 changes: 2 additions & 0 deletions oca_dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ product-attribute
server-tools
stock-logistics-workflow
web
rest-framework
server-auth
1 change: 1 addition & 0 deletions setup/shopfloor/odoo/addons/shopfloor
6 changes: 6 additions & 0 deletions setup/shopfloor/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,
)
6 changes: 6 additions & 0 deletions setup/shopfloor_batch_automatic_creation/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,
)
6 changes: 6 additions & 0 deletions setup/shopfloor_checkout_sync/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,
)
1 change: 1 addition & 0 deletions setup/shopfloor_mobile/odoo/addons/shopfloor_mobile
6 changes: 6 additions & 0 deletions setup/shopfloor_mobile/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,
)
6 changes: 6 additions & 0 deletions setup/shopfloor_mobile_custom_example/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,
)
193 changes: 193 additions & 0 deletions shopfloor/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
=========
Shopfloor
=========

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwms-lightgray.png?logo=github
:target: https://github.com/OCA/wms/tree/13.0/shopfloor
:alt: OCA/wms
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/wms-13-0/wms-13-0-shopfloor
: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/13.0
:alt: Try me on Runbot

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

Shopfloor is a barcode scanner application for internal warehouse operations.

The application supports scenarios, to relate to Operation Types:

* Cluster Picking
* Zone Picking
* Checkout/Packing
* Delivery
* Location Content Transfer
* Single Pack Transfer

This module provides REST APIs to support the scenarios. It needs a frontend
to consume the backend APIs and provide screens for users on barcode devices.
A default front-end application is provided by ``shopfloor_mobile``.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Configuration
=============

Profiles
~~~~~~~~

In Inventory / Configuration / Shopfloor / Profiles.

The profiles are used to restrict which menus are shown on the frontend
application. When a user logs in the scanner application, they have to
select their profile, so the correct menus are shown.

Menus
~~~~~

In Inventory / Configuration / Shopfloor / Menus.

The menus are displayed on the frontend application and store the configuration
of the scenarios. Each menu must use a scenario and defines which Operation Types
they are allowed to process.

Their profile will restrict the visibility to the profile chosen on the device.
If a menu has no profile, it is shown in every profile.

Some scenarios may have additional options, which are explained in tooltips.

Logs retention
~~~~~~~~~~~~~~

Logs are kept in database for every REST requests made by a client application.
They can be used for debugging and monitoring of the activity.

The Logs menu is shown only with Developer tools (``?debug=1``) activated.

By default, Shopfloor logs are kept 30 days.
You can change the duration of the retention by changing the System Parameter
``shopfloor.log.retention.days``.

If the value is set to 0, the logs are not stored at all.

Logged data is: request URL and method, parameters, headers, result or error.

Usage
=====

An API key is created in the Demo data (for development), using
the Demo user. The key to use in the HTTP header ``API-KEY`` is: 72B044F7AC780DAC

Curl example::

curl -X POST "http://localhost:8069/shopfloor/user/menu" -H "accept: */*" -H "Content-Type: application/json" -H "API-KEY: 72B044F7AC780DAC"

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

* improve documentation
* split out scenario components to their own modules

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%0Aversion:%2013.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
~~~~~~~~~~~~

* Guewen Baconnier <[email protected]>
* Simone Orsi <[email protected]>
* Sébastien Alix <[email protected]>
* Alexandre Fayolle <[email protected]>
* Benoit Guillot <[email protected]>
* Thierry Ducrest <[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-guewen| image:: https://github.com/guewen.png?size=40px
:target: https://github.com/guewen
:alt: guewen
.. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px
:target: https://github.com/simahawk
:alt: simahawk
.. |maintainer-sebalix| image:: https://github.com/sebalix.png?size=40px
:target: https://github.com/sebalix
:alt: sebalix

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

|maintainer-guewen| |maintainer-simahawk| |maintainer-sebalix|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions shopfloor/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from . import controllers
from . import models
from . import actions
from . import services
64 changes: 64 additions & 0 deletions shopfloor/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Copyright 2020 Camptocamp SA (http://www.camptocamp.com)
# Copyright 2020 Akretion (http://www.akretion.com)
# Copyright 2020 BCIM
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Shopfloor",
"summary": "manage warehouse operations with barcode scanners",
"version": "13.0.1.3.0",
"development_status": "Alpha",
"category": "Inventory",
"website": "https://github.com/OCA/wms",
"author": "Camptocamp, BCIM, Akretion, Odoo Community Association (OCA)",
"maintainers": ["guewen", "simahawk", "sebalix"],
"license": "AGPL-3",
"application": True,
"depends": [
"stock",
"stock_picking_batch",
"base_rest",
"base_jsonify",
"auth_api_key",
# OCA / stock-logistics-warehouse
"stock_picking_completion_info",
# OCA / stock-logistics-warehouse
"stock_quant_package_dimension",
# OCA / stock-logistics-warehouse
"stock_quant_package_product_packaging",
# TODO: used for manuf info on prod detail.
# This must be an optional dep
"product_manufacturer",
# TODO: used for prod lot expire detail info.
# This must be an optional dep
"product_expiry",
# TODO: used for package.package_storage_type_id detail info.
# This must be an optional dep
"stock_storage_type",
# TODO: used for picking.carrier_id detail info.
# This must be an optional dep
"delivery",
# OCA / product-attribute
"product_packaging_type",
],
"data": [
"data/ir_config_parameter_data.xml",
"data/ir_cron_data.xml",
"security/ir.model.access.csv",
"views/res_partner.xml",
"views/shopfloor_menu.xml",
"views/stock_picking_type.xml",
"views/stock_location.xml",
"views/stock_move_line.xml",
"views/stock_picking_views.xml",
"views/shopfloor_profile_views.xml",
"views/shopfloor_log_views.xml",
"views/menus.xml",
],
"demo": [
"demo/auth_api_key_demo.xml",
"demo/stock_picking_type_demo.xml",
"demo/shopfloor_menu_demo.xml",
"demo/shopfloor_profile_demo.xml",
],
}
28 changes: 28 additions & 0 deletions shopfloor/actions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"""
Support actions available from any Service Components.

To use an Action Component, a Service component

Difference with Service components:

* Public methods of a Service Components are exposed in the REST API,
Action Components are never exposed

An Action component can be get from Service or Action Components using
``self.actions_for(usage)``.

The goal of the Action Components is to share common actions
and processes between Services, avoid having too much logic in
Services.

"""
from . import base_action
from . import change_package_lot
from . import data
from . import data_detail
from . import completion_info
from . import location_content_transfer_sorter
from . import message
from . import search
from . import inventory
from . import savepoint
Loading