Browse Source

[FIX]ir_model does not have field tree visibility

pull/148/head
aheficent 7 years ago
committed by Nicolas Mac Rouillon
parent
commit
03171633ba
  1. 2
      bi_sql_editor/models/bi_sql_view_field.py

2
bi_sql_editor/models/bi_sql_view_field.py

@ -174,8 +174,6 @@ class BiSQLViewField(models.Model):
'selection': self.ttype == 'selection' and self.selection or False,
'relation': self.ttype == 'many2one' and
self.many2one_model_id.model or False,
'tree_visibility': self.field_description and
'available' or 'unavailable',
}
@api.multi

Loading…
Cancel
Save