Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ

I have problem with many2one fields in calendar view 

for example 

class x_x (osv.osv):

      _name = 'x.x'

        _columns= {

           '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="name">calendar</field>
 <field name="model">x.x</field>
 <field name="arch" type="xml">
 <calendar string="Calendar" color="x_field" date_start='date'>
  <field name="note"/>
   </calendar>
  </field>
</record>



but in the calendar right hand side (color property) just retrieve the recorded partners in this object


any solution for list all partners ????? 


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Creating a custom dashboard แก้ไขแล้ว
8
พ.ย. 23
55296
0
ก.พ. 21
2017
2
ธ.ค. 24
1501
2
ก.ย. 24
1297
0
ส.ค. 23
194