'Create the tax_cash_basis_journal_id'

@api.multi
def _prepare_all_journals(self, acc_template_ref, company, journals_dict=None):

    res = super(AccountChartTemplate, self)._prepare_all_journals(acc_template_ref, company, journals_dict=journals_dict)
    if (not (self == self.env.ref('l10n_mx.mx_coa'))):
        return res
    account = self.env.ref('l10n_mx.1_cuenta118_01')
    res.append({'type': 'general', 'name': _('Effectively    Paid'), 'code': 'CBMX', 'company_id': company.id, 'default_credit_account_id': account.id, 'default_debit_account_id': account.id, 'show_on_dashboard': True})
    return res
