mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] account_statement_import: abs lines don't need partner_bank_id field
Let them use the one from account moves.
This commit is contained in:
committed by
Alexis de Lattre
parent
1ee97d3583
commit
16bacb83c3
@@ -12,10 +12,6 @@ class AccountBankStatementLine(models.Model):
|
||||
# Ensure transactions can be imported only once
|
||||
# (if the import format provides unique transaction ids)
|
||||
unique_import_id = fields.Char(string="Import ID", readonly=True, copy=False)
|
||||
# v13 field: bank_partner_id
|
||||
# This field was removed in v14, but it is still used in the code, cf the
|
||||
# method reconcile() !!! So I restore the field here
|
||||
partner_bank_id = fields.Many2one("res.partner.bank", string="Partner Bank Account")
|
||||
|
||||
_sql_constraints = [
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user