[MIG] account_ebics: Migration to 19.0

This commit is contained in:
Luc De Meyer
2026-03-01 23:30:15 +01:00
parent 051c68f785
commit 71835fae7b
23 changed files with 68 additions and 372 deletions

View File

@@ -475,8 +475,7 @@ class EbicsUserID(models.Model):
if cc in ["FR", "DE"]:
lang = cc
else:
lang = self.env.user.lang or self.env["res.lang"].search([])[0].code
lang = lang[:2]
lang = self.env.user.lang[:2]
lang = lang.lower()
lang = lang if lang in INI_LETTER_LANGS else "en"
fn_date = fields.Date.today().isoformat()