Public release from ruodoo-project: 19.0 - 2026-07-26 21:17:35 UTC

This commit is contained in:
CI Publish Bot
2026-07-26 21:17:45 +00:00
commit 4f7b594ec8
1335 changed files with 191620 additions and 0 deletions

View File

@ -0,0 +1,33 @@
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
translation_weblate_server_address = fields.Char(
string="Адрес",
help="Запишите адрес вашего Weblate сервера",
config_parameter="translation_helper.translation_weblate_server_address",
)
translation_weblate_server_protocol = fields.Selection(
string="Протокол",
help="Выберите протокол вашего Weblate сервера",
selection=[
("http", "HTTP"),
("https", "HTTPS"),
],
config_parameter="translation_helper.translation_weblate_server_protocol",
)
translation_weblate_project_alias = fields.Char(
string="Алиас проекта",
help="Запишите алиас вашего Weblate проекта",
config_parameter="translation_helper.translation_weblate_project_alias",
)
translation_weblate_project_language = fields.Many2one(
string="Язык проекта",
help="Выберите язык вашего алиаса проекта",
comodel_name="res.lang",
config_parameter="translation_helper.translation_weblate_project_language",
)