OCA / cooperative

GNU Affero General Public License v3.0
11 stars 22 forks source link

Add subscription journal to chart template #49

Closed DaniilDigtyar closed 1 year ago

DaniilDigtyar commented 1 year ago

Issue

When using cooperator for multicompany you have to create manually the subscription journal for all new companies.

Expected

When selecting and loading a chart template for a new company, it should also create the subscription journal for that company.

Implementation

Add the subscription journal to the account.chart.template method _prepare_all_journals(self, acc_template_ref, company, journals_dict=None):