[16.0] [MIG] partner_statement: Migration to 16.0

This commit is contained in:
Danny W. Adair
2023-10-24 15:14:08 +13:00
committed by Miquel Raïch
parent 5b7e7d4842
commit bf2d7c6dd1
13 changed files with 32 additions and 28 deletions

View File

@@ -39,7 +39,7 @@ class OutstandingStatementXslx(models.AbstractModel):
account_type = data.get("account_type", False)
row_pos += 2
statement_header = _("%(payable)sStatement up to %(end)s in %(currency)s") % {
"payable": account_type == "payable" and _("Supplier ") or "",
"payable": account_type == "liability_payable" and _("Supplier ") or "",
"end": partner_data.get("end"),
"currency": currency.display_name,
}