[IMP] Description field can be in text type too
parent
cc279c007a
commit
4b6dd9991a
|
@ -177,7 +177,8 @@ class SuperCalendarConfiguratorLine(models.Model):
|
||||||
description_field_id = fields.Many2one(
|
description_field_id = fields.Many2one(
|
||||||
comodel_name='ir.model.fields',
|
comodel_name='ir.model.fields',
|
||||||
string='Description field',
|
string='Description field',
|
||||||
domain="[('model_id', '=', name), ('ttype', '=', 'char')]",
|
domain=("['&','|',('ttype', '=', 'char'),('ttype', '=', 'text'),"
|
||||||
|
"('model_id', '=', name)]"),
|
||||||
)
|
)
|
||||||
description_code = fields.Text(
|
description_code = fields.Text(
|
||||||
string='Description field',
|
string='Description field',
|
||||||
|
|
Loading…
Reference in New Issue