dépôts
/
burette
/
eturecup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[MODULE] +type field in bikecoop themes
[burette/eturecup.git]
/
eturecup.py
diff --git
a/eturecup.py
b/eturecup.py
index
3648b47
..
b0cc60f
100644
(file)
--- a/
eturecup.py
+++ b/
eturecup.py
@@
-37,4
+37,12
@@
class Partner(orm.Model):
}
}
+class Theme(orm.Model):
+ _inherit = 'bikecoop.partner.theme'
+
+ _columns = {
+ 'type': fields.selection([('studies','Studies')], 'Type', help='An extra field to categorize themes.'),
+ }
+
+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: