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

[Solved] Odoo Internal server error V8 local

By
Siobhan
on 4/23/15, 6:26 AM 658 views

Hello everyone

Got this error message in Odoo: 

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.


I had updated a file and was upgrading the module when I got this error:

ParseError: "ValidateError

Field(s) `arch` failed against a constraint: Invalid view definition


Error details:

Field `labels_id` does not exist


Error context:

View `vetclinic.animal.form.view`

[view_id: 643, xml_id: n/a, model: vetclinic.animal, parent_id: n/a]" while parsing file:///C:/Odoo/server/openerp/addons/devTrain/devtrain_view.xml:16, near

<record id="vetclinic_animal_form_view" model="ir.ui.view">

<field name="name">vetclinic.animal.form.view</field>

<field name="view_type">form</field>

<field name="model">vetclinic.animal</field>

<field name="arch" type="xml">

<form string="Animal">

<field name="name"/>

<field name="birthdate"/>

<field name="breed_id"/>

<field name="classification_id"/>

<field name="labels_id"/>

</form>

</field>

</record>


When I clicked "OK" I got internal server error and now I can't get back into Odoo. I tried stop/start on both Odoo and Postgre server but still nothing. This has happened twice today (on my local and my remote machine). 

Can anyone help me?

1
Sven Petersen
On 4/23/15, 7:05 AM


you'll have to fix your view (vetclinic.animal.form.view) and/or your datamodel (vetclinic.animal), depending on what you have changed. And if your installation is on windows, you should restart the odoo service.

Does your model still contain the labels_id field?

with kind regards,

Sven
www.conexus.at

0
Siobhan
On 4/24/15, 2:06 AM

Hello Sven

Thank you for your answer. I found what is wrong... I have labels.ids  not label.id

Silly mistake but took me ages to find

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: 4/23/15, 6:26 AM
Seen: 658 times
Last updated: 5/6/15, 2:49 AM