[TMP] Add Smartbutton invoices in member form

This commit is contained in:
michel 2018-02-08 09:22:26 +01:00
parent 293109fe3c
commit 7e236226b7
1 changed files with 2 additions and 2 deletions

View File

@ -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):