trytonpsk-hotel/ir.py
oscar alvarez ed83293949 Fix
2022-08-14 12:29:49 -05:00

18 lines
543 B
Python

# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.config import config
from trytond.model import fields
from trytond.pool import PoolMeta
rate_decimal = config.getint('currency', 'rate_decimal', default=6)
class Cron(metaclass=PoolMeta):
__name__ = 'ir.cron'
@classmethod
def __setup__(cls):
super().__setup__()
cls.method.selection.append(
('hotel.room|set_dirty_rooms', "Set Dirty Rooms"))