Added html field type
bzr revid: nicolas.vanhoren@openerp.com-20120813114619-lqr9zu0rkz6737rp
This commit is contained in:
parent
2d2cb0b80b
commit
7341bd30cc
|
@ -227,6 +227,9 @@ class char(_column):
|
|||
class text(_column):
|
||||
_type = 'text'
|
||||
|
||||
class html(text):
|
||||
_type = 'html'
|
||||
|
||||
import __builtin__
|
||||
|
||||
class float(_column):
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue