mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] Fix naming of the shuttle address
we hardcode the ID of the gate for now, hence we support only a single gate.
This commit is contained in:
committed by
Guewen Baconnier
parent
6b4c0045fe
commit
55c6e662e7
@@ -32,7 +32,9 @@ class StockLocation(models.Model):
|
||||
subst = {
|
||||
"code": code,
|
||||
"hostId": self.env["ir.sequence"].next_by_code("vertical.lift.command"),
|
||||
"addr": shuttle.name,
|
||||
# hard code the gate for now.
|
||||
# TODO proper handling of multiple gates for 1 lift.
|
||||
"addr": shuttle.name + '-1',
|
||||
"carrier": self.level,
|
||||
"carrierNext": "0",
|
||||
"x": x,
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
* Add support of the hardware
|
||||
* handle multiple gates for one lift
|
||||
|
||||
Reference in New Issue
Block a user