You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

48 lines
2.2 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_company_view_form" model="ir.ui.view">
<field name="name">
res.company.view.form.inherit.odoo_google_meet_integration
</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<xpath expr="//notebook/page[1]" position="after">
<page string="Google Meet">
<separator name="configuration"
string="Google Meet Configuration"/>
<notebook>
<page name="credentials" string="Credentials">
<group>
<field name="hangout_client_id"/>
<field name="hangout_client_secret"/>
<field name="hangout_redirect_uri"/>
</group>
<group>
<button string="Authenticate" type="object"
name="google_meet_company_authenticate"
class="oe_highlight"
/>
<button string="Refresh Token" type="object"
name="google_meet_company_refresh_token"
class="oe_highlight"/>
</group>
</page>
<page name="authentication" string="Authentication">
<group>
<field name="hangout_company_access_token"/>
<field name="hangout_company_access_token_expiry"/>
<field name="hangout_company_refresh_token"/>
<field name="hangout_company_authorization_code"/>
</group>
</page>
</notebook>
</page>
</xpath>
</field>
</record>
</odoo>