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
Dũng (Trần Đình)
parent
355d19f7a6
commit
6fc160d25f
@@ -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