|
|
@ -125,7 +125,7 @@ class super_calendar_configurator(orm.Model): |
|
|
|
False |
|
|
|
), |
|
|
|
'configurator_id': configurator.id, |
|
|
|
'res_id': line.name.model+','+str(record['id']), |
|
|
|
'res_id': line.name.model + ',' + str(record['id']), |
|
|
|
'model_id': line.name.id, |
|
|
|
} |
|
|
|
return super_calendar_values |
|
|
@ -149,8 +149,7 @@ class super_calendar_configurator_line(orm.Model): |
|
|
|
'description_code': fields.text( |
|
|
|
'Description field', |
|
|
|
help="Use '${o}' to refer to the involved object. " |
|
|
|
"E.g.: '${o.project_id.name}'" |
|
|
|
), |
|
|
|
"E.g.: '${o.project_id.name}'"), |
|
|
|
'date_start_field_id': fields.many2one( |
|
|
|
'ir.model.fields', 'Start date field', |
|
|
|
domain="['&','|',('ttype', '=', 'datetime')," |
|
|
|