[MIG] account_financial_report: Migration to 16.0
This commit is contained in:
@@ -81,7 +81,10 @@ class JournalLedgerReport(models.AbstractModel):
|
||||
return moves.ids, Moves, move_data
|
||||
|
||||
def _get_move_lines_domain(self, move_ids, wizard, journal_ids):
|
||||
return [("display_type", "=", False), ("move_id", "in", move_ids)]
|
||||
return [
|
||||
("display_type", "not in", ["line_note", "line_section"]),
|
||||
("move_id", "in", move_ids),
|
||||
]
|
||||
|
||||
def _get_move_lines_order(self, move_ids, wizard, journal_ids):
|
||||
"""Add `move_id` to make sure the order of the records is correct
|
||||
@@ -134,7 +137,7 @@ class JournalLedgerReport(models.AbstractModel):
|
||||
return {
|
||||
"name": account.name,
|
||||
"code": account.code,
|
||||
"internal_type": account.internal_type,
|
||||
"account_type": account.account_type,
|
||||
}
|
||||
|
||||
def _get_partner_data(self, partners):
|
||||
|
||||
Reference in New Issue
Block a user