How to Create Map Views in the Odoo 17 ERP

CelineGeorge1 554 views 8 slides May 27, 2024
Slide 1
Slide 1 of 8
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8

About This Presentation

The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.


Slide Content

How to Create Map Views in Odoo 17 Enterprise

Introduction Enterpr ise The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.

Enterprise Step 1: Custom Module Development: We have developed a custom module called 'company_management' with fundamental fields, actions, menus, as well as form and tree views.

Enterprise Step 2: Map View Configuration After defining the model, we can create the action and map view for the model.

Enterprise Attributes within map tag (<map>): r es_partner : Here, the 'name' field, which is a Many2one field of the res.partner model, is added to the res_partner attribute of the Map View. default_order : The default_order attribute in a map view determines the default sorting of displayed records, based on specified fields and order (ascending or descending). routing : The routing=True attribute in Odoo's Map View activates routing functionality, displaying the shortest route between specified points. Once routing=True is set, Odoo automatically generates the route using your configured mapping service.

Enterprise hide_name : The hide_name attribute, when set to True, conceals the record's name displayed on the map, useful for showing location without revealing identity. hide_address : This attribute in the map view hides the displayed record's address on the map. h ide_title : This attribute in the map view hides the map's title. panel_title : This attribute customizes the title of the record's panel on the left-hand side of the map view, offering more meaningful information to the user.

Enterprise Map view that created shows as follows :

For More Info. Check our company website for related blogs and Odoo book. Check our YouTube channel for functional and technical videos in Odoo. Enterprise www.cybrosys.com