summaryrefslogtreecommitdiff
path: root/addons/test_timer/models/timer_test.py
diff options
context:
space:
mode:
authorjbm-odoo <jbm@odoo.com>2020-06-05 17:13:53 +0200
committerjbm-odoo <jbm@odoo.com>2020-06-15 15:51:20 +0200
commitd6a23144d5c5b85c2a02097bcbb3e006a9c2c52a (patch)
tree2eb930372884160d675497ce415279374d21b48a /addons/test_timer/models/timer_test.py
parente7dda3fab002f5db930b4af340787177d597d59e (diff)
[MOV] timer: Move to Enterprise
taskId: 2217930
Diffstat (limited to 'addons/test_timer/models/timer_test.py')
-rw-r--r--addons/test_timer/models/timer_test.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/addons/test_timer/models/timer_test.py b/addons/test_timer/models/timer_test.py
deleted file mode 100644
index 5eb26b7618d..00000000000
--- a/addons/test_timer/models/timer_test.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-
-from odoo import fields, models
-
-
-class TimerTest(models.Model):
- """ A very simple model only inheriting from timer.mixin to test
- timer features """
- _description = 'Timer Model'
- _name = 'timer.test'
- _inherit = ['timer.mixin']
-
- name = fields.Char(required=1)
-
-
-class OverrideInterruptionTimerTest(models.Model):
- """ A very simple model inheriting from timer.mixin and
- overriding _action_interrupt_user_timers() """
- _description = 'Interruption Timer Model'
- _name = 'interruption.timer.test'
- _inherit = ['timer.mixin']
-
- def _action_interrupt_user_timers(self):
- self.action_timer_stop()