Hi, When installing a fresh database this error does not occur. I only was able to reproduce the error when migrating a 6.0 database. I had same problem on 3 different installations. The problem occurred at this revision. Revisions before it do not cause traceback.
I update database with --update=all -- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to OpenERP Project Group. https://bugs.launchpad.net/bugs/864965 Title: Revision 5141 Causes traceback during update of 6.0 database Status in OpenERP Addons (modules): Incomplete Bug description: When pulling revision 5141 a traceback occurs. I have narrowed it down to this specific revision. This occurs when trying to migrate a 6.0 database 2011-10-03 02:33:54,851][a12] ERROR:tools.convert.xml_import:Parse error in /usr/local/openerp/addons/account/account_view.xml:548: <record id="view_bank_statement_form" model="ir.ui.view"> <field name="name">account.bank.statement.form</field> <field name="model">account.bank.statement</field> <field name="type">form</field> <field name="arch" type="xml"> <form string="Bank Statement"> <group col="7" colspan="4"> <field name="name" select="1"/> <field name="date" select="1" on_change="onchange_date(date)"/> <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" select="1" widget="selection"/> <newline/> <field name="period_id"/> <field name="balance_start"/> <field name="balance_end_real"/> <field name="currency" invisible="1"/> <field name="company_id" widget="selection" groups="base.group_multi_company"/> </group> <notebook colspan="4"> <page string="Transaction" name="statement_line_ids"> <field colspan="4" name="line_ids" nolabel="1"> <tree editable="bottom" string="Statement lines"> <field name="sequence" readonly="1" invisible="1"/> <field name="date" groups="base.group_extended"/> <field name="name"/> <field name="ref"/> <field name="partner_id" on_change="onchange_partner_id(partner_id)"/> <field name="type" on_change="onchange_type(partner_id, type)"/> <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/> <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/> <field name="amount"/> </tree> <form string="Statement lines"> <field name="date"/> <field name="name"/> <field name="ref"/> <field name="partner_id" on_change="onchange_partner_id(partner_id)"/> <field name="type" on_change="onchange_type(partner_id, type)"/> <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/> <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/> <field name="amount"/> <field name="sequence" readonly="0"/> <separator colspan="4" string="Notes"/> <field colspan="4" name="note" nolabel="1"/> </form> </field> </page> <page string="Journal Entries" name="move_live_ids"> <field colspan="4" name="move_line_ids" nolabel="1"/> </page> </notebook> <group col="8" colspan="4"> <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/> <field name="balance_end"/> <button name="button_cancel" states="confirm" string="Cancel" type="object" icon="gtk-cancel"/> <button name="button_dummy" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific"/> <button name="button_confirm_bank" states="draft" string="Confirm" type="object" icon="terp-camera_test"/> </group> </form> </field> </record> Traceback (most recent call last): File "/usr/local/openerp/openerp-server/openerp/tools/convert.py", line 888, in parse self._tags[rec.tag](self.cr, rec, n) File "/usr/local/openerp/openerp-server/openerp/tools/convert.py", line 855, in _tag_record id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context ) File "/usr/local/openerp/openerp-server/openerp/addons/base/ir/ir_model.py", line 683, in _update model_obj.write(cr, uid, [res_id], values, context=context) File "/usr/local/openerp/openerp-server/openerp/addons/base/ir/ir_ui_view.py", line 101, in write result = super(view, self).write(cr, uid, ids, vals, context) File "/usr/local/openerp/openerp-server/openerp/osv/orm.py", line 3966, in write self._validate(cr, user, ids, context) File "/usr/local/openerp/openerp-server/openerp/osv/orm.py", line 1288, in _validate raise except_orm('ValidateError', '\n'.join(error_msgs)) except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!') [2011-10-03 02:33:54,853][a12] DEBUG_RPC:exception:u'ValidateError\nError occurred while validating the field(s) arch: Invalid XML for View Architecture!' [2011-10-03 02:33:54,854][a12] DEBUG:web-services:netrpc: rpc-dispatching exception Traceback (most recent call last): File "/usr/local/openerp/openerp-server/openerp/service/netrpc_server.py", line 62, in run result = self.dispatch(msg[0], msg[1], msg[2:]) File "/usr/local/openerp/openerp-server/openerp/netsvc.py", line 455, in dispatch raise OpenERPDispatcherException(e, tb_s) OpenERPDispatcherException To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/864965/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

