diff options
| author | Cedric Snauwaert <csn@openerp.com> | 2019-03-12 10:30:33 +0000 |
|---|---|---|
| committer | Cedric Snauwaert <csn@openerp.com> | 2019-03-12 10:30:33 +0000 |
| commit | 4e110972fa6101b26b582e77fe9ab30cb68ccd59 (patch) | |
| tree | 563503a5358baa999fcf4a58cf13ff949b8179c8 | |
| parent | 0d33e7d28c53c56a3c258555beeba243b55cdd1b (diff) | |
[FIX] account: fix error when trying to open manual reconciliation from accounting menu
closes odoo/odoo#31785
Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
| -rw-r--r-- | addons/account/models/reconciliation_widget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/models/reconciliation_widget.py b/addons/account/models/reconciliation_widget.py index 0e9f194b783..8369d69e9b3 100644 --- a/addons/account/models/reconciliation_widget.py +++ b/addons/account/models/reconciliation_widget.py @@ -356,7 +356,7 @@ class AccountReconciliation(models.AbstractModel): res_type == 'partner' and ", to_char(last_time_entries_checked, 'YYYY-MM-DD') AS last_time_entries_checked" or ' ', res_type == 'partner' and 'p.last_time_entries_checked AS last_time_entries_checked,' or ' ', res_type == 'partner' and ', p.last_time_entries_checked' or ' ', - res_type == 'partner' and 'ORDER BY p.last_time_entries_checked' or 'a.code', + res_type == 'partner' and 'ORDER BY p.last_time_entries_checked' or 'ORDER BY a.code', res_type == 'partner' and 'WHERE (last_time_entries_checked IS NULL OR max_date > last_time_entries_checked)' or ' ', )) self.env.cr.execute(query, locals()) |
