'This method generates a dictionnary of all the values for the account.reconcile.model that will be created.'

def _prepare_reconcile_model_vals(self, company, account_reconcile_model, acc_template_ref, tax_template_ref):

    self.ensure_one()
    return {'name': account_reconcile_model.name, 'sequence': account_reconcile_model.sequence, 'has_second_line': account_reconcile_model.has_second_line, 'company_id': company.id, 'account_id': acc_template_ref[account_reconcile_model.account_id.id], 'label': account_reconcile_model.label, 'amount_type': account_reconcile_model.amount_type, 'amount': account_reconcile_model.amount, 'tax_id': ((account_reconcile_model.tax_id and tax_template_ref[account_reconcile_model.tax_id.id]) or False), 'second_account_id': ((account_reconcile_model.second_account_id and acc_template_ref[account_reconcile_model.second_account_id.id]) or False), 'second_label': account_reconcile_model.second_label, 'second_amount_type': account_reconcile_model.second_amount_type, 'second_amount': account_reconcile_model.second_amount, 'second_tax_id': ((account_reconcile_model.second_tax_id and tax_template_ref[account_reconcile_model.second_tax_id.id]) or False)}
