I have created a new map view for sale.order object.
Map view is loading and the marker is also loading in view for customer address.
But when we click on the EDIT button it does not do anything and not any information is showing.
Can anyone help me?
Thanks in advance.
Bellow is my code:
<record id="sale_order_map_view" model="ir.ui.view">
<field name="name">sale.order.view.map</field>
<field name="model">sale.order</field>
<field name="priority">10</field>
<field name="arch" type="xml">
<map res_partner="partner_id" default_order="date_order" routing="true" hide_address="true">
<field name="partner_id" string="Customer" />
<field name="date_order" string="Date" />
<field name="partner_street" string="Address" />
<field name="partner_zip" string="" />
<field name="partner_city" string="" />
<field name="partner_phone" string="Phone" />
</map>
</field>
</record>
This all partner address fields I have added into sale.order object.
I have also added <marker-popup> tag inside map tag in XML code but it gives me invalid XML architecture error.
View bellow image
https://drive.google.com/file/d/1D11wbn35E9Q7tKqEys6Wd3S2lVDIsMIc/view?usp=sharing