Hi All,
I'm working on module that generates salary report based on a criteria.I have Created a wizard namely my_module_name.wizard, It's of 'models.TransientModel'.My Wizard has a field named file_name i want this field as my xlsx file's name.
I have already tried this , It doesn't work , it always prints the file attribute's value as file name
<report
id="mymodule_xlsx"
model="mymodule.wizard"
string="SIF Report"
report_type="xlsx"
name="mymodule_xlsx.xlsx"
file="mymodule_xlsx"
print_report_name="(object.file_name)"
menu="False"
attachment_use="0"/>
Please Tell me how do we do this?