Odoo Help


Error on validating invoice

remi mores
on 7/18/13, 5:24 AM 2,395 views


i've got the following problem when validating an invoice:

Error occurred while validating the field(s) account_id: You cannot create analytic line on view account.

Can someone explain what i did wrong?

I guess it's probably the column 'account_id' in table 'account_invoice' which gives the problem, but what is a correct value then? What id needs to be filled in there, what does it mean? Or how do i prevent the errordialog?


same problem here .


how can i validate the invoice???

Viktor Aditya
On 7/18/13, 5:42 AM

Check your account, it seems that your account type is "View". Account with "View" type only used to make structural hierachy on accounts and can't be used in transaction.

found the problem: forgot to pass the context

remi mores
on 7/18/13, 6:35 AM

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

0 follower(s)


Asked: 7/18/13, 5:24 AM
Seen: 2395 times
Last updated: 8/8/16, 8:17 AM