From bcc698d158acc5cafc542f4097bdb5f667b89e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agathe=20Moll=C3=A9?= Date: Mon, 22 Jun 2015 16:17:12 -0400 Subject: [PATCH] [FIX] Remove model_description field since it's not useful in v8 --- super_calendar/models/super_calendar.py | 11 ----------- super_calendar/views/super_calendar_view.xml | 6 ------ 2 files changed, 17 deletions(-) diff --git a/super_calendar/models/super_calendar.py b/super_calendar/models/super_calendar.py index da04ac608..c57516617 100644 --- a/super_calendar/models/super_calendar.py +++ b/super_calendar/models/super_calendar.py @@ -131,7 +131,6 @@ class SuperCalendarConfigurator(models.Model): super_calendar_values = { 'name': name, - 'model_description': line.description, 'date_start': cur_rec[f_date_start], 'duration': duration, 'user_id': ( @@ -156,11 +155,6 @@ class SuperCalendarConfiguratorLine(models.Model): string='Model', required=True, ) - description = fields.Char( - string='Description', - size=128, - required=True, - ) domain = fields.Char( string='Domain', size=512, @@ -217,11 +211,6 @@ class SuperCalendar(models.Model): size=512, required=True, ) - model_description = fields.Char( - string='Model Description', - size=128, - required=True, - ) date_start = fields.Datetime( string='Start date', required=True, diff --git a/super_calendar/views/super_calendar_view.xml b/super_calendar/views/super_calendar_view.xml index 5d5c30924..9a9165550 100644 --- a/super_calendar/views/super_calendar_view.xml +++ b/super_calendar/views/super_calendar_view.xml @@ -24,14 +24,12 @@ -
- @@ -80,7 +78,6 @@ - @@ -98,7 +95,6 @@ - @@ -111,7 +107,6 @@ super.calendar - @@ -125,7 +120,6 @@ -