oca-ocb-l10n_asia-pacific/odoo-bringout-oca-ocb-l10n_in/l10n_in/__init__.py
Ernad Husremovic 7f43bbbfcc 19.0 vanilla
2026-03-09 09:31:21 +01:00

14 lines
443 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from . import demo
from . import wizard
def init_settings(env):
# Activate cash rounding by default for all companies as soon as the module is installed.
group_user = env.ref('base.group_user').sudo()
group_user._apply_group(env.ref('account.group_cash_rounding'))
def post_init(env):
init_settings(env)