Chen Log

陳洛格

OpenERP RML判斷是否為 訂單、估價單的語法

leave a comment »

 

螢幕快照 2014 01 07 01 37 19

螢幕快照 2014 01 07 01 38 14

 

 

<para style=”terp_header”><b>[[ o.state not in [‘draft’,’sent’] and removeParentNode(‘para’) ]] 估價單 Quotation [[ o.name ]]</b></para>
<para style=”terp_header”><b>[[ o.state in [‘draft’,’sent’] and removeParentNode(‘para’) ]] 訂購單 Order [[ o.name ]]</b></para>

 

可以利用這去呈現 PDF檔的排版 或文字!

Advertisements

Written by chenagw

2014/01/07 at 01:40

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: