[IMP] stock: picking: fix print

bzr revid: chm@openerp.com-20130708104045-qulx5h2gstidpxdk
This commit is contained in:
Christophe Matthieu 2013-07-08 12:40:45 +02:00
parent 5d9db60eb0
commit 21b041f7c2
2 changed files with 3 additions and 5 deletions

View File

@ -1,13 +1,11 @@
<?xml version="1.0"?>
<document filename="Packing List.pdf">
<template pageSize="(595.0,842.0)" title="Packing List" author="OpenERP S.A.(sales@openerp.com)" allowSplitting="20">
<document filename="Packing BarCode.pdf">
<template pageSize="(595.0,842.0)" title="Packing BarCode" author="OpenERP S.A.(sales@openerp.com)" allowSplitting="20">
<pageTemplate id="first">
<frame id="first" x1="0.0" y1="57.0" width="538" height="728"/>
</pageTemplate>
</template>
<story>
<pto>
<barCode code="code128" quiet="9" fontName="Times-Roman" fontSize="50" alignment="CENTER"> [[ packaging_id.product_id.ean13 ]] </barCode>
</pto>
</story>
</document>

View File

@ -3893,7 +3893,7 @@ class stock_package(osv.osv):
}
return {
'type': 'ir.actions.report.xml',
'report_name': 'report.stock.quant.package.barcode',
'report_name': 'stock.quant.package.barcode',
'datas': datas
}