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

Assest management error

By
Erhuvwu Akpobaro
on 5/26/15, 12:15 PM 512 views

Hello ,


I have installed the assets management module in odoo. I receive an error whenever I try to validate a supplier invoice the error i get  is :


"null value in column "asset_id" violates not-null constraint

DETAIL: Failing row contains (3, 4, EXJCMMC/2015/000004, 2015-03-25 15:50:44.40533, null, f, null, 99, 150, number, 2015-03-25 15:50:44.40533, t, 2104, Volvo 45646, 99, 0.3, 100, 68, null, null, draft, 12, 2015-03-25, 26, linear, null).

" while evaluating

u'action_number()'


Does any one know why the assets_id is null even though i have selected an asses_category ?  

0
DM
On 12/16/15, 7:17 AM

Erhu, its because your using assets module which changes the account.asset.asset fields. For example after installation of assets module account.asset.asset field "name" from char becomes many2one relationship with asset.asset so technically when you click validate suppliers invoice its trying to create account.asset.asset record but field name now is many2one... So technically i assume workflow should be like this first create asset.asset record and link it with account.asset.asset. So module Assets By CodUP doest really work very well with account assets module...

 

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: 5/26/15, 12:15 PM
Seen: 512 times
Last updated: 12/16/15, 7:17 AM