"Allow using different units of measures" setting is a product feature, but defined in the "sale" module which may not be installed

Asked by Phil Frost on 2013-01-10

The product module defines the group product.group_uom, or "Manage Multiple Units of Measure". I can enable technical features, then assign this under the access rights for each user, but this is tedious.

The solution seems to be enabling the "Allow using different units of measures" setting under Settings -> Sales. However, this is defined in the "sale" module.

If I install the accounting application, the product module will also be installed, and I will have products, and I might want to have different UoMs on my invoices. But, "Allow using different units of measures" won't be available to me, because the "sale" module isn't installed.

I think that setting should be moved to the product module, so it's always available in any configuration that has products.

Question information

English Edit question
Odoo Addons (MOVED TO GITHUB) Edit question
No assignee Edit question
Last query:
Last reply:
Amit Parik (amit-parik) said : #1

Hi Phil,

Thanks for your detailed explanation.

I want to show you one more thing, you can see the "Manage Multiple Units of Measure" group (privileges ).
You can assign your user to this group and then you can change the unit of measure on product as well as invoice line too.

I think this will helps you.

Note: "Manage Multiple Units of Measure" group will be visible when you assign first "Technical feature" group into your user.

Thank you!

Numérigraphe (numerigraphe) said : #2

Dear Phil Frost,
The option "Allow using different units of measures" enables the "Unit of Sale".
Don't let Fabien fool you with his "Secondary Unit of Measure" nonsense. This second UoM is only useful when you use Sales and that's the reason the option is defined there.
In Sales you may use both an UoM and an UoS, but in Invoices you will still only see one Unit of Measure: that's actually the UoS you're seeing already, and if you don't have Sales then UoS = UoM by default.

The only exception I think of is Warehouse management - you may use both UoM and UoS on stock moves but I don't see a use case for this.

Lionel Sausin.

Numérigraphe (numerigraphe) said : #3

Just to be clear : by "only useful when you use Sales" I just mean that's the limited scope of the current implementation - other use cases are not covered by the official modules.
There have been other implementations to cover them in the community but I'm unsure what their status is now.

Phil Frost (bitglue) said : #4

Thanks for the help, but this was never a question, and these replies have not shown me anything new. Please read my bug report.

Numérigraphe (numerigraphe) said : #5

Dear Phil,
Please read the answers and stay nice. Amit Parik thinks there is no bug, but he's trying to help you nonetheless by filing a question for you. Isn't it nice of him?
I too humbly think the code doesn't work the way you think.
But maybe we just didn't understand? Maybe there is something obvious in your context that we don't know?

Can you help with this problem?

Provide an answer of your own, or ask Phil Frost for more information if necessary.

To post a message you must log in.