Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by yvaucher
- Loading branch information
Showing
4 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
account_mass_reconcile_transaction_ref/models/base_advanced_reconciliation.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
# Copyright 2013-2018 Camptocamp SA | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) | ||
from odoo import models | ||
from odoo import models, api | ||
|
||
|
||
class MassReconcileAdvanced(models.AbstractModel): | ||
|
||
_inherit = 'mass.reconcile.advanced' | ||
|
||
@api.model | ||
def _base_columns(self): | ||
""" Mandatory columns for move lines queries | ||
An extra column aliased as ``key`` should be defined | ||
in each query.""" | ||
aml_cols = super(MassReconcileAdvanced, self)._base_columns() | ||
aml_cols = super()._base_columns() | ||
aml_cols.append('account_move_line.transaction_ref') | ||
return aml_cols |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import test_account_reconcile_transaction_ref |