Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Packaging in the warehouse

by
Tecnativa. S. L., David Vidal
- 29/06/2023 10:18:45
Yes, in that regard secondary units act only as helper of different uom equivalences and you wouldn't be able to tell how many kg of rice you have stored in your bags (and neither product.packaging in its standard form).




El mié, 28 jun 2023 a las 23:42, Radovan Skolnik (<notifications@odoo-community.org>) escribió:
Hello David,

I have gone through the code but I somehow fail to see how secondary unit could be used for the purpose. I could see the incoming package in a secondary UoM? Not sure I follow here. What would represent a 50kg bag (packaging) of rice (product)?

On the other hand, your suggestion for the other question (stock.quant.package and stock.package.type) seem quite relevant here. It would seem to me that stock.quant.package references:
A) stock.quant which in turn reference product_id (rice in this case)
B) stock.package.type which represents the kind of bag the rice is put into

The stock.package.type however does not limit the "amount" (in UoM) of stock.quant present in it, so not a perfect solution.

Or maybe I am missing something here. Would be happy if you explained further.

Best regards,

	Radovan

On streda 28. júna 2023 18:02:44 CEST David Vidal wrote:


> Take a look at our approach for this in the modules family


> product_seconday_unit which deals with these double format


> issues: https://odoo-community.org/shop?&search=secondary_unit


> 


> 


> El mié, 28 jun 2023 a las 17:47, Radovan Skolnik


> (<notifications@odoo-community.org>) escribió:


> 


> Hello,


> 


> another question for another customer. The customer is dealing with storing


> and distribution of food supplies. The way the products are modelled (in SAP


> which is the source of master data) is a product - for example rice, and a


> packaging - for example 50kg bag, 25kg bag, ...


> 


> So the first idea was to use Odoo's packaging. However Odoo does not use it


> for inventory management (inside warehouse). The different types of


> packaging could maybe be modelled as attributes for variants. But that


> doesn't feel right as well. In this scenario I would expect to be able to


> get a report of total amount of rice in the warehouse as well as grouped by


> different packaging types.


> 


> Any pointers are highly welcome. Thank you.


> 


> Best regards


> 


> 	Radovan Skolnik


> 


> 


> 


> 


> _______________________________________________


> Mailing-List: https://odoo-community.org/groups/contributors-15


> Post to: mailto:contributors@odoo-community.org


> Unsubscribe: https://odoo-community.org/groups?unsubscribe


> 


> 


> _______________________________________________


> Mailing-List: https://odoo-community.org/groups/contributors-15


> Post to: mailto:contributors@odoo-community.org


> Unsubscribe: https://odoo-community.org/groups?unsubscribe




_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference