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.
 
 
 
 
 

46 lines
2.0 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- This view extends the default calendar event form view and
adds Google Meet integration. -->
<record id="view_calendar_event_form" model="ir.ui.view">
<field name="name">
calendar.event.view.form.inherit.odoo.google.meet.integration
</field>
<field name="model">calendar.event</field>
<field name="inherit_id" ref="calendar.view_calendar_event_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='categ_ids']" position="after">
<field name="is_google_meet" widget="boolean_toggle"/>
</xpath>
<xpath expr="//notebook" position="inside">
<page name="users_google_meet_integration"
string="Google Meet">
<group>
<group>
<field name="google_meet_url"
placeholder="https://meet.google.com....."
widget="CopyClipboardChar" readonly="0"
class="mb-3 pl-3"/>
</group>
<group>
<button name="action_google_meet_url"
string="Join Meeting" type="object"
class="btn-primary"
style="margin-left: 200px;margin-top: -5px;"/>
</group>
</group>
<group>
<group>
<field name="google_meet_code"
widget="CopyClipboardChar" readonly="0"
class="mb-3 pl-3"/>
</group>
<group>
<field name="google_event" invisible="1"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
</odoo>