[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

@@ -41,7 +41,7 @@ class ActivityStatementXslx(models.AbstractModel):
statement_header = _(
"%(payable)sStatement between %(start)s and %(end)s in %(currency)s"
) % {
"payable": account_type == "payable" and _("Supplier ") or "",
"payable": account_type == "liability_payable" and _("Supplier ") or "",
"start": partner_data.get("start"),
"end": partner_data.get("end"),
"currency": currency.display_name,