Files
stock-logistics-warehouse/stock_helper/__manifest__.py
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

16 lines
511 B
Python

# Copyright 2020-2021 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Stock Helpers",
"summary": "Add methods shared between various stock modules",
"version": "14.0.1.0.0",
"author": "Camptocamp, Michael Tietz (MT Software), Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Hidden",
"depends": ["stock"],
"data": [],
"installable": True,
"license": "LGPL-3",
}