Files
tryton/modules/sale_rental/__init__.py
T
2025-11-23 19:20:17 +01:00

12 lines
387 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.
__all__ = ['to_date', 'to_datetime']
def __getattr__(name):
if name in {'to_date', 'to_datetime'}:
from . import sale
return getattr(sale, name)
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")