Browse Source

[IMP] Description field can be in text type too

pull/139/head
Agathe Mollé 10 years ago
committed by Alejandro Santana
parent
commit
4b6dd9991a
  1. 3
      super_calendar/models/super_calendar.py

3
super_calendar/models/super_calendar.py

@ -177,7 +177,8 @@ class SuperCalendarConfiguratorLine(models.Model):
description_field_id = fields.Many2one(
comodel_name='ir.model.fields',
string='Description field',
domain="[('model_id', '=', name), ('ttype', '=', 'char')]",
domain=("['&','|',('ttype', '=', 'char'),('ttype', '=', 'text'),"
"('model_id', '=', name)]"),
)
description_code = fields.Text(
string='Description field',

Loading…
Cancel
Save