Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC
This commit is contained in:
10
ruodoo_setup_all/__init__.py
Normal file
10
ruodoo_setup_all/__init__.py
Normal file
@@ -0,0 +1,10 @@
|
||||
def post_init_hook(env):
|
||||
admin_user = env.ref('base.user_admin')
|
||||
lang = 'ru_RU'
|
||||
|
||||
# Убедись, что язык ru_RU загружен
|
||||
lang_obj = env['res.lang'].search([('code', '=', lang)], limit=1)
|
||||
if not lang_obj:
|
||||
lang_obj = env['res.lang'].load_lang(lang)
|
||||
|
||||
admin_user.write({'lang': lang})
|
||||
32
ruodoo_setup_all/__manifest__.py
Normal file
32
ruodoo_setup_all/__manifest__.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
||||
|
||||
{
|
||||
"name": "Базовый модуль для автоматическое установки необходимых модулей",
|
||||
"author": "MK.Lab, RuOdoo",
|
||||
"website": "https://ruodoo.ru",
|
||||
"version": "19.0.2026.09.17",
|
||||
"depends": [
|
||||
"account_bank_statement_1c_import",
|
||||
"base_tier_validation",
|
||||
"base_user_role",
|
||||
"l10n_ru_advance_payments",
|
||||
"l10n_ru_attorney",
|
||||
"l10n_ru_contract_sale",
|
||||
"l10n_ru_contract_purchase",
|
||||
"l10n_ru_contract_templates",
|
||||
"translation_helper",
|
||||
"crm",
|
||||
"project",
|
||||
"point_of_sale",
|
||||
"rsbu_fns_reporting",
|
||||
"rsbu_vat_templates",
|
||||
"rsbu_demo_templates",
|
||||
"ruodoo_rsbu_act",
|
||||
"ruodoo_rsbu_mil",
|
||||
"ruodoo_commission",
|
||||
"ruodoo_commservice",
|
||||
"ruodoo_sale_control"
|
||||
],
|
||||
'post_init_hook': 'post_init_hook',
|
||||
"license": "LGPL-3",
|
||||
}
|
||||
BIN
ruodoo_setup_all/static/description/icon.png
Normal file
BIN
ruodoo_setup_all/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
Reference in New Issue
Block a user