mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Added handling of monetary fields
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user