← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 790636] Re: UOM can't save

 

** Changed in: openobject-server
       Status: Confirmed => In Progress

-- 
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 Server:
  In Progress

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"


References