server-ux/date_range/tests/models.py

11 lines
268 B
Python
Raw Normal View History

2021-12-05 03:14:22 +00:00
from flectra import fields, models
class TestDateRangeSearchMixin(models.Model):
_name = "test.date.range.search.mixin"
_inherit = ["date.range.search.mixin"]
_date_range_search_field = "test_date"
name = fields.Char()
test_date = fields.Date()