diff options
| author | RomainLibert <rli@odoo.com> | 2018-11-14 12:59:10 +0100 |
|---|---|---|
| committer | RomainLibert <rli@odoo.com> | 2018-11-14 13:06:58 +0100 |
| commit | 8cdfe1d8fe09b4f5bf808fc38ac812780e807c40 (patch) | |
| tree | 468737557488d6387db64b98d567d641a59cba70 | |
| parent | 0db2d4b3071fc779f9931efdb0002258232dcf0a (diff) | |
[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
| -rw-r--r-- | addons/product/report/product_pricelist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/product/report/product_pricelist.py b/addons/product/report/product_pricelist.py index 56027e7ffe4..4009999f4d2 100644 --- a/addons/product/report/product_pricelist.py +++ b/addons/product/report/product_pricelist.py @@ -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, |
