Community mailing list archives

Re: Custom module with view - AssertionError - Expecting element openerp

Kranksoft, Brecht Verhaeghe
- 11/21/2014 06:58:45

Just a wild guess but could it be the cariage return/line feed, this is windows style, unix style line endings expected i think.

Met vriendelijke groeten,

Brecht Verhaeghe
tel 0497/46 07 27

2014-11-21 12:08 GMT+01:00 Chris @ KeenWeb <>:



I am relative new to Odoo, a great set of applications.


I am trying to build a custom module that extends res.partner. The extra fields are added to the model but the view fails to install with the following message


Expecting element openerp, got record, line……


Traceback log


<img width=887 height=502 id="Afbeelding_x0020_3" src="cid:image001.png@01D00582.560E9CF0">


Here is the view xml


<img width=950 height=289 id="Afbeelding_x0020_5" src="cid:image004.png@01D00582.FB26B650">


Any ideas


Met vriendelijke groet


Chris @


<img width=200 height=79 id="Afbeelding_x0020_1" src="cid:image002.png@01D00582.560E9CF0" alt="KeenWeb_email">


        06 -836 095 11


Post to: