openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #21080
[Bug 1097153] Re: Duplicating company does not work
2013-01-07 13:36:01,964 30225 ERROR ? openerp.sql_db: bad query: update "res_company" set "name"='PetaMem GmbH' where id = 6
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "res_company_name_uniq"
DETAIL: Key (name)=(PetaMem GmbH) already exists.
2013-01-07 13:36:01,967 30225 ERROR openerp_ch01 openerp.netsvc: Constraint Error
The company name must be unique !
2013-01-07 13:36:01,969 30225 INFO openerp_ch01 werkzeug: 90.179.143.145 - - [07/Jan/2013 13:36:01] "POST /web/dataset/call HTTP/1.1" 200 -
2013-01-07 13:36:16,203 30225 ERROR ? openerp.sql_db: bad query: update "res_company" set "name"='PetaMem GmbH' where id = 7
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "res_company_name_uniq"
DETAIL: Key (name)=(PetaMem GmbH) already exists.
2013-01-07 13:36:16,206 30225 ERROR openerp_ch01 openerp.netsvc: Constraint Error
The company name must be unique !
--
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/1097153
Title:
Duplicating company does not work
Status in OpenERP Addons (modules):
New
Bug description:
1) Steps to reproduce the issue you have observed
Have a company defined
click on duplicate button
2) The result you observed
"The company name must be unique" error
3) The result you expected
Getting duplicate company (e.g. company name appended "(copy)" to it)
4) The platform you are using (and browser version, if relevant)
Linux, Chromium 24
5) The OpenERP version you are using (e.g. 6.1.1-20120910-233309), if
possible including the specific revision (e.g. r.2824) if you use the
source repositories.
Vanilla 6.1.1 @ Gentoo
------------------------
Works with other forms (product etc.), so this bug basically renders
the duplicate button in company form useless and violates the OpenERP
usability claim. ;-)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1097153/+subscriptions
References