Odoo Help


IntegrityError: null value in column "uom_id" violates not-null constraint ?

on 10/16/14, 9:26 AM 1,852 views

I update my database module with 

odoo.py -u all -d DATABASE

then I get this error :

IntegrityError: null value in column "uom_id" violates not-null constraint

DETAIL:  Failing row contains (370, null, null, 58.00, null, null, \x2f396a2f34414151536b5a4a5267414241514541534142494141442f327742..., 1, fixed, null, null, 2014-08-28 11:22:32.196832, 1.000, 1, t, 60, null, 1, sellable, 278, service, null, 129.60, 0.051, 2014-09-29 11:01:01.915453, t, 43, t, \x2f396a2f34414151536b5a4a5267414241514141415141424141442f327742..., Transport, null, \x2f396a2f34414151536b5a4a5267414241514141415141424141442f327742..., null, f, 7, f, f, null, null, t, f, [_o.option_id.name_], TR[_''.join([x.option_id.code for x in o.dimension_value_ids] or..., f,  - , t, f, f, f, f, null, 1, null, null, null, no-message, no-message).
CONTEXT:  SQL statement "UPDATE ONLY "public"."product_template" SET "uom_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "uom_id""



On 10/18/14, 5:42 AM

any idea ?

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: 10/16/14, 9:26 AM
Seen: 1852 times
Last updated: 3/16/15, 8:10 AM