Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4070 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Sep 21
9050
2
Mar 19
8949
5
Agu 24
47344
4
Mei 24
7526
2
Apr 24
2932