It seems that something went wrong with my production OpenERP database, which I don't really know its cause. Here's the error I get:
2014-02-15 22:42:24,733 18124 ERROR mydatabase openerp.addons.base.ir.ir_ui_view: Can't render view project_issue.view_project_form_inherited for model: project.project
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 126, in _check_render_view
fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2239, in fields_view_get
arch=apply_view_inheritance(cr, user, source, sql_res['id']),
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2197, in apply_view_inheritance
source = apply_inheritance_specs(source, view_arch, view_id)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2181, in apply_inheritance_specs
raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2074, in raise_view_error
% (child_view.xml_id, self._name, error_msg))
AttributeError: View definition error for inherited view 'project_issue.view_project_form_inherited' on model 'project.project':
Element '<xpath expr="//page[@name="project_stages"]">' not found in parent view 'project.edit_project'
2014-02-15 22:42:24,739 18124 ERROR mydatabase openerp.tools.convert: Parse error in /usr/lib/pymodules/python2.7/openerp/addons/project_issue/project_issue_view.xml:302:
<record id="view_project_form_inherited" model="ir.ui.view">
<field name="name">project.project.form.inherited</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="project.edit_project"/>
<field name="arch" type="xml">
<data><xpath expr="//div[@name="options_active"]" position="inside">
<field name="use_issues" class="oe_inline"/>
<label for="use_issues"/>
</xpath>
<xpath expr="//div[@name="buttons"]" position="inside">
<button name="%(act_project_project_2_project_issue_all)d" string="Issues" type="action" attrs="{'invisible':[('use_issues','=', 0)]}"/>
</xpath>
<xpath expr="//page[@name="project_stages"]" position="attributes">
<attribute name="attrs">{'invisible': [('use_tasks', '=', False),('use_issues','=',False)]}</attribute>
</xpath>
<field name="priority" position="before">
<field name="project_escalation_id"/>
</field>
<field name="alias_domain" position="after">
<label for="alias_model" class="oe_edit_only" string="creates"/><field name="alias_model" class="oe_edit_only oe_inline"/>
</field>
</data></field>
</record>
I think there's something wrong with project.project
module, so I want to disable it, at least to start my production DB until further investigation
Does anyone have a solution? Or: Can someone guide me to at least disabling
P.S. I'm not much into postgres. So if the solution involves manipulating the DB via command line, I'd highly appreciate a step by step procedure