diff options
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/product/product_report.xml | 3 | ||||
| -rw-r--r-- | addons/product/report/product_pricelist.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/addons/product/product_report.xml b/addons/product/product_report.xml index 6135fe64bca..791063696c4 100644 --- a/addons/product/product_report.xml +++ b/addons/product/product_report.xml @@ -9,6 +9,7 @@ name="product.pricelist" rml="product/report/product_pricelist.rml" menu="False" - auto="False"/> + parser="product.report.product_pricelist.product_pricelist" + /> </data> </openerp> diff --git a/addons/product/report/product_pricelist.py b/addons/product/report/product_pricelist.py index 5e9f8cf0a8a..9fd32035c64 100644 --- a/addons/product/report/product_pricelist.py +++ b/addons/product/report/product_pricelist.py @@ -126,6 +126,4 @@ class product_pricelist(report_sxw.rml_parse): price = self.formatLang(res[0]['list_price'], digits=sale_price_digits, currency_obj=pricelist.currency_id) return price -report_sxw.report_sxw('report.product.pricelist','product.product','addons/product/report/product_pricelist.rml',parser=product_pricelist) - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
