Skip to content
Snippets Groups Projects
Commit 734f0af6 authored by Yenthe666's avatar Yenthe666
Browse files

[IMP] calendar: place smartbutton within oe_button_box


closes odoo/odoo#37987

Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent acda5c58
No related branches found
No related tags found
No related merge requests found
......@@ -86,8 +86,10 @@
<field name="arch" type="xml">
<form string="Meetings">
<sheet>
<div class="oe_button_box" name="button_box">
<button string="Document" icon="fa-bars" type="object" name="action_open_calendar_event" attrs="{'invisible': ['|', ('res_model', '=', False), ('res_id', '=', False)]}"/>
</div>
<widget name="web_ribbon" text="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<button string="Document" class="oe_stat_button float-right" icon="fa-bars" type="object" name="action_open_calendar_event" attrs="{'invisible': ['|', ('res_model', '=', False), ('res_id', '=', False)]}"/>
<field name="res_model" invisible="1" />
<field name="res_id" invisible="1" />
<field name="state" invisible="1"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment