[IMP] report_carbone : bump to version 18.0.1.1.4

This commit is contained in:
2026-09-25 17:11:23 +02:00
parent 8a4d393dc0
commit 40a08e2ef8
18 changed files with 932 additions and 433 deletions

View File

@@ -1,4 +1,4 @@
import xml.etree.ElementTree as ET # type: ignore # noqa: F401
import xml.etree.ElementTree as ET # type: ignore
from odoo import api, models

View File

@@ -17,7 +17,7 @@ class CarboneTranslate(models.Model):
carbone_translate_line_ids = fields.One2many(
"carbone.translate.line", "carbone_translate_id", string="Translation lines"
)
_sql_constraints = [
_sql_constraints = [ # noqa: RUF012
(
"lang_report_uniq",
"UNIQUE(ir_actions_report_id, lang_id)",

View File

@@ -11,7 +11,7 @@ class CarboneTranslateLine(models.Model):
)
source = fields.Text(string="Source term")
value = fields.Text(string="Translation Value", default="")
_sql_constraints = [
_sql_constraints = [ # noqa: RUF012
(
"source_value_uniq",
"UNIQUE(source, value, carbone_translate_id)",