← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 790636] [NEW] UOM can't save

 

Public bug reported:

trunk, revno 4750

>From sales/Configuration/Product/Units of measure
Create new record and save it, you have faced the following traceback

db.cursor:bad query: insert into "product_uom" (id,"active","name","factor","rounding","category_id","uom_type",create_uid,create_date) values (13,E'True',E'dss',1.0,E'0.010',2,E'reference',1,now())
Traceback (most recent call last):
  File "/home/ara/rdtools/server/trunk/openerp/sql_db.py", line 136, in execute
    res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "product_uom_factor_category_id_uniq"

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/790636

Title:
  UOM can't save

Status in OpenERP Modules (addons):
  New

Bug description:
  trunk, revno 4750

  From sales/Configuration/Product/Units of measure
  Create new record and save it, you have faced the following traceback

  db.cursor:bad query: insert into "product_uom" (id,"active","name","factor","rounding","category_id","uom_type",create_uid,create_date) values (13,E'True',E'dss',1.0,E'0.010',2,E'reference',1,now())
  Traceback (most recent call last):
    File "/home/ara/rdtools/server/trunk/openerp/sql_db.py", line 136, in execute
      res = self._obj.execute(query, params)
  IntegrityError: duplicate key value violates unique constraint "product_uom_factor_category_id_uniq"


Follow ups

References