تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4190 أدوات العرض

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.
 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 16
4786
0
أبريل 24
1332
3
يناير 21
7668
1
يونيو 25
961
1
يونيو 24
1919