diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py index 6bd6f76dab0..c193eb48a03 100644 --- a/addons/account/account_bank_statement.py +++ b/addons/account/account_bank_statement.py @@ -590,9 +590,9 @@ class account_bank_statement_line(osv.osv): else: domain += [('account_id.type', '=', 'payable')] if amount_field == 'amount_currency' and amount < 0: - domain += [(amount_field, '<', 0), (amount_field, '>', (sign * amount))] + domain += [(amount_field, '<', 0), (amount_field, '>=', (sign * amount))] else: - domain += [(amount_field, '>', 0), (amount_field, '<', (sign * amount))] + domain += [(amount_field, '>', 0), (amount_field, '<=', (sign * amount))] mv_lines = self.get_move_lines_for_reconciliation(cr, uid, st_line, excluded_ids=excluded_ids, limit=5, additional_domain=domain, context=context) ret = [] total = 0 diff --git a/doc/cla/corporate/compassionCH.md b/doc/cla/corporate/compassionCH.md new file mode 100644 index 00000000000..4f2ca78203f --- /dev/null +++ b/doc/cla/corporate/compassionCH.md @@ -0,0 +1,16 @@ +Switzerland, 2015-08-18 + +Compassion Switzerland agrees to the terms of the Odoo Corporate Contributor License +Agreement v1.0. + +I declare that I am authorized and able to make this agreement and sign this +declaration. + +Signed, + +Emanuel Cino ecino@compassion.ch https://github.com/CompassionCH + + +List of contributors: + +Emanuel Cino ecino@compassion.ch https://github.com/ecino