Files
tradon/modules/sale_rental/__init__.py
2026-03-14 09:42:12 +00: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}")