Files
tryton/modules/account/ir.py
T

18 lines
532 B
Python

# 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().__setup__()
cls.method.selection.extend([
('account.move.line|reconcile_automatic',
"Reconcile Move Lines Automatically"),
])
cls.methods_company_needed.add('account.move.line|reconcile_automatic')