~camptocamp/banking-addons/vre-preserve-manual-partial-reconcile

« back to all changes in this revision

Viewing changes to account_easy_reconcile/base_reconciliation.py

  • Committer: Vincent Renaville
  • Date: 2014-06-20 15:01:43 UTC
  • Revision ID: vincent.renaville@camptocamp.com-20140620150143-qvelx02lu7f1ik8e
[FIX] remove unuseful brackets

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
 
84
84
    def _where(self, rec, *args, **kwargs):
85
85
        where = ("WHERE account_move_line.account_id = %s "
86
 
                 "AND COALESCE(account_move_reconcile.type,'') <> ('manual')"
 
86
                 "AND COALESCE(account_move_reconcile.type,'') <> 'manual' "
87
87
                 "AND account_move_line.reconcile_id IS NULL ")
88
88
        # it would be great to use dict for params
89
89
        # but as we use _where_calc in _get_filter