Skip to Content
Menu
This question has been flagged

I need to create a new field in product form for the unit of measure. My requirements are as below.

product unit of measure = Unit

Purchase unit of measure = Cotton 24, cotton 48, cotton 80 etc

Custom Field = x_pcs_in_cotton

user will put 24 etc in this field.

On save, odoo should create a new product_uom with following fields and set it to purchase_uom for this product.

Name = Cotton 24

Reference unit of measure = Unit

uom_type = Bigger Than the reference unit of measure.

factor_inv = 24

Rounding = 1/24


Avatar
Discard
Related Posts Replies Views Activity
3
Oct 18
10386
0
Sep 24
126
3
Aug 24
529
0
Feb 24
265
0
Feb 24
159