b6002975f2fc98661ff780c353cd536ace61186f
Currently, website users/visitors are not able to search the events based on where they happen. This PR improves the behavior by allowing the users/visitors to type the city/country name in the search box and returns the events that are happening in the country or city that matches the search term. To allow this, we have utilized the `search_extra` search option and searching the matching events with `sudo` because public users can not access the `address_search` m2o of the event. This PR also shows the event location name when users search for the event. Also add the "_getFieldsNames" method to easily override this method to add a field name from another model. Note that searching with sudo is just to add event ids in the domain. The final result will be returned with not sudoed environment and so the record rules are always respected. TaskId-2791031 closes odoo/odoo#89796 Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%