Fix
This commit is contained in:
parent
34765fc0da
commit
1315beb3ac
|
@ -39,7 +39,7 @@ class InternalShipment(metaclass=PoolMeta):
|
|||
def default_location_storage():
|
||||
Location = Pool().get('stock.location')
|
||||
locations = Location.search([('type', '=', 'warehouse')])
|
||||
return [l.id for l in locations if l.storage_location.id]
|
||||
return [l.storage_location.id for l in locations if l.storage_location]
|
||||
|
||||
@classmethod
|
||||
def wait(cls, shipments):
|
||||
|
|
Loading…
Reference in New Issue