Products from Elec2rak Store
How to add Customer Details in Payment Receipt Report of Odoo 16

How to add Customer Details in Payment Receipt Report of Odoo 16

โดยปกติฟอร์มใบเสร็จรับเงินเบื้องต้น จะมีแต่เฉพาะชื่อบริษัทของลูกค้า เราสามารถทำการเพิ่ม ที่อยู่รายละเอียดต่างๆ เพิ่มเติมเข้าไปได้เหมือนกับ Quotation และ Invoice ด้วยขั้นตอนดังต่อไปนี้

เข้าไปที่ Settings ทำการ Activate Developer Mode

เข้าไปที่ Settings>Technical>Reporting>Reports คลิ๊กเลือก Payment Receipt

Click ที่ </> Qweb Views

เลือก report_payment_receipt_document เพื่อทำการเพิ่ม code รายละเอียดของบริษัท

เพิ่ม Code ในตำแหน่งที่ต้องการ

<span t-field="o.partner_id" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;, &quot;vat&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}"/>

Before:

After:

Cheap Odoo Hosting/Self-hosted

Phone: +669 4004 5061
Line ID: elec2rak
Social icon

We have 1157 guests and 0 members online

  • Articles View Hits 1571479
  • Web Links 12