summaryrefslogtreecommitdiff
path: root/addons/payment/models/chart_template.py
AgeCommit message (Collapse)Author
2018-08-07[REF] account, account_check_printing, payment, l10n_do, l10n_de, l10n_fr, ↵Olivier Colson
l10n_nl, l10n_mx: chart templates installation: remove old useless wizards and move everything to account.chart.template Was task 1858974 Was PR https://github.com/odoo/odoo/pull/25243
2018-04-26[IMP] payment*: auto-create journal for payment.acquirerLaurent Smet
This commit adds the auto-creation journal for installed acquirers. This is not easy because: - The acquirers are created on the 'payment' module but are enabled only when the specific module is installed. E.g. Paypal is enabled with 'payment_paypal'. - To create a journal, a chart of accounts is required. However, the post_init_hook on the 'account' module makes the installation order harder. E.g install payment_paypal directly: The module are installed in the order: account -> payment -> payment_paypal -> l10n_generic_coa. To fix the problem, the journals are created at two moments: - During the installation of the chart of accounts. - At the installation of an acquirer module. E.g. payment_paypal. Was PR #23904 Was task: 1831620