Error while validating view near: Unsearchable field 'expected_date' in path 'expected_date' in domain of ([('expected_date', '>=', context_today().strftime('%Y-%m-%d 00:00:00')), ('expected_date', '<=',context_today().strftime('%Y-%m-%d 23:23:59'))])) View error context: {'file': '/home/aneesh/odoo15/custom/hotel_room_management/views/hotel_accomodation_views.xml', 'line': 9, 'name': 'accomodation search', 'view': ir.ui.view(881,), 'view.model': 'hotel_room.accomodation', 'view.parent': ir.ui.view(), 'xmlid': 'accomodation_search'}
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
1513
Views
Make sure field 'expected_date' is stored field. It is likely computed field.
Plz share the code developed for adding this filter