[FIX] Activities: add "Cancel" button when launching an activity plan

Restore the "Cancel" button when selecting a plan from the activity wizard.
When we introduced the plan feature in v17, the "Cancel" button was forgotten. The only way for users to cancel the action is to click on the "X" button at the top right. 

task-3754897

closes odoo/odoo#154678

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Zelong Lin
2024-02-20 14:57:28 +00:00
parent f8b672a96d
commit aed6e24e8d
@@ -70,6 +70,7 @@
<footer invisible="not plan_id">
<button name="action_schedule_plan" string="Schedule" type="object" class="btn-primary"
invisible="has_error" data-hotkey="q"/>
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
</footer>
</form>
</field>