-
massimo.rc
-
-
Offline
-
Gold Boarder
-
- Messaggi: 296
- Ringraziamenti ricevuti 6
-
Karma: 0
-
|
Ciao a tutti,
sto cercando di fare un database demo di Odoo.
Quando mi crea il database mi mostra i moduli installati, io ho iniziato installando il CRM, che poi lui in automatico mi installa anche Social Network, però se provo ad installare altri moduli mi da il seguente errore: OpenERP Server Error
Traceback (most recent call last):
File "/opt/odoo/v8/server/openerp/http.py", line 470, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/v8/server/openerp/http.py", line 294, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/v8/server/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/v8/server/openerp/http.py", line 291, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/v8/server/openerp/http.py", line 638, in __call__
return self.method(*args, **kw)
File "/opt/odoo/v8/server/openerp/http.py", line 337, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/v8/web/addons/web/controllers/main.py", line 1248, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/v8/web/addons/web/controllers/main.py", line 1236, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/v8/server/openerp/addons/base/module/module.py", line 428, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/odoo/v8/server/openerp/addons/base/module/module.py", line 479, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/v8/server/openerp/modules/registry.py", line 299, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/v8/server/openerp/modules/loading.py", line 343, in load_modules
loaded_modules, update_module)
File "/opt/odoo/v8/server/openerp/modules/loading.py", line 247, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/v8/server/openerp/modules/loading.py", line 179, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='demo')
File "/opt/odoo/v8/server/openerp/modules/loading.py", line 117, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/odoo/v8/server/openerp/tools/convert.py", line 973, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/odoo/v8/server/openerp/tools/convert.py", line 1059, in convert_xml_import
obj.parse(doc.getroot())
File "/opt/odoo/v8/server/openerp/tools/convert.py", line 926, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/opt/odoo/v8/server/openerp/tools/convert.py", line 846, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/opt/odoo/v8/server/openerp/tools/convert.py", line 907, in id_get
res = self.model_id_get(cr, id_str)
File "/opt/odoo/v8/server/openerp/tools/convert.py", line 916, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/opt/odoo/v8/server/openerp/addons/base/ir/ir_model.py", line 909, in get_object_reference
return self.xmlid_lookup(cr, uid, "%s.%s" % (module, xml_id))[1:3]
File "/opt/odoo/v8/server/openerp/tools/cache.py", line 21, in lookup
r = self.lookup(self2, cr, *args, **argv)
File "/opt/odoo/v8/server/openerp/tools/cache.py", line 49, in lookup
value = d[key] = self.method(self2, cr, *args)
File "/opt/odoo/v8/server/openerp/addons/base/ir/ir_model.py", line 867, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % (xmlid))
ParseError: "External ID not found in the system: base.user_demo" while parsing /opt/odoo/v8/addons/note/note_demo.xml:4, near
<record model="note.stage" id="demo_note_stage_01">
<field name="name">Today</field>
<field name="sequence">1</field>
<field name="user_id" ref="base.user_demo"/>
</record>
In questo caso ho provato con l'istallazione del modulo Gestione Progetti. Ho notato che lo fa un pò con tutti i moduli che ho provato.
Per caso sto sbagliando sequenza di installazione dei moduli? C'è una procedura da seguire?
|