Ecommerce still cannot sell by multiples of packaging even in v19 where units and packages have been combined
Longtime user of Odoo enterprise here from v15, 16, 17, 18, and now 19. One thing that’s really bugging me across all these five versions is selling using the ecommerce/website app. For context, I setup a product X with internal UoM pieces (pcs), I purchase it in packaging of master carton (e.g. one hundred pcs per master carton), and sell it in packaging of box (e.g. ten pcs per box).
Buying and selling product X with the purchase and sales app is nothing unusual, units and packages can be converted. But the ecommerce app always sticks to the base unit (pcs). It’s definitely inconvenient for ecommerce buyers when they want to e.g. purchase 20 cartons they must manually input 200 pcs, or worse they can put in 205 pcs which’s not a whole number of cartons. Meanwhile ecommerce cannot sell by multiple of packaging unlike sales app.
As of v19 where units and packaging have been merged, this issue seems to still persists in ecommerce. Selecting different base unit is not feasible as it’d make awkward recordkeeping (e.g. on hand quantity of 100 cartons of 10 pcs or variations thereof, instead of directly showing 1000 pcs). I’ve consulted the docs if there’s any changes for v19 regarding this, which at the moment seems to be hasn’t been updated yet. I’m also aware of workarounds such as using second entry of product X—set with different UoM e.g. cartons of 10 pcs—specifically for ecommerce but this surely cannot be the default as then I would need to tediously shuttle stocks using MO from the base product X to the version of X used in ecommerce.
I would really appreciate solutions and insights regarding this situation as it really puts the dent in otherwise nicely designed ecommerce app.




Good day Ray,
I’ve tried setting up a sample product closely mirroring your packaging setting. I couldn’t post images for the moment so I’ll try to describe my configuration.
Product X
UoM: Units
Packaging:
Unit and package setting:
Box of 50:
Carton of 5000:
Unfortunately, I’m still missing the packaging selector in the ecommerce (the part between the price and add to cart button). Could I miss some settings somewhere that prevents me from achieving similar results?
I have the same problem, I don't want to sell the standard UoM as id doesn't make any sense. For example, I'm selling aluminium profile, and i buy it in meters, but in the shop i want to sell it as a 2m bar, however, the meter still stays sellable, how can this be prevented?