plz anybody help me for solve this problem
:56:36,931 5960 WARNING mydb_event openerp.modules.loading: invalid module names, ignored: website_event_broadcas
2016-03-29 06:56:36,967 5960 INFO mydb_event openerp.sql_db: Programming error: relation "ir_ui_view" does not exist
LINE 2: FROM ir_ui_view v
^
, in query SELECT max(v.id)
FROM ir_ui_view v
LEFT JOIN ir_model_data md ON (md.model = 'ir.ui.view' AND md.res_id = v.id)
WHERE md.module IS NULL
AND v.model = %s
AND v.active = true
GROUP BY coalesce(v.inherit_id, v.id)
2016-03-29 06:56:36,968 5960 ERROR mydb_event openerp.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/home/tiny/odoo/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/tiny/odoo/openerp/modules/loading.py", line 399, in load_modules
if not Views._validate_custom_views(cr, SUPERUSER_ID, model):
File "/home/tiny/odoo/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/home/tiny/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1159, in _validate_custom_views
""", (model,))
File "/home/tiny/odoo/openerp/sql_db.py", line 139, in wrapper
return f(self, *args, **kwargs)
File "/home/tiny/odoo/openerp/sql_db.py", line 218, in execute
res = self._obj.execute(query, params)
ProgrammingError: relation "ir_ui_view" does not exist
LINE 2: FROM ir_ui_view v
^
2016-03-29 06:56:36,970 5960 CRITICAL mydb_event openerp.service.server: Failed to initialize database `mydb_event`.
Traceback (most recent call last):
File "/home/tiny/odoo/openerp/service/server.py", line 885, in preload_registries
registry = RegistryManager.new(dbname, update_module=update_module)
File "/home/tiny/odoo/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/tiny/odoo/openerp/modules/loading.py", line 399, in load_modules
if not Views._validate_custom_views(cr, SUPERUSER_ID, model):
File "/home/tiny/odoo/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/home/tiny/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1159, in _validate_custom_views
""", (model,))
File "/home/tiny/odoo/openerp/sql_db.py", line 139, in wrapper
return f(self, *args, **kwargs)
File "/home/tiny/odoo/openerp/sql_db.py", line 218, in execute
res = self._obj.execute(query, params)
ProgrammingError: relation "ir_ui_view" does not exist
LINE 2: FROM ir_ui_view v
^
^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2A^[[1;2elf, *args, **kwargs)
File "/home/tiny/odoo/openerp/sql_db.py", line 218, in execute
res = self._obj.execute(query, params)
ProgrammingError: relation "ir_ui_view" does not exist
LINE 2: FROM ir_ui_view v
^
2016-03-29 06:56:36,970 5960 CRITICAL mydb_event openerp.service.server: Failed to initialize database `mydb_event`.
Traceback (most recent call last):
File "/home/tiny/odoo/openerp/service/server.py", line 885, in preload_registries
registry = RegistryManager.new(dbname, update_module=update_module)
File "/home/tiny/odoo/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/tiny/odoo/openerp/modules/loading.py", line 399, in load_modules
if not Views._validate_custom_views(cr, SUPERUSER_ID, model):
File "/home/tiny/odoo/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/home/tiny/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1159, in _validate_custom_views
""", (model,))
File "/home/tiny/odoo/openerp/sql_db.py", line 139, in wrapper
return f(self, *args, **kwargs)
File "/home/tiny/odoo/openerp/sql_db.py", line 218, in execute
res = self._obj.execute(query, params)
ProgrammingError: relation "ir_ui_view" does not exist
LINE 2: FROM ir_ui_view v
my View.xml is like that
<record model="ir.ui.view" id="wizard_form_view">
<field name="name">wizard.form</field>
<field name="model">website_event_broadcas.wizard</field>
<field name="arch" type="xml">
<form string="Add Attendees">
<group>
<field name="stream_key"/>
<field name="stream_title"/>
<field name="vedio_format"/>
</group>
<footer>
<button name="Subscribe" type="submit" string="Subscribe" class="oe_highlight"/>
or
<button special="Cancel" string="Cancel"/>
</footer>
</form>
</field>
</record>
<record id="action_event_confirm" model="ir.actions.act_window">
<field name="name">Event Confirmation</field>
<field name="type">ir.action.act_window</field>
<field name="res_model">website_event_broadcas.wizard</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="wizard_form_view"/>
<field name="target">new</field>
</record>
<record id="event_form_view_inherit" model="ir.ui.view">
<field name="name">event.form.view.inherit</field>
<field name="model">event.event</field>
<field name="inherit_id" ref="event.view_event_form"/>
<field name="arch" type="xml">
<xpath expr="/form/sheet/group[@name='main_field_group']/group/field[@name='date_tz']" position="after">
<field name="is_live"/>
<button name="%(action_event_confirm)d"
type="action" string="livestream Details" attrs="{'invisible': [('is_live', '=', False)]}"></button>
</xpath>
</field>
</record>
Hello, Please post your code. I think, error arise from .xml file.
Hello, model _name is like website_event_broadcas.wizard ?
Either create new db or upgrade all module like -u all.