Added module renderers json tsv csv xml
This commit is contained in:
parent
67a3ad5578
commit
65dfebf43c
|
@ -47,12 +47,6 @@ eprint( MODEL_IGNORE )
|
|||
|
||||
|
||||
|
||||
# TABLE VIEW COLUMNS
|
||||
cols = {
|
||||
'': [ 'id', 'name' ], # default
|
||||
'ir.model': [ 'id', 'model' ],
|
||||
'ir.model.fields': [ 'id', 'name', 'ttype', 'create_uid', 'relation', 'display_name', 'complete_name' ],
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
from __future__ import print_function
|
||||
|
||||
|
||||
# TABLE VIEW COLUMNS
|
||||
cols = {
|
||||
'': [ 'id', 'name' ], # default
|
||||
'ir.model': [ 'id', 'model' ],
|
||||
'ir.model.fields': [ 'id', 'name', 'ttype', 'create_uid', 'relation', 'display_name', 'complete_name' ],
|
||||
}
|
||||
|
||||
|
||||
def tsv( *fields ):
|
||||
print( *fields, sep='\t' )
|
||||
|
||||
|
|
Loading…
Reference in New Issue