Odoo Help


Why is Odoo9 putting data tags here?

David Todd
on 9/27/16, 10:25 AM 548 views

I'm writing a new custom module for work with a fresh install on a new database of Odoo 9.

The first couple times I loaded my module in, it happened without any problems. Now however, every time I attempt to install the module, I get the following error: \http\:\/\/pastebin\.com\/1bnGXvkV\ \\\

Here\ is\ the\ actual\ record\ inside\ views\.xml\:\ \http://pastebin.com/Hn5vBj1w

The difference between these two, is that inside the "arch" field, it is adding a <data> just before the form.

Why is Odoo doing this, and is there a way that I can make it not?

This forum software won't let me fix the first pastebin, nor the other backslashes. Sorry about that. I don't even know why they're there

David Todd
on 9/27/16, 10:28 AM
Jesse Rye
On 9/28/16, 11:19 PM

Is the record inside the openerp and data tags?


<!-- YOUR RECORD -->

Yes it is.



<!-- explicit list view definition -->

<record model="ir.ui.view" id="erpwarehouse.mainviewrec">

<field name="name">erpwarehouse.form</field>

<field name="model">erpwarehouse.erpwarehouse</field>

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

<form string="Test">

David Todd
on 9/29/16, 3:24 PM

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

3 follower(s)


Asked: 9/27/16, 10:25 AM
Seen: 548 times
Last updated: 9/28/16, 11:19 PM