From 4331911b9a1b6bb755f802897a065968c9bfa184 Mon Sep 17 00:00:00 2001 From: Alicia FLOREZ Date: Tue, 26 Mar 2013 11:34:39 +0100 Subject: [PATCH] Sur task, ajout du chatter --- __openerp__.py | 2 +- todolist.py | 2 ++ views/todolist.xml | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/__openerp__.py b/__openerp__.py index 5a575c1..43b9fab 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -1,7 +1,7 @@ { "name": "TodoList", "version": "1.0", - "depends": ["base"], + "depends": ["base", 'mail'], "author": "Alicia FLOREZ & Sébastien CHAZALLET", "category": "Tools", "description": """Permet de gérer une 'todo list' personnelle.""", diff --git a/todolist.py b/todolist.py index e1be67c..1a50abe 100644 --- a/todolist.py +++ b/todolist.py @@ -120,6 +120,8 @@ class Task(osv.Model): _name = "todolist.task" + _inherit = "mail.thread" + _priorities = [("Useful", "Useful"), ("Necessary", "Necessary"), ("Essential", "Essential")] _states = [("draft", "Draft"), ("proposal", "Proposal"), ("approved", "Approved"), ("started", "Started"), ("done", "Done")] diff --git a/views/todolist.xml b/views/todolist.xml index 6c8389a..c3cc430 100644 --- a/views/todolist.xml +++ b/views/todolist.xml @@ -176,6 +176,10 @@ +
+ + +
-- 1.7.10.4