Commit Graph

1 Commits

Author SHA1 Message Date
Michael Tietz
c063696d1d stock_helper: add location.get_closest_warehouse
On a multi warehouse configuration
where a warehouse view_location is parent of an other warehouse's view_location
this will return the closest warehouse of a location

Not like the get_warehouse method (odoo core code)
which returns from all parent warehouses found
the first one ordered by the sequence
2022-09-12 15:57:23 +02:00