Files
odoo_source/addons/microsoft_calendar/wizard/reset_account_views.xml
T
jbm-odoo edee29613d [FIX] microsoft_calendar: Badge when sync is active
Add a cron to sync events in Microsoft calendar
In Google and Microsoft calendar: remove 'sync with ...' button
when the synchronization is already activated, and replace it by a
badge.

closes odoo/odoo#58197

Taskid: 2329313
X-original-commit: 255eb91dd5e9fb39a7625064d1ba8e0b492bfb85
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: jbm-odoo <jbm-odoo@users.noreply.github.com>
2020-09-22 10:08:27 +00:00

30 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="microsoft_calendar_reset_account_view_form" model="ir.ui.view">
<field name="name">microsoft.calendar.account.reset.form</field>
<field name="model">microsoft.calendar.account.reset</field>
<field name="arch" type="xml">
<form>
<h1>Reset Outlook Calendar Account</h1>
<group>
<field name="delete_policy" widget="radio"/>
<field name="sync_policy" widget="radio"/>
</group>
<footer>
<button name="reset_account" string="Confirm" type="object" class="btn-primary"/>
<button string="Cancel" class="btn-secondary" special="cancel" />
</footer>
</form>
</field>
</record>
<record id="microsoft_calendar_reset_account_action" model="ir.actions.act_window">
<field name="name"></field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">microsoft.calendar.account.reset</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</odoo>