How to set PDF name in qWeb report, Odoo?

后端 未结 8 1887
灰色年华
灰色年华 2021-01-12 13:41

I\'m making reports using qWeb in Odoo 8. Those generated PDF files are saved with a \"default\" name. I would like to set a specific name to every generated file (not after

8条回答
  •  萌比男神i
    2021-01-12 14:02

    In General Qweb Report the Menu you can print your Qweb Report in Odoo 8.0

    
    
        
            
        
    
    

    In Tag has the different attributes for print the report in Qweb If you want to change the name of your printed PDF then the name Attribute is more important for us.

    Based on the name attribute our report PDF File name comes over hear in generalize one you should set the name attribute base on your_module_name.report_name

    If you want to change your customize name of your PDF File then change the name attribute as per your sweet report name.

    I hope this should helpful for you ..:)

提交回复
热议问题