Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
9460 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Autor

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

Autor Najlepsza odpowiedź

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>

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
maj 25
1857
1
gru 24
2194
2
sie 22
4195
1
mar 15
11388
1
mar 15
3981