Impacted versions:
10.0
Steps to reproduce:
1. Create Customer Invoice and Validate
2. Make Payments on Payments screen and confirm
3. Open Manual Payments and Invocies and try to reconcile hitting CTRL-Enter for mass reconciliation

Current behavior:
Odoo server error raised with traceback
File "/home/odoo/runbot/extra/runbot/static/build/188623-10-0-347494/odoo/addons/account/models/account_move.py", line 729, in process_reconciliations
    self.process_reconciliation(datum['mv_line_ids'], datum['new_mv_line_dicts'])
TypeError: process_reconciliation() takes exactly 2 arguments (3 given)

Expected behavior:

Video/Screenshot link (optional):
![image](https://cloud.githubusercontent.com/assets/17149532/21532189/3596954a-cd4e-11e6-94fa-be2195bd9f7b.png)


""" Returns two lines whose amount are opposite """
        
        partner_id_condition = partner_id and 'AND a.partner_id = %(partner_id)s AND b.partner_id = %(partner_id)s' or ''
        query = """
                SELECT a.id, b.id
                FROM account_move_line a, account_move_line b
                WHERE a.amount_residual = -b.amount_residual
                AND NOT a.reconciled AND NOT b.reconciled
                AND a.account_id = %(account_id)s AND b.account_id = %(account_id)s
                {partner_id_condition}
                ORDER BY a.date asc
                LIMIT 10
            """.format(**locals())
        self.env.cr.execute(query, locals())
        pairs = self.env.cr.fetchall()
        
        all_pair_ids = [element for tupl in pairs for element in tupl]
        allowed_ids = set(self.env['account.move.line'].browse(all_pair_ids).ids)
        pairs = [pair for pair in pairs if pair[0] in allowed_ids and pair[1] in allowed_ids]
        
        if len(pairs) > 0:
            target_currency = (self.currency_id and self.amount_currency) and self.currency_id or self.company_id.currency_id
            lines = self.browse(list(pairs[0]))
            return lines.prepare_move_lines_for_reconciliation_widget(target_currency=target_currency)
        return []
    @api.model
    def domain_move_lines_for_reconciliation(self, excluded_ids=None, str=False):