← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 691946] Re: [6.0] stock_production_lot - insufficient constraint

 

** Changed in: openobject-addons
       Status: New => Opinion

-- 
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/691946

Title:
  [6.0] stock_production_lot - insufficient constraint

Status in OpenObject Addons Modules:
  Opinion

Bug description:
   "stock_production_lot_name_ref_uniq" UNIQUE, btree (name, ref)
must be splitted into
 "stock_production_lot_name_uniq" UNIQUE, btree (name)
 "stock_production_lot_ref_uniq" UNIQUE, btree (ref)

IMHO it does not make sense to have neither identical name nor identical ref -

the current constraint allows (name,ref) - which is not wanted
1,'a'
1,'b' 
2,'a'
2,'b'
..





References