Debian Codegraph @

addons/website_sale_autocomplete/views/res_config_settings_views.xml

raw
1 <?xml version="1.0" encoding="utf-8" ?>
2 <odoo>
3
4 <record id="res_config_settings_view_form_inherit_autocomplete_googleplaces" model="ir.ui.view">
5 <field name="name">res.config.settings.view.form.inherit.autocomplete.googleplaces</field>
6 <field name="model">res.config.settings</field>
7 <field name="inherit_id" ref="website_sale.res_config_settings_view_form"/>
8 <field name="arch" type="xml">
9 <xpath expr="//setting[@id='autocomplete_googleplaces_setting']" position="inside">
10 <div>
11 <div class="content-group row mt16">
12 <label class="col-4" for="website_google_places_api_key" string="API Key"/>
13 <field class="col-6" name="website_google_places_api_key"/>
14 </div>
15 <div class="mt8">
16 <a target="_blank" href="https://console.cloud.google.com/getting-started">
17 <i class="oi oi-arrow-right"/>
18 Create a Google Project and get a key
19 </a>
20 <br/>
21 <a target="_blank" href="https://console.cloud.google.com/billing">
22 <i class="oi oi-arrow-right"/>
23 Enable billing on your Google Project
24 </a>
25 </div>
26 </div>
27 </xpath>
28 </field>
29 </record>
30
31 </odoo>