[IMP] stock : Improved report name according to Incoming Shipment, Internal Shipment and Delivery Order.

bzr revid: mdi@tinyerp.com-20120322050506-qo93hguamy8suprp
This commit is contained in:
Divyesh Makwana (Open ERP)
2012-03-22 10:35:06 +05:30
parent d3b153e399
commit 022aff0ac9
+3 -3
View File
@@ -680,11 +680,11 @@ class stock_picking(osv.osv):
if report['report_name'] != 'stock.picking.list':
continue
if type == 'in':
report['string'] = 'Incoming Shipment'
report['string'] = 'Receipt Slip'
elif type == 'internal':
report['string'] = 'Internal Shipment'
report['string'] = 'Picking Slip'
elif type == 'out':
report['string'] = 'Delivery Order'
report['string'] = 'Delivery Slip'
report['name'] = report['string']
for field in res['fields']: