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

XMLHTTPREQUESTERROR when trying to edit, delete, or create views in v7?

By
Sean Samborski
on 4/8/14, 5:53 PM 634 views

the way the OpenERP rep instructed me to add new fields to forms is not working. I have added a field:

Field Name: x_username
Field Label: Outside Salesperson

Type: Custom Field
Model: Partner
In Modules: Null

Field Type: many2one
Object Relation: res.users
Relation Field: Null
Selection Options: Null
Domain: []
Serialization Field: Null
On Delete: Set NULL

Required: Null
Readonly: Null
Searchable: Not Searchable
Translatable: Null

No I am trying to add a view:

View Name: Outside Salesperson
View Type: Tree <--Won't let me edit to form'
Object: res.partner
Sequence: 16
Inherited View: res.partner.form
All other fields : Null

Architecture:
<?xml version="1.0"?>
<field name="ref" position="before">
<field name="x_username"></field>
</field>

When I try to save, it shows "Loading" for about 10 minutes and then returns the XMLHTTPREQUESTERROR.

I have tried even duplicating the normal res.partner.form view and editing it since it is already a form. Once I duplicate, if I try to edit the new res.partner.form, it will show loading for 10 minutes and then return the XML error. If I try to delete, it shows loading for 10 minutes and then returns the XML error. Now I have multiple copies of res.partner.form that I can't edit, delete, or otherwise get rid of and I can't add new views.

What gives?

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/8/14, 5:53 PM
Seen: 634 times
Last updated: 3/16/15, 8:10 AM