mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-18 01:32:07 +02:00
Use translatable Partner Ledger with code translation for PDF filename
🤖 assisted by claude
This commit is contained in:
parent
a98a4ab2a5
commit
bb0a9f3925
2 changed files with 4 additions and 1 deletions
|
|
@ -764,7 +764,10 @@ msgid "Partner"
|
|||
msgstr "Partner"
|
||||
|
||||
#. module: accounting_pdf_reports
|
||||
#. odoo-python
|
||||
#: code:addons/accounting_pdf_reports/wizard/account_partner_ledger.py:0
|
||||
#: model:ir.actions.act_window,name:accounting_pdf_reports.action_account_moves_ledger_partner
|
||||
#, python-format
|
||||
msgid "Partner Ledger"
|
||||
msgstr "Kartica partnera"
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class AccountPartnerLedger(models.TransientModel):
|
|||
help="Show previous balance before the start date.")
|
||||
|
||||
def _get_report_base_filename(self):
|
||||
base = 'Kartica_partnera'
|
||||
base = _('Partner Ledger').replace(' ', '_')
|
||||
if self.partner_ids:
|
||||
names = '_'.join(
|
||||
name.replace(' ', '_').replace('/', '_').replace('\\', '_')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue