From: Alicia FLOREZ Date: Tue, 26 Mar 2013 10:34:39 +0000 (+0100) Subject: Sur task, ajout du chatter X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=4331911b9a1b6bb755f802897a065968c9bfa184;hp=1fccb8fb0c76123aac93642be40d8f74fd067c4b;p=OpenERP%2Ftodolist.git Sur task, ajout du chatter --- 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 @@ +
+ + +