mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
@@ -263,7 +263,8 @@ class BiSQLView(models.Model):
|
||||
"If you want to delete them, first set them to draft."
|
||||
)
|
||||
)
|
||||
self.cron_id.unlink()
|
||||
if self.cron_id:
|
||||
self.cron_id.unlink()
|
||||
return super().unlink()
|
||||
|
||||
def copy(self, default=None):
|
||||
|
||||
Reference in New Issue
Block a user