This question has been flagged
1 Reply
2448 Views

I'm working with version 7. I've created several reports before, but now I'm having trouble with the name of this one. I put it the name Meeting attendance list, however, when I print the report, the default name of it is the one I've chosen plus followed by all the names of the selected records, separated by dashes.

For example: If I select the records whose names are Hello, Goodbye, Regards, and print them, in the following pop-up where I select the directory to save it and the file name, this last one is Meeting attendance list-Hello-Goodbye-Regards.pdf by default. Why???

Here is my RML first section:

<?xml version="1.0"?>
<document filename="Meeting attendance list.pdf">
  <template title="Meeting attendance list" author="Juan Formoso Vasco (xxx@xxx.xxx)" allowSplitting="20">

....

I did nothing different from the other times, as far as I know. Can anyone help me?

Avatar
Discard
Best Answer

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
    <report
        id="your_id"
        model="your.model"
        string="This string is your button"
        name="This is the name of .pdf download"
        file="report_session"
        report_type="qweb-pdf" />

I hope you serve

Avatar
Discard