跳至内容
菜单
此问题已终结
3 回复
9559 查看

I want to print the payment terms in the purchase order. Is there any way to do this?

Also, i want to include purchase order instructions to the purchase order document.

Anybody knows how to doit?

Thanks,

Roger

形象
丢弃
最佳答案

<blocktable colwidths="2cm, 6cm" repeatrows="1" style="ids"> <para style="terp_tblheader_General_Centre">Payment Term</para> </blocktable>

<blocktable colwidths="2cm, 6cm" repeatrows="1" style="ids"> <para style="terp_tblheader_General_Centre">[[o.payment_term_id.name]]</para>
</blocktable>

形象
丢弃
最佳答案

Hello,

<blockTable colWidths="6cm" repeatRows="1" style="ids">
  <tr>
    <td>
      <para style="terp_tblheader_General_Centre">Payment Term</para>
    </td>
   </tr>
</blockTable>

<blockTable colWidths="6cm" repeatRows="1" style="ids">
   <tr>
     <td>
       <para style="terp_tblheader_General_Centre">[[o.payment_term_id]]</para>     
     </td>
   </tr>
</blockTable>

Thanks,

Serpent Consulting Services .Pvt .Ltd

形象
丢弃
编写者

Hello ,Where do I copy this text? Should i open a report file directly on the disk? or by openoffice plugin?

编写者

Hello, i don get the Payment Terms Value, instead i get the following: Payment Terms: browse_record(account.payment.term, 4)

Hello Sir, I did as u said but i'm getting it as assertion error. So what can I do plz suggest?

Try my updated answer.- Serpent Consulting Services

Hello Sir i tried ur updated answer now its giving this error sir <type 'exceptions.KeyError'>, KeyError('ids',), <traceback object at 0x059F1A80>) can you plz help I'm totally new to open ERP

编写者 最佳答案

Now i know how to doit.

Just

<blocktable colwidths="2cm, 6cm" repeatrows="1" style="ids"> <para style="terp_tblheader_General_Centre">Payment Term</para> </blocktable>

<blocktable colwidths="2cm, 6cm" repeatrows="1" style="ids"> <para style="terp_tblheader_General_Centre">[[o.payment_term_id.name]]</para>
</blocktable>

形象
丢弃
相关帖文 回复 查看 活动
2
5月 25
1959
1
12月 24
2277
2
8月 22
4281
1
3月 15
11508
1
3月 15
4072