14 lines
398 B
Python
14 lines
398 B
Python
# -*- coding: utf-8 -*-
|
|
"""Post-install hook: give existing accounting administrators the full
|
|
accounting feature set (see models/account_groups.py for why Community needs
|
|
this)."""
|
|
|
|
import logging
|
|
|
|
_logger = logging.getLogger(__name__)
|
|
|
|
|
|
def post_init_hook(env):
|
|
env["res.groups"]._dn_ensure_accounting_feature_groups()
|
|
_logger.info("DN Accounting Menu: accounting group chain repaired.")
|