mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
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
16 lines
511 B
Python
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",
|
|
}
|