Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4178 มุมมอง

Dear All!

I am new to OpenERP, and currently i need to perform a small task: change the invoice pdf documents (i.e. add additional information) generated by "account" module. I am using odoo 8. I located the xml file i need to edit: .../addons/account/views/report_invoice.xml, and indeed whatever changes i make appear on the pdf, but i am more interested in adding new fields to the invoice. My first thought was to edit .../addons/account/account_invoice.py, for example, by adding "amount_total=3.57", just to see if that value appears on the pdf, but it doesn't. Does any body know which .py file to edit in order to put some additional information on the invoice?

Thank You in advance,
Yours,
Michal/2Pi

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Michal,

The change should be in addons/account/views/report_invoice.xml.

Try by updating the module once.

Thanks.
 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Generate new PDF report each time แก้ไขแล้ว
1
มิ.ย. 16
4779
0
เม.ย. 24
1312
3
ม.ค. 21
7655
0
ธ.ค. 24
929
1
มิ.ย. 24
1910