'This method for generating accounts from templates.
:param tax_template_ref: Taxes templates reference for write taxes_id in account_account.
:param acc_template_ref: dictionary with the mappping between the account templates and the real accounts.
:param company_id: company_id selected from wizard.multi.charts.accounts.
:returns: return new_account_reconcile_model for reference purpose.
:rtype: dict'

@api.multi
def generate_account_reconcile_model(self, tax_template_ref, acc_template_ref, company):

    self.ensure_one()
    account_reconcile_models = self.env['account.reconcile.model.template'].search([('account_id.chart_template_id', '=', self.id)])
    for account_reconcile_model in account_reconcile_models:
        vals = self._prepare_reconcile_model_vals(company, account_reconcile_model, acc_template_ref, tax_template_ref)
        self.create_record_with_xmlid(company, account_reconcile_model, 'account.reconcile.model', vals)
    return True
