changes
This commit is contained in:
@@ -7,7 +7,12 @@
|
||||
<field name="model">fusion.clock.location</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Clock Location">
|
||||
<header/>
|
||||
<header>
|
||||
<button name="action_geocode_address" type="object"
|
||||
string="Geocode Address" class="btn-primary"
|
||||
icon="fa-map-marker"
|
||||
confirm="This will update latitude/longitude from the address using Google Maps API."/>
|
||||
</header>
|
||||
<sheet>
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button name="action_view_attendances" type="object"
|
||||
@@ -24,8 +29,7 @@
|
||||
</div>
|
||||
<group>
|
||||
<group string="Address">
|
||||
<field name="address" widget="fclk_places_address"
|
||||
placeholder="Start typing an address or place name..."/>
|
||||
<field name="address" placeholder="123 Business Ave, San Francisco, CA"/>
|
||||
<field name="timezone"/>
|
||||
</group>
|
||||
<group string="Geofence">
|
||||
@@ -48,9 +52,9 @@
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<!-- Interactive Map (drag pin to adjust, search places) -->
|
||||
<group string="Map">
|
||||
<widget name="fclk_map" colspan="2"/>
|
||||
<!-- Google Maps Static Preview -->
|
||||
<group string="Map Preview" invisible="not latitude or not longitude">
|
||||
<field name="map_url" widget="image_url" string="Map" invisible="not map_url"/>
|
||||
</group>
|
||||
|
||||
<group string="Notes">
|
||||
|
||||
Reference in New Issue
Block a user