[6.1] Try to create a new state on Leads have trackback
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) | Status tracked in Trunk | |||||
6.1 |
Fix Committed
|
Medium
|
OpenERP Publisher's Warranty Team | |||
Trunk |
Invalid
|
Medium
|
OpenERP Publisher's Warranty Team |
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"
Traceback (most recent call last):
File "/home/
res = self._obj.
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]
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 47 lines (+4/-4)3 files modifiedaccount/partner_view.xml (+1/-1)
base_contact/base_contact_view.xml (+1/-1)
crm/crm_lead_view.xml (+2/-2)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Team (openerp-dev) |
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | OpenERP R&D Team (openerp-dev) → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
Changed in openerp-web: | |
assignee: | OpenERP R&D Web Team (openerp-dev-web) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
summary: |
- Try to create a new state on Leads have trackback + [6.1] 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!