fields.related and selection
Bug #385117 reported by
Stephane Wirtel (OpenERP)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Husen Daudi |
Bug Description
Is it possible to detect the values from a selection field pointed by a related field ?
Because we must define the same values of the selection field for the related field.
Regards,
Related branches
To post a comment you must log in.
Hello Stephane. :fields. related( 'address' ,'type' , type='selection', selection=[ ('default' ,'Default' ),('invoice' ,'Invoice' ), ('delivery' ,'Delivery' ), ('contact' ,'Contact' ), ('other','Other') ], string='Address Type'),
Its fixed in stable client. I have tested like this.
in partner I have added this field.
'type'
and in partner form and tree view I have added this field.