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

How can I load product data or order data in order to display them on invoice pdf?

For example, I want to dispay tax percentage for every product row, but I have to get this information from related order.

There is no enough documentation about template customization on odoo.com

الصورة الرمزية
إهمال
أفضل إجابة

Alessandro, by default the report "invoices" has tax percentages of the items line by line. Check my screenshot;

http://imgur.com/vV8d5Sg

الصورة الرمزية
إهمال
الكاتب

In my case, invoices are sychronized from magento, and orders are coming from magento too.

Anyway I need to add other additional information on the invoice pdf. I have read about defining new report parser in order to pick data from other models. Is it the only way?

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يناير 24
1977
0
يناير 24
1706
0
فبراير 22
2750
3
مايو 18
16269
2
سبتمبر 16
10652