[[repeatIn(objects,'picking')]]

[[picking.type == 'out' and picking.partner_id and setLang(picking.partner_id.lang) or '']]

Supplier Address : [[ (picking.type == 'in' or removeParentNode('para')) and '' ]] Customer Address : [[ (picking.type == 'out' or removeParentNode('para')) and '' ]] Warehouse Address : [[ (picking.type == 'internal' or removeParentNode('para')) and '' ]] [[ (picking.partner_id and picking.partner_id.id and picking.partner_id.title.name) or '' ]] [[ picking.partner_id and picking.partner_id.id and picking.partner_id.name ]] [[ picking.partner_id and display_address(picking.partner_id) ]] [[ picking.partner_id.phone or picking.partner_id.email or removeParentNode('para')]]	Contact Address : [[ picking.partner_id and picking.partner_id.title.name or '' ]] [[ picking.partner_id and picking.partner_id.name or '' ]] [[ picking.partner_id and display_address(picking.partner_id) ]] [[ picking.partner_id.phone or picking.partner_id.email or removeParentNode('para') ]]

Delivery Order : [[ (picking.type == 'out' or removeParentNode('para')) and '' ]] [[ picking.name ]] Incoming Shipment : [[ (picking.type == 'in' or removeParentNode('para')) and '' ]] [[ picking.name ]] Internal Shipment : [[ (picking.type == 'internal' or removeParentNode('para')) and '' ]] [[ picking.name ]]

Journal	Order(Origin)	Scheduled Date	Weight
[[ picking.stock_journal_id.name]]	[[ picking.origin or '']]	[[ formatLang(picking.min_date,date_time = True) ]]	[[ 'weight' in picking._columns.keys() and picking.weight or '']]

Description	Serial Number	State	Location	Quantity

[[ repeatIn([line for line in picking.move_lines if (line.state == 'confirmed' or line.state=='done' or line.state=='assigned')],'move_lines') ]]

[[ (picking.move_lines!=[] and removeParentNode('para')) or removeParentNode('section')]]

[[ get_product_desc(move_lines) ]]	[[ (move_lines.prodlot_id and move_lines.prodlot_id.name) or '' ]]	Waiting Availability[[ move_lines.state == 'confirmed' and ' ' or removeParentNode('para') ]] Done[[ move_lines.state == 'done' and ' ' or removeParentNode('para') ]] Available[[ move_lines.state == 'assigned' and ' ' or removeParentNode('para') ]]	[[ (move_lines.location_id and move_lines.location_id.name) or '' ]]	[[ formatLang(move_lines.product_qty) ]] [[ move_lines.product_uom.name ]]

[[ ([line for line in picking.move_lines if (line.state == 'draft' or line.state=='waiting' )]) and 'Non Assigned Products:' or removeParentNode('para') ]]

[[ repeatIn([line for line in picking.move_lines if (line.state == 'draft' or line.state=='waiting')],'move_lines') ]]

[[ (picking.move_lines!=[] and removeParentNode('para')) or removeParentNode('section')]]

[[ get_product_desc(move_lines) ]]	[[ (move_lines.prodlot_id and move_lines.prodlot_id.name) or '' ]]	[[ move_lines.state ]]	[[ (move_lines.location_id and move_lines.location_id.name) or '' ]]	[[ formatLang(move_lines.product_qty) ]] [[ move_lines.product_uom.name ]]

Vinay Rana

2008-08-26T11:04:38

ado