Fix PDF filename to Kartica_partnera, fix previous_balance translation in DB

🤖 assisted by claude
This commit is contained in:
Ernad Husremovic 2026-03-12 11:28:25 +01:00
parent 2bbfa04c25
commit a98a4ab2a5

View file

@ -18,7 +18,7 @@ class AccountPartnerLedger(models.TransientModel):
help="Show previous balance before the start date.")
def _get_report_base_filename(self):
base = _('Partner Ledger').replace(' ', '_')
base = 'Kartica_partnera'
if self.partner_ids:
names = '_'.join(
name.replace(' ', '_').replace('/', '_').replace('\\', '_')