← Back to team overview

openerp-expert-framework team mailing list archive

fields.selection - inherit problem

 

the following scenario creates problems

module (A)
'state': fields.selection([('draft','Draft'),('done','Done')],

module (B) depends on (A)
'state': fields.selection([('draft','Draft'),('running','Running'),
('done','Done')],

module (C) depends on (A)
'state': fields.selection([('draft','Draft'),('invalid','Invalid'),
('done','Done')],

if module (B) and (C) are both installed but otherwise completely independent 
of each other either (B) or (C) won't find one of their values.

IMHO OpenERP should provide a solution to allow inheriting selection fields.

or do I miss something?


-- 
regards
Ferdinand Gassauer
ChriCar Beteiligungs- und Beratungs- GmbH
Official OpenERP Partner