From f9a1f5ae89a5b682ff81461dba6b5333e4d54f6a Mon Sep 17 00:00:00 2001 From: Alicia FLOREZ Date: Tue, 28 May 2013 15:33:58 +0200 Subject: [PATCH] Ajout des topics --- __init__.py | 1 + topic.py | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 topic.py diff --git a/__init__.py b/__init__.py index e69de29..41cdd3f 100644 --- a/__init__.py +++ b/__init__.py @@ -0,0 +1 @@ +import topic \ No newline at end of file diff --git a/topic.py b/topic.py new file mode 100644 index 0000000..a163f3f --- /dev/null +++ b/topic.py @@ -0,0 +1,11 @@ +#-*- coding: utf8 -*- +from openerp.osv import osv, fields + + +class Topic(osv.Model): + + _name = "semantics.topic" + + columns = { + "name": fields.char(size="64", "Title", required=True), + } \ No newline at end of file -- 1.7.10.4