Ciao a tutti,
ho scritto un modulo per gestione della privacy nulla di che, aiuta l'amministratore nella gestione delle password e ramite ir.cron ianifica il cambio password amministratore ogni 3 mesi
ora è la prima versione all'installazione su OE server 6.0.3 mi salta fuori qusto messagio:
Traceback (most recent call last):
File "/home/caritas/openerp-server-6.0.3/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/caritas/openerp-server-6.0.3/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/caritas/openerp-server-6.0.3/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/caritas/openerp-server-6.0.3/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/caritas/openerp-server-6.0.3/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/caritas/openerp-server-6.0.3/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/home/caritas/openerp-server-6.0.3/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/home/caritas/openerp-server-6.0.3/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home/caritas/openerp-server-6.0.3/bin/addons/__init__.py", line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/home/caritas/openerp-server-6.0.3/bin/addons/__init__.py", line 748, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/home/caritas/openerp-server-6.0.3/bin/addons/__init__.py", line 641, in load_init_update_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "/home/caritas/openerp-server-6.0.3/bin/tools/convert.py", line 965, in convert_xml_import
relaxng.assert_(doc)
File "lxml.etree.pyx", line 2781, in lxml.etree._Validator.assert_ (src/lxml/lxml.etree.c:114448)
AssertionError: Did not expect element record there, line 3
E' qualcosa di già noto? O può essere un errore in qulche xml che ho inegrato?
Il modulo __openerp__ integra 2 xml :
cprivacy_view.xml -> viste con ereditarietà a res.user
cprivacy_scheduler.xml -> record con schedule cambio pass
Grazie
Alessio