c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03632
[Bug 673525] Re: [sale] integrity error reference name - name
Hi,
I have the same error with HR module :
Traceback (most recent call last):
File "/mnt/partition/OpenERP/trunk/server/bin/sql_db.py", line 122, in execute
res = self._obj.execute(query, params)
IntegrityError: null value in column "name" violates not-null constraint
[2010-11-10 15:07:45,799][hr_test2] ERROR:tools.convert.xml_import:Parse error in /mnt/partition/OpenERP/trunk/addons/hr/security/hr_security.xml:12:
<record id="base.user_demo" model="res.users">
<field name="groups_id" eval="[(4, ref('base.group_hr_user'))]"/>
</record>
MODEL 29 34 name
--
[sale] integrity error reference name - name
https://bugs.launchpad.net/bugs/673525
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: New
Bug description:
Version: trunk
Addon: sale
Step: installation
Language: German
Traceback (most recent call last):
File "d:\openerp\win-installer-trunk\trunk\client\bin\widget\view\form_gtk\parser.py", line 123, in button_clicked
model.get_button_action(self.form.screen, id, self.attrs)
File "D:\openerp\win-installer-trunk\trunk\client\bin\widget\model\record.py", line 372, in get_button_action
self.resource,attrs['name'], [id], context)
File "D:\openerp\win-installer-trunk\trunk\client\bin\rpc.py", line 185, in rpc_exec_auth
return sock.exec_auth(method, *args)
File "D:\openerp\win-installer-trunk\trunk\client\bin\rpc.py", line 119, in exec_auth
res = self.execute(method, self._uid, self._passwd, *args)
File "D:\openerp\win-installer-trunk\trunk\client\bin\rpc.py", line 136, in execute
raise e
tiny_socket.Myexception: ('warning -- Integrity Error\n\nThe operation cannot be completed, probably due to the following:\n- deletion: you may be trying to delete a record while other records still reference it\n- creation/update: a mandatory field is not correctly set\n\n[object with reference: name - name]', 'Traceb
ack (most recent call last):\n File "D:\\openerp\\win-installer-trunk\\trunk\\server\\bin\\netsvc.py", line 489, in dispatch\n result = ExportService.getService(service_name).dispatch(method, auth, params)\n File "D:\\openerp\\win-installer-trunk\\trunk\\server\\bin\\service\\web_services.py", line 586, in dispatc
h\n res = fn(db, uid, *params)\n File "D:\\openerp\\win-installer-trunk\\trunk\\server\\bin\\osv\\osv.py", line 88, in wrapper\n self.abortResponse(1, _(\'Integrity Error\'), \'warning\', msg)\n File "D:\\openerp\\win-installer-trunk\\trunk\\server\\bin\\netsvc.py", line 70, in abortResponse\n raise Exceptio
n("%s -- %s\\n\\n%s"%(origin, description, details))\nException: warning -- Integrity Error\n\nThe operation cannot be completed, probably due to the following:\n- deletion: you may be trying to delete a record while other records still reference it\n- creation/update: a mandatory field is not correctly set\n\n[object
with reference: name - name]\n')
References