27 Commits

Author SHA1 Message Date
mymage
084327a3a0 Translated using Weblate (Italian)
Currently translated at 100.0% (7 of 7 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_vertical_lift_kardex
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_vertical_lift_kardex/it/
2024-01-15 11:33:59 +00:00
mymage
8565c7740d Added translation using Weblate (Italian) 2023-12-18 14:35:39 +00:00
OCA-git-bot
22ba45483e [UPD] README.rst 2023-09-03 17:18:16 +00:00
OCA-git-bot
ab7b75791d stock_vertical_lift_kardex 14.0.1.1.0 2021-11-30 13:17:13 +00:00
Guewen Baconnier
6303714df5 Use a Reconnecting TCP Client Protocol
Source is https://stackoverflow.com/a/49452683/1504003
with small adaptations (reset delay and retries when we get back a
connection)

Instead of creating the connection in the "main" method, loop and reopen
a new event loop on failures, let the Protocol class handle connections
and retries on failures.

Reduce keepalive interval and store values in attributes. As many
timeouts in systems are 60 seconds, a keepalive of 50 seconds is less
likely to be stopped.

Improve logs: the docstring of connection_lost is:

      The argument is either an exception object or None. The latter means a
      regular EOF is received, or the connection was aborted or closed by this
      side of the connection.

When it receives no exception, it should not raise an error log.
2021-11-22 20:19:53 +07:00
Alexandre Fayolle
d4ef72c150 [FIX] stock_vertical_lift_kardex proxy
The proxy would not exit properly in case of a lost connection with the JMIF server.
The change allows the proxy to exit, giving a chance to an external monitoring system
to restart the service.
2021-11-22 19:47:16 +07:00
Simone Orsi
125f8139bd stock_vertical_lift_kardex: make pre-commit happy 2021-11-22 19:47:16 +07:00
oca-travis
af756ae6b3 [UPD] Update stock_vertical_lift_kardex.pot 2021-09-20 09:50:23 +00:00
dzung.tran
c1f9ed9089 [MIG] stock_vertical_lift_kardex: Migration to 14.0 2021-09-20 14:41:58 +07:00
dzung.tran
99ce38378b [IMP] stock_vertical_lift_kardex: black, isort, prettier 2021-09-20 14:41:58 +07:00
OCA-git-bot
ca934f0907 [ADD] icon.png 2021-09-20 14:41:58 +07:00
OCA-git-bot
949c1b2fa5 [UPD] README.rst 2021-09-20 14:41:58 +07:00
oca-travis
ae5d7087e5 [UPD] Update stock_vertical_lift_kardex.pot 2021-09-20 14:41:58 +07:00
Guewen Baconnier
b76cabdc87 Add release (close) of vertical lift trays
* Rename methods that fetch a tray to prevent confusion
* Add methods to release a tray
* The Kardex method to fetch a tray has to send "0" in the carrier and
  carrierNext field
* The pick and inventory screens release the tray only when there is no next
  line, because the release is implicit when we fetch the next line,
  the put screen releases everytime because the operator may take time
  to start the next line and we don't know if they are going to scan a
  next line or not.
* Exiting the screen or switching screen between put/pick/put-away has
  to release the tray as well.
2021-09-20 14:41:58 +07:00
Guewen Baconnier
2592d97823 Rework workflows using a small state machine
The documentation of the state machine is in
VerticalLiftOperationBase._transitions.
2021-09-20 14:41:57 +07:00
Alexandre Fayolle
15d21a1b19 [FIX] laser position are integers 2021-09-20 14:41:57 +07:00
Alexandre Fayolle
2f1233023c [IMP] raise exceptions when config NOK
we need a level to fetch a tray
we need the tray dimensions to point a cell
2021-09-20 14:41:57 +07:00
Alexandre Fayolle
af0e12231b [FIX] laser pointer command
The parameter was not passed in the method chain, loosing track
of the cell to which the laser pointer should be pointed at.
2021-09-20 14:41:57 +07:00
Alexandre Fayolle
aabb7a120d stock_vertical_lift_kardex: add missing dependency
we use the `level` field to materialize the tablar index -> this
field is provided by `stock_location_position`
2021-09-20 14:41:57 +07:00
Alexandre Fayolle
6fc160d25f [IMP] Fix naming of the shuttle address
we hardcode the ID of the gate for now, hence we support
only a single gate.
2021-09-20 14:41:57 +07:00
Guewen Baconnier
355d19f7a6 Add +x on kardex-proxy.py script 2021-09-20 14:41:57 +07:00
Guewen Baconnier
004eaef296 [MIG] stock_vertical_lift{,_kardex}: Migration to 13.0 2021-09-20 14:41:57 +07:00
Guewen Baconnier
f27c4d0de5 [IMP] stock_vertical_lift: black, isort 2021-09-20 14:41:57 +07:00
Alexandre Fayolle
ebcd872bb9 [IMP] add a proxy to communicate with the kardex server 2021-09-20 14:41:57 +07:00
Alexandre Fayolle
18c6aa1dd3 [IMP] abstract communication with shuttle 2021-09-20 14:41:57 +07:00
Guewen Baconnier
24d41819d3 Add method on location to fetch a tray
* Add vertical_lift_shuttle_id field on stock.location, help to find the
shuttle for a location
* Add StockLocation.fetch_vertical_lift_tray(), that needs to be
implemented in addons to send commands to the hardward to fetch a tray,
and if existing show a cell (laser pointer, ...)
* Add helpers on stock.move.line fetch_vertical_lift_tray_source() and
fetch_vertical_lift_tray_dest() that fetch the tray directly from a move
line's source or destination location
2021-09-20 14:41:57 +07:00
Guewen Baconnier
cbd73acaee Add stock_vertical_lift module 2021-09-20 14:41:57 +07:00