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.

1

_BaseModel__view_look_dom_arch [Closed]

By
priyankahdp
on 3/21/13, 6:24 AM 2,168 views

The Question has been closed

by
priyankahdp
on 04/30/2013 10:19:49

Need to clafiry what is this error.?unable to install my own devbeloped module.? rechecked my view XML file also.can't find any error

  File "/home/priyan/Software/openerp-7.0-20130309-002120/openerp/osv/orm.py", line 1776, in __view_look_dom
    xarch, xfields = relation.__view_look_dom_arch(cr, user, f, view_id, ctx)
AttributeError: 'NoneType' object has no attribute '_BaseModel__view_look_dom_arch'
2013-03-21 09:19:32,668 3683 ERROR bpl_db openerp.tools.convert: Parse error in /home/priyan/Software/openerp-7.0-20130309-002120/openerp/addons/bpl/bpl_view.xml:276: 
<record model="ir.ui.view" id="bpl_work_offer_form">
            <field name="name">bpl.work.offer.form</field>
            <field name="model">bpl.work.offer</field>
            <field name="arch" type="xml">
                <form string="bpl_work_offer" version="7.0">
                    <sheet>

..............................................

  File "/home/priyan/Software/openerp-7.0-20130309-002120/openerp/osv/osv.py", line 144, in wrapper
    raise except_osv(inst.name, inst.value)
except_osv: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
2013-03-21 09:19:32,680 3683 INFO bpl_db werkzeug: 127.0.0.1 - - [21/Mar/2013 09:19:32] "POST /web/dataset/call_button HTTP/1.1" 200 -
2

priyankahdp

--priyankahdp--
1089
| 5 5 6
Colombo, Sri Lanka
--priyankahdp--
Java Developer ORACLE Python J2EE Spring Hibernate Struts & Jquery............. :-)
priyankahdp
On 3/21/13, 7:36 AM

Sorted it after change __openerp__.py file under version 7 struture

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/21/13, 6:24 AM
Seen: 2168 times
Last updated: 3/16/15, 8:10 AM