Browse Source

Added handling of monetary fields

pull/59/head
Antonio Esposito 9 years ago
committed by Andrea
parent
commit
572f43ad32
  1. 2
      bi_view_editor/models/bve_view.py

2
bi_view_editor/models/bve_view.py

@ -187,6 +187,8 @@ class BveView(models.Model):
"size": field.size,
'state': "manual"
}
if vals['ttype'] == 'monetary':
vals.update({'ttype': 'float'})
if field.ttype == 'selection' and not field.selection:
model_obj = self.env[field.model_id.model]
selection = model_obj._columns[field.name].selection

Loading…
Cancel
Save