forked from Yaltik/golem
[TMP] Add Smartbutton invoices in member form
This commit is contained in:
parent
293109fe3c
commit
7e236226b7
@ -226,8 +226,8 @@ class GolemMember(models.Model):
|
||||
return {'type': 'ir.actions.act_window',
|
||||
'res_model': 'account.invoice',
|
||||
'view_mode': 'tree',
|
||||
'context': 'default_partner_id',
|
||||
'res_id': self.partner_id}
|
||||
'context': {'search_default_partner_id': self.partner_id.id},
|
||||
'res_id': self.partner_id.id}
|
||||
|
||||
|
||||
class GolemMemberNumber(models.Model):
|
||||
|
Loading…
Reference in New Issue
Block a user