	[[ (user.address_id and user.address_id.partner_id and user.address_id.partner_id.title and user.address_id.partner_id.title.name) or '' ]] [[ (user.address_id and user.address_id.partner_id and user.address_id.partner_id.name) or '' ]] [[ (user.address_id and user.address_id.street) or '' ]] [[ (user.address_id and user.address_id.street2) or removeParentNode('para') ]] [[ (user.address_id and user.address_id.zip) or '' ]] [[ (user.address_id and user.address_id.city) or '' ]] [[ (user.address_id and user.address_id.state_id and user.address_id.state_id.name) or removeParentNode('para')]] [[ (user.address_id and user.address_id.country_id and user.address_id.country_id.name) or '' ]]

Lunch Order

Name/Date	Order	Description	Unit Price

[[repeatIn(get_users(objects),'o')]]

[[ o.name ]]		[[ formatLang(get_total(o,objects)) ]] [[ (o.company_id and o.company_id.currency_id and o.company_id.currency_id.symbol) or '' ]]

[[ repeatIn(get_lines(o,objects),'lines') ]]

[[ formatLang(lines.date,date='True') ]]	[[ (lines.product and lines.product.name) or '' ]]	[[ lines.descript]]	[[ lines.price ]] [[ (o.company_id and o.company_id.currency_id and o.company_id.currency_id.symbol) or '' ]]
	Total :	[[ formatLang(get_nettotal()) ]] [[ (o.company_id and o.company_id.currency_id and o.company_id.currency_id.symbol) or '' ]]

apa

2006-08-31T10:54:44