← Back to team overview

savoirfairelinux-openerp team mailing list archive

Re: [Merge] lp:~openerp-community/server-env-tools/7.0-modules-from-openobject-extension into lp:server-env-tools

 

Review: Needs Fixing tried to install

I get an error when I try to install import_odbc:

2014-03-20 13:55:00,065 32374 ERROR test_ocb_oca70 openerp.tools.view_validation: Invalid XML: A `string` attribute must be on a `form` node.
2014-03-20 13:55:00,078 32374 ERROR test_ocb_oca70 openerp.tools.convert: Parse error in /home/afayolle/work/oca/server-env-tools/7.0/import_odbc/import_odbc_view.xml:7: 
<record model="ir.ui.view" id="view_import_dbtable_form">
            <field name="name">import.odbc.dbtable.form</field>
            <field name="model">import.odbc.dbtable</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form>
                    <field name="name" search="1"/>
                    <field name="exec_order"/>
                    <field name="model_target"/>
                    <field name="dbsource_id" search="1"/>
                    <field name="noupdate"/>
                    <field name="enabled"/>
                    <field name="ignore_rel_errors"/>
                    <field name="raise_import_errors"/>
                    <field name="last_sync"/>
                    <group colspan="2">
                        <button name="import_run" string="Run Import" type="object" icon="gtk-execute"/>
                        <button name="import_schedule" string="Schedule Import" type="object" icon="gtk-paste"/>
                    </group>
                    <field name="sql_source" colspan="4"/>
                    <separator string="Last execution" colspan="4"/>
                    <field name="last_record_count"/>
                    <field name="start_run"/>
                    <field name="last_warn_count"/>
                    <field name="last_run"/>
                    <field name="last_error_count"/>
                    <field name="last_log" colspan="4"/>
                </form>
            </field>
        </record>
Traceback (most recent call last):
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 814, 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 "/home/afayolle/work/oerp/server/ocb-7.0/openerp/addons/base/ir/ir_model.py", line 969, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/afayolle/work/oerp/server/ocb-7.0/openerp/addons/base/ir/ir_ui_view.py", line 103, in create
    return super(view, self).create(cr, uid, values, context)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 4543, in create
    self._validate(cr, user, [id_new], context)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 1557, 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!')
Traceback (most recent call last):
  File "bin/openerp_command", line 65, in <module>
    openerpcommand.main.run()
  File "/home/afayolle/work/oerp/testbox-ocb+oca/openerp-command/openerpcommand/main.py", line 7, in run
    args.run(args)
  File "/home/afayolle/work/oerp/testbox-ocb+oca/openerp-command/openerpcommand/initialize.py", line 74, in run
    registry = install_openerp(args.database, not args.no_create, module_names, not config['without_demo'])
  File "/home/afayolle/work/oerp/testbox-ocb+oca/openerp-command/openerpcommand/initialize.py", line 24, in install_openerp
    database_name, update_module=True, force_demo=install_demo_data)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/registry.py", line 203, in get
    update_module)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/registry.py", line 233, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 354, in load_modules
    loaded_modules, update_module)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 256, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 188, in load_module_graph
    load_data(module_name, idref, mode)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 76, in <lambda>
    load_data = lambda *args: _load_data(cr, *args, kind='data')
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 124, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 954, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 814, 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 "/home/afayolle/work/oerp/server/ocb-7.0/openerp/addons/base/ir/ir_model.py", line 969, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/afayolle/work/oerp/server/ocb-7.0/openerp/addons/base/ir/ir_ui_view.py", line 103, in create
    return super(view, self).create(cr, uid, values, context)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 4543, in create
    self._validate(cr, user, [id_new], context)
  File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 1557, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
openerp.osv.orm.except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')


Can you check this? 
-- 
https://code.launchpad.net/~openerp-community/server-env-tools/7.0-modules-from-openobject-extension/+merge/200744
Your team Savoir-faire Linux' OpenERP is subscribed to branch lp:~openerp-community/server-env-tools/7.0-modules-from-openobject-extension.