Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Receiving in the Purchase UoM

by
Data Dance s.r.o., Radovan Skolnik
- 09/03/2024 16:36:20

Hi,


I was dealing with this just recently. What works (although it's not 100% what yo want) is using those 2 modules:

  • product_secondary_unit - allows you to add secondary UoM(s) with their factor - i.e. you add secondary UoM of kg with conversion factor of 1/1.26 (this seems a bit awkward but it's inverted - I have created a small module to be able to add inverse factor of 1.26 and ocmpute the original factor)
  • stock_secondary_unit - this basically allows you to choose one of the product's secondary UoM to show (besides qty in original UoM) qty on hand as well as in stock moves. Actually in stock moves it does not work - see https://github.com/OCA/stock-logistics-warehouse/pull/1769 for my proposal to fix it.

Best regards


    Radovan



On sobota 9. marca 2024 16:27:22 CET Daniel Reis wrote:

> Hello, maybe some of you came across this need:

> I keep my Glycerine stock in Kg.

> My supplier sells it in Liters.

> I know that the density of Glycerine is 1.26, so 1 Liter = 1.26 Kg.

> I would like to:

> 1. Send a Purchase Order for 100 Liters.

> 2. Receive from the Supplier the 100 Liters delivered.

> 3. View my stock as 126 Kg.

> Setting a Purchase UoM works for 1. and 3., but does not work for 2.

> Using Packagings does not work either.

> Any advice?

>

> Thank you

> --

> DANIEL

> REIS*

> MANAGING PARTNER

> M:*

> +351 919 991 307

> E:*

> dreis@OpenSourceIntegrators.com [1]

> A:*

> Avenida da República 3000, Estoril Office B, 3º Escr.34,

> 2649-517 Cascais

>

>

>

>

> _______________________________________________

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

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

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

>

>

>

> [1] mailto:dreis@OpenSourceIntegrators.com

> [2] https://odoo-community.org/groups/contributors-15

> [3] https://odoo-community.org/groups?unsubscribe



Reference