From af67824323351f235c86effc3ff46734eb5f6ac3 Mon Sep 17 00:00:00 2001 From: Ivan Office Date: Wed, 18 Sep 2024 12:30:29 +0800 Subject: [PATCH] fix sale comm --- l10n_cn_standard_latest/models/account_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_cn_standard_latest/models/account_move.py b/l10n_cn_standard_latest/models/account_move.py index 2325d311..2e3839cd 100644 --- a/l10n_cn_standard_latest/models/account_move.py +++ b/l10n_cn_standard_latest/models/account_move.py @@ -31,4 +31,4 @@ class AccountMove(models.Model): domains.append([('res_model', '=', 'account.bank.statement'), ('res_id', 'in', statement_ids.ids)]) if payment_ids: domains.append([('res_model', '=', 'account.payment'), ('res_id', 'in', payment_ids.ids)]) - return self.env['ir.attachment'].search_count(expression.OR(domains)) \ No newline at end of file + return self.env['ir.attachment'].search_count(expression.OR(domains))