← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

ubuntu 10.04
postgresql-8.4.5

Tree is up to date at revision 3003 of branch /opt/openerp/openerp-server
...........
Tree is up to date at revision 3907 of branch /opt/openerp/addons
..........

.....
[2010-11-11 17:35:00,328][i2] INFO:init:module sale: loading wizard/sale_make_invoice_advance.xml
[2010-11-11 17:35:00,395][i2] INFO:init:module sale: loading wizard/sale_line_invoice.xml
[2010-11-11 17:35:00,451][i2] INFO:init:module sale: loading wizard/sale_make_invoice.xml
2010-11-11 17:35:00,505][i2] INFO:init:module sale: loading security/sale_security.xml
[2010-11-11 17:35:00,543][i2] 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 (4,1,NULL,E'en_US',1,E'True',E'True',E'',1,now())
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/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 17:35:00,544][i2] ERROR:tools.convert.xml_import:Parse error in /usr/local/lib/python2.6/dist-packages/openerp-server/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>

-- 
[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