Skip to Content
Menu
This question has been flagged
3 Replies
8175 Views

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

Avatar
Discard
Best Answer

<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>

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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

Author

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

Author Best Answer

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>

Avatar
Discard
Related Posts Replies Views Activity
2
May 24
377
1
Dec 24
1007
2
Aug 22
2868
1
Mar 15
10199
1
Mar 15
3148