Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
8941 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Tác giả

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

Tác giả Câu trả lời hay nhất

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>

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 25
1311
1
thg 12 24
1760
Updating a receipt Đã xử lý
2
thg 8 22
3766
1
thg 3 15
10945
1
thg 3 15
3686