Chen Log

陳洛格

OPEN ERP 7.0 訂單 職位顯示添加

leave a comment »

把 Job Position 顯示在打印訂單裡面。

請在 sale_order.rml 添加這段:[[ (o.partner_id.function) or removeParentNode(‘para’) ]] 即可!

 

<para style=”terp_default_9″>聯絡人: [[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or ” ]] [[ (o.partner_id and o.partner_id.name) or ” ]]</para>
<para style=”terp_default_9″>[[ (o.partner_id.function) or removeParentNode(‘para’) ]]</para>
<para style=”terp_default_9″>[[ o.partner_id.reference ]] [[ o.partner_id and display_address(o.partner_id) ]] </para>

Advertisements

Written by chenagw

2016/02/16 at 11:10

Posted in Uncategorized

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: