mirror of
https://github.com/odoo/runbot.git
synced 2025-03-16 16:05:42 +07:00
11 lines
189 B
Python
11 lines
189 B
Python
![]() |
from odoo import models
|
||
|
|
||
|
|
||
|
class IrCron(models.Model):
|
||
|
_inherit = 'ir.cron'
|
||
|
|
||
|
def trigger(self):
|
||
|
self.check_access_rights('write')
|
||
|
self._trigger()
|
||
|
return True
|