Debian Codegraph @

addons/google_gmail/views/ir_mail_server_views.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3 <record id="ir_mail_server_view_form" model="ir.ui.view">
4 <field name="name">ir.mail_server.view.form.inherit.gmail</field>
5 <field name="model">ir.mail_server</field>
6 <field name="inherit_id" ref="base.ir_mail_server_form"/>
7 <field name="arch" type="xml">
8 <field name="smtp_ssl_private_key" position="after">
9 <div invisible="smtp_authentication != 'gmail'"
10 class="d-flex flex-row align-items-center"
11 colspan="2"
12 groups="base.group_system">
13 <span invisible="smtp_authentication != 'gmail' or not google_gmail_refresh_token"
14 class="badge text-bg-success">
15 Gmail Token Valid
16 </span>
17 <button type="object"
18 name="open_google_gmail_uri" class="btn-link px-0"
19 invisible="smtp_authentication != 'gmail' or google_gmail_refresh_token">
20 <i class="oi oi-arrow-right"/>
21 Connect your Gmail account
22 </button>
23 <button type="object"
24 name="open_google_gmail_uri" class="btn-link px-0 ms-2"
25 invisible="smtp_authentication != 'gmail' or not google_gmail_refresh_token">
26 <i class="fa fa-cog" title="Edit Settings"/>
27 </button>
28 </div>
29 </field>
30 <field name="smtp_authentication_info" position="after">
31 <widget name="documentation_link" path="/applications/general/email_communication/email_servers.html?highlight=outgoing email server#use-a-default-from-email-address"
32 invisible="smtp_authentication != 'gmail'" label="Read More"/>
33 </field>
34 </field>
35 </record>
36 </odoo>