Skip to content
Snippets Groups Projects
Commit aa11b3fd authored by Daniil Digtyar Vasilieva's avatar Daniil Digtyar Vasilieva :call_me:
Browse files

Remove common chart template map option

parent bafb9356
No related branches found
No related tags found
2 merge requests!86Fix partners company,!6614.0 fix migration error and nice to have
......@@ -35,10 +35,6 @@ class AccountMulticompanyEasyCreationWiz(models.TransientModel):
product_category_company_share = self_new_company.env.ref('cooperator.product_category_company_share')
account_chart_external_id = list(self.chart_template_id.get_external_id().values())[0]
values = {
'l10n_es.account_chart_template_common': {
'property_account_income_categ_id': 'l10n_es.{}_account_common_101'.format(new_company_id),
'property_account_expense_categ_id': 'l10n_es.{}_account_common_101'.format(new_company_id)
},
'l10n_es.account_chart_template_pymes': {
'property_account_income_categ_id': 'l10n_es.{}_account_pymes_100'.format(new_company_id),
'property_account_expense_categ_id': 'l10n_es.{}_account_pymes_100'.format(new_company_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment