Community mailing list archives

Re: Product to belong to only specific Warehouses

Vauxoo S.A. de C.V., Nhomar Hernandez
- 08/07/2016 03:17:56

On Sun, Aug 7, 2016 at 1:58 AM, Jordi Ballester Alomar <> wrote:

Kitti, we have a similar need. We want to maintain warehouse specific product parmeters, times. We would use an object with product + wh as key.

Then, in the product def search you could filter out that are that table, if the warehouse is passed in the context.


We are working on a sort of API here:

We have a temporally PR with the finishing process here:

Basically it does not make too much sense start to overwrite all methods per model to contextualize that model to a warehouse (IMHO too much code) what we are doing is create a sort of API that IF a field called warehous_id exists in the model then chack ACL, search and set default to the warehouse in the User.

It is now a PoC that we will implement in 3 huge users Ideas are welcome but basically at the end we will re-create the multicompany environment but mult-warehouse with too much less restrictive behavior.

Until now the default value is set into Sales orders (first PoC) and the ACl are for Picking and Sock Move (PR) but we are planning add there all involved models.

I hoper the Idea is clear, but the point is that the segmentation per warehouse works like the message system just inherit = [model]
 and gualá the model is aware of the multi-warehouse process.

Best regards.
Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942