mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Robustness
This commit is contained in:
@@ -281,7 +281,7 @@ class BveView(models.Model):
|
||||
return fields
|
||||
|
||||
def check_empty_data(data):
|
||||
if not data:
|
||||
if not data or data == '[]':
|
||||
raise UserError(_('No data to process.'))
|
||||
|
||||
check_empty_data(self.data)
|
||||
|
||||
Reference in New Issue
Block a user