[IMP] account_bank_reconciliation_summary_xlsx fine-tune config check
This commit is contained in:
@@ -196,6 +196,7 @@ class BankReconciliationXlsx(models.AbstractModel):
|
|||||||
account_currency=bank_account.currency_id.name or _('None')))
|
account_currency=bank_account.currency_id.name or _('None')))
|
||||||
bad_line_count = self.env['account.move.line'].search_count([
|
bad_line_count = self.env['account.move.line'].search_count([
|
||||||
('company_id', '=', company.id),
|
('company_id', '=', company.id),
|
||||||
|
('journal_id', '=', journal.id),
|
||||||
('account_id', '=', bank_account.id),
|
('account_id', '=', bank_account.id),
|
||||||
('currency_id', '!=', jdi['currency'].id),
|
('currency_id', '!=', jdi['currency'].id),
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user