Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

About install locall model in openerp 7

Naroči se

Get notified when there's activity on this post

This question has been flagged
2 Odgovori
4243 Prikazi
Avatar
jackyhou

Hi everyone, I just start to learning the openerp from last weeks, I have install openerp 7 in my windows 7 and doing some basic job, I have installed some modules from openerp website, It is working fine. but when I want to install some local model, it is allways show me:

ValidateError Error occurred while validating the field(s) arch: Invalid XML for View Architecture! '

Can you tell me where is the problem? and how to fix it.

Thanks for you help.

Jacky

0
Avatar
Opusti
Avatar
jackyhou
Avtor Best Answer

2014-03-29 11:06:50,703 2452 WARNING hyde openerp.addons.base.ir.ir_ui_view: Setting the type field is deprecated in the ir.ui.view model. 2014-03-29 11:06:50,963 2452 WARNING hyde openerp.addons.base.ir.ir_ui_view: Setting the type field is deprecated in the ir.ui.view model. 2014-03-29 11:06:51,003 2452 WARNING hyde openerp.addons.base.ir.ir_ui_view: Setting the type field is deprecated in the ir.ui.view model. 2014-03-29 11:06:51,335 2452 WARNING hyde openerp.addons.base.ir.ir_ui_view: Setting the type field is deprecated in the ir.ui.view model. 2014-03-29 11:06:51,556 2452 ERROR hyde openerp.addons.base.ir.ir_ui_view: Can't render view for model: sale.order Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server\openerp\addons\base\ir\ir_ui_view.py", line 126, in _check_render_view File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\orm.py", line 2248, in fields_view_get File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\orm.py", line 2206, in apply_view_inheritance File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\orm.py", line 2190, in apply_inheritance_specs File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\orm.py", line 2083, in raise_view_error AttributeError: View definition error for inherited view '' on model 'sale.order': Element '<xpath expr="/form/notebook/page[@string='Sales Order']/group/field[@name='state']">' not found in parent view 'sale.view_order_form' 2014-03-29 11:06:51,596 2452 ERROR hyde openerp.tools.convert: Parse error in file:///C:/Program%20Files/OpenERP%207.0-20140322-001357/Server/server/openerp/addons/sale_exceptions/sale_view.xml:75: <record id="view_order_form" model="ir.ui.view"> <field name="name">sale_exceptions.view_order_form</field> <field name="model">sale.order</field> <field name="type">form</field> <field name="inherit_id" ref="sale.view_order_form"/> <field name="arch" type="xml"> <data> <xpath expr="/form/notebook/page[@string='Sales Order']/group/field[@name='state']" position="after"> <field name="main_exception_id" nolabel="1" attrs="{'invisible':[('main_exception_id','=', False)]}"/> </xpath> <xpath expr="/form/notebook/page[@string='Other Information']/separator[@string='Notes']" position="before"> <group name="exception" colspan="2" col="2"> <separator string="Exception" colspan="2"/> <field name="exceptions_ids" colspan="2" nolabel="1"/> </group> <group name="notes" colspan="2" col="2"> <separator colspan="2" string="Notes"/> <field colspan="2" name="note" nolabel="1"/> </group> </xpath> <xpath expr="/form/notebook/page[@string='Other Information']/separator[@string='Notes']" position="replace"/> <xpath expr="/form/notebook/page[@string='Other Information']/field[@name='note']" position="replace"/> <button name="order_confirm" position="attributes"> <attribute name="name">button_order_confirm</attribute> <attribute name="type">object</attribute> </button> </data> </field> </record> Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\tools\convert.py", line 847, in parse File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\tools\convert.py", line 814, in _tag_record File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server\openerp\addons\base\ir\ir_model.py", line 969, in _update File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server\openerp\addons\base\ir\ir_ui_view.py", line 103, in create File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\orm.py", line 4542, in create File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\orm.py", line 1557, in _validate except_orm: ('ValidateError', u'\u9a8c\u8bc1\u5b57\u6bb5 arch \u65f6\u53d1\u751f\u9519\u8bef\uff1aInvalid XML for View Architecture!') 2014-03-29 11:06:51,596 2452 ERROR hyde openerp.netsvc: ValidateError 验证字段 arch 时发生错误:Invalid XML for View Architecture! Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\netsvc.py", line 296, in dispatch_rpc File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\osv.py", line 190, in execute_kw File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\osv.py", line 132, in wrapper File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\osv.py", line 199, in execute File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\osv.py", line 187, in execute_cr File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server\openerp\addons\base\module\wizard\base_module_upgrade.py", line 90, in upgrade_module File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\pooler.py", line 39, in restart_pool File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\modules\registry.py", line 233, in new File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\modules\loading.py", line 354, in load_modules File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\modules\loading.py", line 256, in load_marked_modules File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\modules\loading.py", line 187, in load_module_graph File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\modules\loading.py", line 74, in <lambda> File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\modules\loading.py", line 124, in _load_data File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\tools\convert.py", line 954, in convert_xml_import File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\tools\convert.py", line 847, in parse File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\tools\convert.py", line 814, in _tag_record File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server\openerp\addons\base\ir\ir_model.py", line 969, in _update File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server\openerp\addons\base\ir\ir_ui_view.py", line 103, in create File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\orm.py", line 4542, in create File "C:\Program Files\OpenERP 7.0-20140322-001357\Server\server.\openerp\osv\orm.py", line 1557, in _validate except_osv: ('ValidateError', u'\u9a8c\u8bc1\u5b57\u6bb5 arch \u65f6\u53d1\u751f\u9519\u8bef\uff1aInvalid XML for View Architecture!') 2014-03-29 11:06:51,726 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:06:51] "POST /web/dataset/call_button HTTP/1.1" 200 - 2014-03-29 11:06:51,857 2452 INFO ? werkzeug: 127.0.0.1 - - [29/Mar/2014 11:06:51] "GET /web/static/src/img/warning.png HTTP/1.1" 304 - 2014-03-29 11:21:41,990 2452 INFO hyde openerp.modules.loading: loading 1 modules... 2014-03-29 11:21:42,115 2452 INFO hyde openerp.modules.loading: loading 52 modules... 2014-03-29 11:21:42,378 2452 INFO hyde openerp.modules.loading: Modules loaded. 2014-03-29 11:21:42,450 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:42] "GET / HTTP/1.1" 200 - 2014-03-29 11:21:42,775 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:42] "GET /web/webclient/css?db=hyde HTTP/1.1" 304 - 2014-03-29 11:21:42,858 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:42] "GET /web/webclient/js?db=hyde HTTP/1.1" 304 - 2014-03-29 11:21:43,211 2452 INFO hyde openerp.service.web_services: successful login from 'admin' using database 'hyde' 2014-03-29 11:21:43,267 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:43] "POST /web/session/get_session_info HTTP/1.1" 200 - 2014-03-29 11:21:43,309 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:43] "POST /web/webclient/qweblist HTTP/1.1" 200 - 2014-03-29 11:21:43,558 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:43] "POST /web/proxy/load HTTP/1.1" 200 - 2014-03-29 11:21:43,732 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:43] "POST /web/session/modules HTTP/1.1" 200 - 2014-03-29 11:21:43,880 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:43] "POST /web/webclient/translations HTTP/1.1" 200 - 2014-03-29 11:21:44,091 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:44] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:44,438 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:44] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:44,483 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:44] "GET /web/binary/company_logo?session_id=d9282ea2a0d84f7cbe67712dc230629d HTTP/1.1" 200 - 2014-03-29 11:21:44,559 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:44] "GET /web/binary/image?model=res.users&field=image_small&id=1&session_id=d9282ea2a0d84f7cbe67712dc230629d HTTP/1.1" 304 - 2014-03-29 11:21:44,612 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:44] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:45,105 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:45] "POST /web/menu/load HTTP/1.1" 200 - 2014-03-29 11:21:45,403 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:45] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:45,608 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:45] "POST /web/action/load HTTP/1.1" 200 - 2014-03-29 11:21:45,789 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:45] "POST /web/menu/load_needaction HTTP/1.1" 200 - 2014-03-29 11:21:45,881 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:45] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:45,921 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:45] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:46,073 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:46] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:46,114 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:46] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:47,959 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:47] "POST /web/action/load HTTP/1.1" 200 - 2014-03-29 11:21:47,993 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:47] "POST /web/menu/load_needaction HTTP/1.1" 200 - 2014-03-29 11:21:48,226 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:48] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:49,576 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:49] "POST /web/action/load HTTP/1.1" 200 - 2014-03-29 11:21:49,750 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:49] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:49,792 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:49] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:49,944 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:49] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2014-03-29 11:21:49,986 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:49] "POST /web/webclient/version_info HTTP/1.1" 200 - 2014-03-29 11:21:50,325 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:50] "POST /web/dataset/search_read HTTP/1.1" 200 - 2014-03-29 11:21:50,834 2452 INFO hyde werkzeug: 127.0.0.1 - - [29/Mar/2014 11:21:50] "POST /web/dataset/call_kw HTTP/1.1" 200 -

0
Avatar
Opusti
Avatar
Nehal
Best Answer

Hi,

Check your openerp-server.log file where you will find the complete traceback for Invalid XML architecture. As this is not sufficient information to know the cause of Error.

0
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now