[IMP] product: declare the product_pricelist report using XML only.

bzr revid: vmt@openerp.com-20130222093501-c32md2uig2zo7481
This commit is contained in:
Vo Minh Thu 2013-02-22 10:35:01 +01:00
parent 73bf45f9a4
commit eb5fa511ec
2 changed files with 2 additions and 3 deletions

View File

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

View File

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