[IMP] product: declare the product_pricelist report using XML only.
bzr revid: vmt@openerp.com-20130222093501-c32md2uig2zo7481
This commit is contained in:
parent
73bf45f9a4
commit
eb5fa511ec
|
@ -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>
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue