← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 691946] [NEW] [6.0] stock_production_lot - insufficient constraint

 

Public bug reported:

 "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'
..

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

Title:
  [6.0] stock_production_lot - insufficient constraint

Status in OpenObject Addons Modules:
  New

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'
..





Follow ups

References