mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[MIG] account_move_base_import: Migration to 13.0
This commit is contained in:
committed by
Florian da Costa
parent
8b9256054a
commit
8f9450c6a1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user