c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00016
[Bug 659291] Re: Can't create service company profile database on 5.0.14
Hello Megue,
This is again an issue with some data modified at your end.
I am keen to know if this error occurs on latest version.
Looking at the traceback, I guess the Analytic account misses its name in demo/data xml file.
Possibly /account/project/analytic_account_demo.xml file.
Thanks.
** Changed in: openobject-server
Milestone: None => 5.0.15
** Changed in: openobject-server
Status: New => Invalid
--
Can't create service company profile database on 5.0.14
https://bugs.launchpad.net/bugs/659291
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Server: Invalid
Bug description:
revno 2140.
I tried to create a new data-base with service company profile (add data demo checked), but i have this msg :
Traceback (most recent call last):
File "/home/megue/openerp/trunk/server/bin/netsvc.py", line 299, in dispatch
result = LocalService(service_name)(method, *params)
File "/home/megue/openerp/trunk/server/bin/netsvc.py", line 77, in __call__
return getattr(self, method)(*params)
File "/home/megue/openerp/trunk/server/bin/service/web_services.py", line 633, in execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/home/megue/openerp/trunk/server/bin/service/web_services.py", line 613, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/home/megue/openerp/trunk/server/bin/wizard/__init__.py", line 178, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/home/megue/openerp/trunk/server/bin/wizard/__init__.py", line 73, in execute_cr
action_res = action(self, cr, uid, data, context)
File "/home/megue/openerp/trunk/addons/base_setup/wizard/wizard_base_setup.py", line 208, in _update
(db, pool)=pooler.restart_pool(cr.dbname, update_module=True)
File "/home/megue/openerp/trunk/server/bin/pooler.py", line 61, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/home/megue/openerp/trunk/server/bin/pooler.py", line 40, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home/megue/openerp/trunk/server/bin/addons/__init__.py", line 736, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/home/megue/openerp/trunk/server/bin/addons/__init__.py", line 637, in load_module_graph
tools.convert_xml_import(cr, m, fp, idref, mode=mode, noupdate=True, **kwargs)
File "/home/megue/openerp/trunk/server/bin/tools/convert.py", line 877, in convert_xml_import
obj.parse(doc.getroot())
File "/home/megue/openerp/trunk/server/bin/tools/convert.py", line 774, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/megue/openerp/trunk/server/bin/tools/convert.py", line 746, 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 )
File "/home/megue/openerp/trunk/server/bin/addons/base/ir/ir_model.py", line 515, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/megue/openerp/trunk/addons/account/project/project.py", line 259, in create
return super(account_analytic_account, self).create(cr, uid, vals, context=context)
File "/home/megue/openerp/trunk/server/bin/osv/orm.py", line 2881, in create
cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
File "/home/megue/openerp/trunk/server/bin/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "/home/megue/openerp/trunk/server/bin/sql_db.py", line 123, in execute
res = self._obj.execute(query, params)
IntegrityError: ERREUR: une valeur NULL viole la contrainte NOT NULL de la colonne « name »
References