Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
由於想針對輸出Supplier Refunds的報表增加欄位顯示但是由於OpenERP內有Supplier/Customer 的Invoice/Refund都是共用account_print_invoice.rml控制輸出格式想請教如何直接在rml中的增加判斷式使某些資料僅在輸出Supplier Refund報表時顯示(曾試過於[[ if o.type=='in_refund':]])請不吝指教 謝謝
尝试一下 [[ (xxx.type == 'in_xxxx') and "Result one" or "Result two"]]
感謝