diff --git a/account_mass_reconcile/README.rst b/account_mass_reconcile/README.rst index 9b18fdab..654d6653 100644 --- a/account_mass_reconcile/README.rst +++ b/account_mass_reconcile/README.rst @@ -2,9 +2,9 @@ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 -============== -Mass Reconcile -============== +====================== +Account Mass Reconcile +====================== This is a shared work between Akretion and Camptocamp in order to provide: diff --git a/account_mass_reconcile/__openerp__.py b/account_mass_reconcile/__openerp__.py index 598548bf..e4d6e6fe 100644 --- a/account_mass_reconcile/__openerp__.py +++ b/account_mass_reconcile/__openerp__.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { - "name": "Mass Reconcile", + "name": "Account Mass Reconcile", "version": "9.0.1.0.0", "depends": ["account", "account_full_reconcile"], "author": "Akretion,Camptocamp,Odoo Community Association (OCA)", diff --git a/account_mass_reconcile/models/base_reconciliation.py b/account_mass_reconcile/models/base_reconciliation.py index 66a367b4..7e07e328 100644 --- a/account_mass_reconcile/models/base_reconciliation.py +++ b/account_mass_reconcile/models/base_reconciliation.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # © 2012-2016 Camptocamp SA (Guewen Baconnier, Damien Crier, Matthieu Dietrich) # © 2010 Sébastien Beau +# © 2017 Eficent Business and IT Consulting Services S.L. (www.eficent.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp import models, api, fields @@ -44,6 +45,7 @@ class MassReconcileBase(models.AbstractModel): """ raise NotImplementedError + @api.model def _base_columns(self): """ Mandatory columns for move lines queries An extra column aliased as ``key`` should be defined @@ -63,7 +65,8 @@ class MassReconcileBase(models.AbstractModel): @api.multi def _select(self, *args, **kwargs): - return "SELECT %s" % ', '.join(self._base_columns()) + return "SELECT %s" % ', '.join( + self.env["mass.reconcile.base"]._base_columns()) @api.multi def _from(self, *args, **kwargs): diff --git a/account_mass_reconcile/static/description/icon.png b/account_mass_reconcile/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/account_mass_reconcile/static/description/icon.png differ