Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
8930 Переглядів

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>

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
трав. 25
1300
1
груд. 24
1754
Updating a receipt Вирішено
2
серп. 22
3747
1
бер. 15
10935
1
бер. 15
3677