Skip to content
Snippets Groups Projects
Commit 5c1c0c47 authored by Marco Folco's avatar Marco Folco
Browse files

Merge branch 'SOF-90-Quitar_cantidad_prestaciones' into '12.0-stage'

[MOD] invoice

See merge request !47
parents 63847e23 5a6ce78c
No related branches found
No related tags found
1 merge request!47[MOD] invoice
......@@ -98,7 +98,7 @@ class MedicalInvoice(models.Model):
context = dict()
context.update(self.env.context)
context.update({'create': False})
action = self.env.ref('account.action_invoice_tree1').read()[0]
action = self.env.ref('account.action_invoice_tree').read()[0]
action['domain'] = str([('id', 'in', self.account_invoice_ids.ids)])
action['context'] = context
return action
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment