← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 673525] Re: [sale] integrity error reference name - name

 

openobject-server revno 3003
openobject-addons revno 3907

Same error here. openerp-server log while installing 'sale':

[2010-11-11 09:29:25,572][sale6] INFO:init:module sale: loading security/sale_security.xml
[2010-11-11 09:29:25,646][sale6] ERROR:db.cursor:bad query: insert into "res_users" (id,"menu_id","address_id","context_lang","company_id","menu_tips","active","password",create_uid,create_date) values (3,1,NULL,E'en_US',1,E'True',E'True',E'',1,now())
Traceback (most recent call last):
  File "/home/elbati/workspace/openerp/server/openobject-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-11 09:29:25,647][sale6] ERROR:tools.convert.xml_import:Parse error in /home/elbati/workspace/openerp/addons/openobject-addons/sale/security/sale_security.xml:20: 
<record id="base.user_demo" model="res.users">
            <field eval="[(4, ref('base.group_sale_salesman'))]" name="groups_id"/>
        </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