Odoo Help

Welcome!

This community 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.

0

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

By
Qamar Soft
on 10/16/14, 9:26 AM 1,401 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""

 

 

0
Qamar Soft
On 10/18/14, 5:42 AM

any idea ?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/16/14, 9:26 AM
Seen: 1401 times
Last updated: 3/16/15, 8:10 AM