From: Alicia FLOREZ Date: Tue, 28 May 2013 13:33:58 +0000 (+0200) Subject: Ajout des topics X-Git-Url: http://git.inspyration.org/?p=OpenERP%2Fsemantics.git;a=commitdiff_plain;h=f9a1f5ae89a5b682ff81461dba6b5333e4d54f6a Ajout des topics --- 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