my button doesnt redirect to desired url
this is my pthon code
@api.one
def btn_view_google_map(self):
return {
'type': 'ir.actions.act_url',
'name':'btn_view_google_map',
'url': "https://maps.google.com/?ll=0,0",
'target': 'new'
}
this is my xml view
button name="btn_view_google_map" type="object" string="View On Google Maps" class="btn_primary" icon="fa-map"/