server-ux/date_range/tests/models.py

12 lines
305 B
Python
Raw Permalink Normal View History

2024-05-03 09:21:24 +00:00
from flectra import fields, models
class TestDateRangeSearchMixin(models.Model):
_name = "test.date.range.search.mixin"
_description = "Test date range"
_inherit = ["date.range.search.mixin"]
_date_range_search_field = "test_date"
name = fields.Char()
test_date = fields.Date()