Skip to content
Snippets Groups Projects
Commit 8cdfe1d8 authored by RomainLibert's avatar RomainLibert
Browse files

[FIX] product: use product.pricelist in report product_pricelist

We were using hr.contribution.register as a doc_model on the
product.pricelist report which makes no sense since it should show
pricelist informations
parent 0db2d4b3
Branches
Tags
No related merge requests found
......@@ -16,7 +16,7 @@ class report_product_pricelist(models.AbstractModel):
quantities = self._get_quantity(data)
docargs = {
'doc_ids': data.get('ids', data.get('active_ids')),
'doc_model': 'hr.contribution.register',
'doc_model': 'product.pricelist',
'docs': products,
'data': dict(
data,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment