Added html field type

bzr revid: nicolas.vanhoren@openerp.com-20120813114619-lqr9zu0rkz6737rp
This commit is contained in:
niv-openerp 2012-08-13 13:46:19 +02:00
parent 2d2cb0b80b
commit 7341bd30cc
2 changed files with 4 additions and 0 deletions

View File

@ -227,6 +227,9 @@ class char(_column):
class text(_column):
_type = 'text'
class html(text):
_type = 'html'
import __builtin__
class float(_column):

View File

@ -545,6 +545,7 @@ FIELDS_TO_PGTYPES = {
fields.boolean: 'bool',
fields.integer: 'int4',
fields.text: 'text',
fields.html: 'text',
fields.date: 'date',
fields.datetime: 'timestamp',
fields.binary: 'bytea',