summaryrefslogtreecommitdiff
path: root/addons/note
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2015-09-04 12:10:37 +0200
committerMartin Geubelle <mge@odoo.com>2015-09-07 14:20:36 +0200
commit3acf8879d198c0cbaa73eb8e1982df9170d32f4b (patch)
tree6edae89203aed48fed0a03a83638dd8bb0dc914e /addons/note
parentc5a36b522f6f022e4f224bae252f7a52fdf8c11c (diff)
[ADD] *: add color field on tags
Diffstat (limited to 'addons/note')
-rw-r--r--addons/note/note.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/note/note.py b/addons/note/note.py
index be2a51ceb46..98055143ee3 100644
--- a/addons/note/note.py
+++ b/addons/note/note.py
@@ -26,7 +26,8 @@ class note_tag(osv.osv):
_name = "note.tag"
_description = "Note Tag"
_columns = {
- 'name' : fields.char('Tag Name', required=True),
+ 'name': fields.char('Tag Name', required=True),
+ 'color': fields.integer('Color Index'),
}
_sql_constraints = [
('name_uniq', 'unique (name)', "Tag name already exists !"),