İçereği Atla
Menü
Bu soru işaretlendi
3862 Görünümler

Hello everyone,

I have into module as type 'ir.actions.act_window'. Behind my Python code, i want to edit that view with following code:

def action_to_do(self):

  action = self.env.ref('model.view_name').read()[0]

  action['field_name_ids'] =  [(0, 0, name_list_ids)] # name_list_ids = One2many()

  return action 


Helps.                                                                                       

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eyl 21
8778
2
Mar 19
8684
5
Ağu 24
46749
4
May 24
7174
2
Nis 24
2590