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

Hi all,

I wan't to generate a custom report based on account.invoice, and this report will be a merged one, I mean I will have several invoices within.

I'm under Odoo v8.

The goal is to store it on disk and then make zip with other files.

The main problem is that I've tried several methods such as :

- get_pdf -> but I have an error related to the parameter record.ids

Exemple : self.env['report'].get_pdf(inv_ids, 'account.report_invoice')

Where inv_ids have all the invoices I need.

I've read several post talking about report generation but didn't find the right way to do it.

I wish to know how to call generation of a report and get it to save it on disk.

Cheers.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 24
2297
2
سبتمبر 21
25968
1
يونيو 24
2460
1
فبراير 24
4918
5
أبريل 20
9459