# How to git rid of leading model name in report filename?

**URL:** https://discuss.tryton.org/t/how-to-git-rid-of-leading-model-name-in-report-filename/6505
**Category:** User
**Created:** [September 5, 2023, 8:56pm UTC](https://discuss.tryton.org/t/how-to-git-rid-of-leading-model-name-in-report-filename/6505 "2023-09-05T20:56:28Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [September 7, 2023, 9:19am UTC](https://discuss.tryton.org/t/how-to-git-rid-of-leading-model-name-in-report-filename/6505/7 "2023-09-07T09:19:55Z")

</div>

> [@pokoli](#):
>
> Also know the report name is always included on the start of the report, but i’ve seen some people which prefer to include the record name first and latter the record name.

I proposed [https://discuss.tryton.org/t/improve-dynamic-report-filename](https://discuss.tryton.org/t/improve-dynamic-report-filename) to make everything dynamic so a user can do whatever he wants.  
Just make it possible to ‘build’ a full filename I want, in the way I want. For now I have done it in a module which overrides the `execute` function.

> [@ced](#):
>
> Also having the report name as prefix provide an automatic grouping of reports by type.

It’s about the filename not the report name. The filename is used when the report is stored outside Tryton or send by email. Now I have to rename the filename because it doesn’t meet my requirements.  
Also grouping is nitpicking because when reports are stored on disk, they are already grouped in sub directories. It depends but those reports on disk are most of the time sorted by the sequence number or party name.

The biggest issue I see is when you want to print a report from multiple records without `single` checked.

---

_[View the full topic](https://discuss.tryton.org/t/how-to-git-rid-of-leading-model-name-in-report-filename/6505)._
