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

Getting integrity error when I try to create new project

By
AlSayedGamal
on 2/2/15, 2:27 PM 1,066 views

I'm getting integrity error when I try to create new project.

creation/update: a mandatory field is not correctly set

[object with reference: Analytic Account - account.analytic.account]

How to resolve this issue ?

1
Tharcisse Mukundayi
On 3/31/15, 7:45 AM

You get this error because your analytic accounts chart is empty, (I got the same error too).

You need to setup your analytic account chart first as described here: https://doc.odoo.com/book/3/3_9/accounts_place/

The following link has usefull info too: https://doc.odoo.com/book/4/4_10_Accounts/4_10_Accounts_analytic_chart

When creating the project, on the second tab (other informations) Select a parent analytic account for your project at the bottom, better choose an account of type "Analytic View" as base account. This way, your project will generate an account in your analytic account chart under the account you choosed as basis. Remember, when creating an analytic account of type "Contract-Project" it automaticaly creates a new project. I my opinion, better not create this kind of account manualy into your analytic accounts chart. Let it be created by your new project


Issue was that the parent analytical account wasn't setup for some reason.

AlSayedGamal
on 6/29/15, 7:09 AM

from accounting>configuration>analytical accounting > analytical account> I created a view projects analytical account and then when creating a new project. I choose that parent account in the (Other Info) tab > Parent https://www.dropbox.com/s/tscd9182313sb62/Screenshot 2015-06-29 13.11.12.png?dl=0

AlSayedGamal
on 6/29/15, 7:14 AM
0
Achref Mhadhbi
On 9/21/15, 6:46 AM

Hi

By default when we add new Project the Parent Analytic Account is Projects as type analytic View.

In Your case ,The account analytic named 'Projects' type view is deleted so add new account analytic named 'Projects' Type Analytic view.

Add New Project named Test set the parent as 'Project' and Save and then active the developer mode and set default Parents Analytic Account , chek all users and save.


0
Saravanan Sakthivel
On 3/31/15, 7:09 AM

Hi,

Field Analytic Accunt many2one(account.analytic.account) is mandatory in project class.You may not have view access for this fields.Kindly add ur user name into analytic account group.

Try to check in backend.

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

2 follower(s)

Stats

Asked: 2/2/15, 2:27 PM
Seen: 1066 times
Last updated: 9/21/15, 6:46 AM