So now I take the 'groups' attribute out of the menuitem and it updates a 
little further but then I get this error:
[Mon Oct 20 20:37:21 2008] ERROR:init:The XML file do 
not fit the required schema !
[Mon Oct 20 20:37:21 2008] 
ERROR:init:/root/build/openerp/server/bin/addons/mymodule/mymodule_wizard.xml:7:ERROR:RELAXNGV:ERR_LT_IN_ATTRIBUTE:
 Did not expect element delete there
Traceback (most recent call last):
  File "/root/build/openerp/server/bin/netsvc.py", line 384, in run
    r = m(*msg[2:])
  File "/root/build/openerp/server/bin/service/web_services.py", line 438, 
in execute
    return self._execute(db, uid, wiz_id, datas, action, 
context)
  File "/root/build/openerp/server/bin/service/web_services.py", line 418, 
in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], 
action, context)
  File "/root/build/openerp/server/bin/wizard/__init__.py", line 172, in 
execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/root/build/openerp/server/bin/wizard/__init__.py", line 80, in 
execute_cr
    action_res = action(self, cr, uid, data, context)
  File 
"/root/build/openerp/server/bin/addons/base/module/wizard/wizard_module_upgrade.py",
 line 103, in _upgrade_module
    db, pool = pooler.restart_pool(cr.dbname, 
update_module=True)
  File "/root/build/openerp/server/bin/pooler.py", line 72, in restart_pool
    return get_db_and_pool(db_name, force_demo, 
update_module=update_module)
  File "/root/build/openerp/server/bin/pooler.py", line 56, in 
get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/root/build/openerp/server/bin/addons/__init__.py", line 338, in 
load_modules
    load_module_graph(cr, graph, status, report=report)
  File "/root/build/openerp/server/bin/addons/__init__.py", line 267, in 
load_module_graph
    tools.convert_xml_import(cr, m, 
tools.file_open(opj(m, filename)), idref, mode=mode, 
**kwargs)
  File "/root/build/openerp/server/bin/tools/convert.py", line 829, in 
convert_xml_import
    relaxng.assert_(doc)
  File "etree.pyx", line 2096, in etree._Validator.assert_
AssertionError: Document does not comply with schema

It appears to be related to this line in my wizard.xml file:
 <delete model="ir.actions.wizard" 
search="&#91;&#40;'wiz_name','like','mymodule.'&#41;&#93;"/>

This delete is working fine in 4.x version.

Anyway to fix these things?

Regards,
Gerry




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=25581#25581

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to