Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2039 มุมมอง
Hello,
i have a button that opens a tree view.
def action_view_altri_dati_gestionali(self):
return {
'name': self.product_id.name,
'res_model': 'altri.dati.gestionali',
'type': 'ir.actions.act_window',
'context': {'invoice_line_id': self.id},
'domain': [('invoice_line_id', '=', self.id)],
'view_mode': 'tree',
# 'target': 'new'
}

return action


If the view is opened in a modal window (with 'target': 'new') then the "Actions" drop down menu is NOT shown when selecting records.
If instead the view is opened in the main window (without 'target': 'new') then the "Actions" drop-down menu is shown correctly.

do you have a suggestion?

Thanks





อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 21
2286
1
มี.ค. 23
1946
2
ส.ค. 22
3008
1
มี.ค. 21
5860
1
ก.พ. 21
3700