mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
Small refactoring adding a _get_locations method on product.mrp.area which by defaults delegates the computation to the related mrp.area. This enables extending a few things related to locations at the product.mrp.area level. Change the way `_get_locations()` work: don't return the list of child locations, only the top-most locations, and then use the `child_of` operator in the code that looks for locations.