Skip to content

Commit f42308b

Browse files
committed
Merge PR #363 into 16.0
Signed-off-by pedrobaeza
2 parents 554890a + 678a317 commit f42308b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: dms_auto_classification/wizards/wizard_dms_classification.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class WizardDmsClassificationDetail(models.TransientModel):
137137
string="File name",
138138
)
139139
data_file = fields.Binary(
140-
string="File",
140+
string="File content",
141141
required=True,
142142
)
143143
directory_id = fields.Many2one(

Diff for: dms_field_auto_classification/models/dms_classification_template.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ class DmsClassificationTemplate(models.Model):
1010
model_id = fields.Many2one(
1111
comodel_name="ir.model", string="Model", domain=[("transient", "=", False)]
1212
)
13-
model = fields.Char(compute="_compute_model", compute_sudo=True)
13+
model = fields.Char(
14+
compute="_compute_model", string="Model name", compute_sudo=True
15+
)
1416
detail_ids = fields.One2many(
1517
string="Details",
1618
comodel_name="dms.classification.template.detail",

0 commit comments

Comments
 (0)