From 4de85b73a64989eddf57e48cdb4fab2372e38d1d Mon Sep 17 00:00:00 2001 From: Richard Mathot Date: Mon, 30 Mar 2015 12:00:48 +0200 Subject: [PATCH] [FIX] project,issue: kanban state should be required --- addons/project/project.py | 2 +- addons/project_issue/project_issue.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/project/project.py b/addons/project/project.py index 63473055d52..40cc93c7c41 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -780,7 +780,7 @@ class task(osv.osv): " * Normal is the default situation\n" " * Blocked indicates something is preventing the progress of this task\n" " * Ready for next stage indicates the task is ready to be pulled to the next stage", - required=False, copy=False), + required=True, copy=False), 'create_date': fields.datetime('Create Date', readonly=True, select=True), 'write_date': fields.datetime('Last Modification Date', readonly=True, select=True), #not displayed in the view but it might be useful with base_action_rule module (and it needs to be defined first for that) 'date_start': fields.datetime('Starting Date', select=True, copy=False), diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index cea055ec30a..caf0d011256 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -230,7 +230,7 @@ class project_issue(osv.Model): " * Normal is the default situation\n" " * Blocked indicates something is preventing the progress of this issue\n" " * Ready for next stage indicates the issue is ready to be pulled to the next stage", - required=False), + required=True), 'email_from': fields.char('Email', size=128, help="These people will receive email.", select=1), 'email_cc': fields.char('Watchers Emails', size=256, help="These email addresses will be added to the CC field of all inbound and outbound emails for this record before being sent. Separate multiple email addresses with a comma"), 'date_open': fields.datetime('Assigned', readonly=True, select=True),