I have problem with many2one fields in calendar view
class x_x (osv.osv):
_name = 'x.x'
'x_field' : fields.many2one('res.partner' , 'Partner'),
'date' ; fields.datetime('date'),
'note' : fields.char('Note')
and build my xml like the following :
<record id="calendar" model="ir.ui.view">
<field name="arch" type="xml">
<calendar string="Calendar" color="x_field" date_start='date'>
but in the calendar right hand side (color property) just retrieve the recorded partners in this object
any solution for list all partners ?????
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/5/16, 5:37 AM|
|Seen: 411 times|
|Last updated: 4/5/16, 7:10 AM|