add worker-based precalculation of cashbook-values
This commit is contained in:
parent
345cef4c8b
commit
65a0e0ce58
17 changed files with 1060 additions and 98 deletions
18
cron.py
Normal file
18
cron.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# This file is part of the cashbook-module from m-ds.de for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the
|
||||
# full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import PoolMeta
|
||||
|
||||
|
||||
class Cron(metaclass=PoolMeta):
|
||||
__name__ = 'ir.cron'
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(Cron, cls).__setup__()
|
||||
cls.method.selection.append(
|
||||
('cashbook.values|maintenance_values', "Update Cashbooks"))
|
||||
|
||||
# end Cron
|
Loading…
Add table
Add a link
Reference in a new issue