Currently, each pdf created in my instance use the pattern "invoice_SAJ_XXXX_XXXX_.pdf". I'd like my invoices filenames to be named according my locale or at least set the filename in an other language than English, how do I do it ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
You can change this from the menu: Settings > Technical > Actions > Report
To access this menu, your user need to be in the Technical Features
group.
Search the correct report using invoice
keyword.
Then, change INV by FAC in the field Save as Attachment Prefix
.
This only works for invoices? I have noy seen a topic address any other report except invoice reports
You can create a new module which adds the translate=True
option to the column "attachment" of the ir.actions.report.xml
object.
You need something like this in a new module:
class report_xml(osv.osv):
_inherit = 'ir.actions.report.xml'
_columns = {
'attachment': fields.char('Save as Attachment Prefix', size=128, help='This is the filename of the attachment used to store the printing result. Keep empty to not save the printed reports. You can use a python expression with the object and time variables.', translate=True),
}
report_xml()
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
mrt. 15
|
4591 | ||
|
0
mrt. 15
|
3997 | ||
|
1
mrt. 15
|
5483 | ||
|
4
mrt. 15
|
7147 | ||
|
0
mrt. 15
|
4119 |