Odoo Help


How to fix `uom_id` failed against a constraint:

Brandon Gay
on 6/3/15, 1:43 PM 1,238 views

When I go to add a product, I get the following error:

`uom_id` failed against a constraint: Error: The default Unit of Measure and the purchase Unit of Measure must be in the same category.

I have not been able to figure out how to resolve this. - The units are the same in both the information and procurements tabs.

Odoo Version 8.0-20150522

This is a tricky one to troubleshoot and may have something to do with your configuration. Are you using the out-of-the-box units of measure and units of measure categories?

on 6/5/15, 11:28 AM

I did. I was using units. I then tried to put in a new one for pc(s) and try that. Same result.

Brandon Gay
on 6/5/15, 12:44 PM
Brandon Gay
On 6/5/15, 12:44 PM

I did. I was using units.  I then tried to put in a new one for pc(s) and try that. Same result.

I got this fixed. I had the portal user checked. Unchecked, and it works now.

Brandon Gay
on 6/5/15, 1:11 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/3/15, 1:43 PM
Seen: 1238 times
Last updated: 6/5/15, 1:11 PM