[MIG] account_move_base_import: Migration to 13.0

This commit is contained in:
Damien Crier
2020-08-10 12:00:21 +02:00
committed by Florian da Costa
parent 8b9256054a
commit 8f9450c6a1
6 changed files with 10 additions and 17 deletions

View File

@@ -76,7 +76,6 @@ class AccountJournal(models.Model):
"the refunds and one for the payments",
)
@api.multi
def _prepare_counterpart_line(self, move, amount, date):
if amount > 0.0:
account_id = self.default_debit_account_id.id
@@ -102,7 +101,6 @@ class AccountJournal(models.Model):
}
return counterpart_values
@api.multi
def _create_counterpart(self, parser, move):
move_line_obj = self.env["account.move.line"]
refund = 0.0
@@ -132,7 +130,6 @@ class AccountJournal(models.Model):
vals
)
@api.multi
def _write_extra_move_lines(self, parser, move):
"""Insert extra lines after the main statement lines.
@@ -186,7 +183,6 @@ class AccountJournal(models.Model):
comm_values
)
@api.multi
def write_logs_after_import(self, move, num_lines):
"""Write the log in the logger