2012-08-26 22:12:37 |
Sergio Corato |
description |
Changing the field type from datetime to date, the super_calendar can be used with both date and datetime fields.
Rows modified in super_calendar.py:
'date_start_field_id': fields.many2one('ir.model.fields', 'Start date field',
domain="['&',('ttype', '=', 'date'),('model_id', '=', name)]",
required=True),
'date_start':fields.date('Start date', required=True), |
Changing the field type from datetime to date in v. 6.0, the super_calendar can be used with both date and datetime fields.
Rows modified in super_calendar.py:
'date_start_field_id': fields.many2one('ir.model.fields', 'Start date field',
domain="['&',('ttype', '=', 'date'),('model_id', '=', name)]",
required=True),
'date_start':fields.date('Start date', required=True), |
|