Public release from ruodoo-project: 19.0 - 2026-05-10 21:19:01 UTC

This commit is contained in:
CI Publish Bot
2026-05-10 21:19:11 +00:00
commit cbf9e6e6d6
1213 changed files with 183945 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",
)