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

Please help me to set the file name for the qweb reports

For example in sale order report

sale_report instead of sale.report_saleorder.pdf

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

Hi Friend;

In this path: Sale/sale_report.xml you will find this:

<?xml version="1.0" encoding="utf-8"?>

<openerp>

<data>

<report auto="False" id="report_sale_order" model="sale.order" name="sale.order"

rml="sale/report/sale_order.rml" string="sale_report"

usage="default"/>

</data>

</openerp>

Every property of your report, you will put it there.

Best Regards.

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

Hi Drees Far I need to do this in qweb reports. And in qweb report i tried the above in odoo v8 code.

normally, you will find a file in which you will find the properties of the report which will be named as x_report.xml

follow this link my friend https://www.odoo.com/documentation/8.0/reference/reports.html

hey did you get it ??make me know my friend :)

المنشورات ذات الصلة الردود أدوات العرض النشاط
4
يناير 25
44636
0
أكتوبر 24
1478
0
أكتوبر 24
5
1
مايو 23
3015
5
مايو 21
11554