Report filename on linux

Hi,

When using history on sale/purchase, there’s a field revision. This revision is also included in the full_number property like this ‘number/revision’.
This full_number is used to generate filename when printing reports.

We noticed a small problem with the filename on linux system: the ‘/’ used to separate number and revision is removed. So when printing sale number 1 revision 1, filename is Sale-11.odt that could be confused with the sale number 11 (without revision) which is also Sale-11.odt

Could it be possible to have (or to configure) a separator (that could be used in filename allowed characters) between number and revision ?

I guess slugify could be improved to replace os.sep by -.

1 Like