← Back to team overview

openerp-india team mailing list archive

[Bug 1038176] Re: Try to create a new state on Leads have trackback

 

Hello Folks,

I have checked this issue  again with trunk as well as stable ,Its problem of web-client.
It's produce when  many2one has multiple required field ,
web-client sent only one value "name" or _rec_name at quick create for remaining column it send 
null value. Quick create functionality only available with web client.

So I am assigning this issue to web team.

Thanks!

** Project changed: openobject-addons => openerp-web

** Changed in: openerp-web
     Assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1) => OpenERP R&D Web Team (openerp-dev-web)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1038176

Title:
  Try to create a new state on Leads have trackback

Status in OpenERP Web:
  Confirmed

Bug description:
  Try to create a state on leads have trackback on the console

  
  2012-08-17 17:17:47,242 2228 ERROR None openerp.sql_db: bad query: insert into "res_country_state" (id,"name",create_uid,create_date) values (54,'Goa',1,(now() at time zone 'UTC'))
  Traceback (most recent call last):
    File "/home/mga/openerp/server/trunk/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  IntegrityError: null value in column "code" violates not-null constraint

  2012-08-17 17:17:47,249 2228 ERROR trunk openerp.netsvc: Integrity Error
  The operation cannot be completed, probably due to the following:
  - deletion: you may be trying to delete a record while other records still reference it
  - creation/update: a mandatory field is not correctly set

  [object with reference: code - code]

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/1038176/+subscriptions


References