odoo
odoo copied to clipboard
[FIX] marketing_automation: fix email template height
How to reproduce
- Inside the marketing automation module, enter any campaign.
- Click on the title of any of the hierarchy card.
- From the dialog box, type a new name and then select
Create and edit. - In the
Create Marketing Templatedialog box opened, select theEvent Promotemplate. - Scroll on the outer scroll bar of the dialog box and you will notice the snippets' box height does not extend to the bottom.
Issue
- The height of the main marketing template is not set, hence an extra scroll bar appears on the dialog box.
Fix
- We modify the condition to not set the height attribute when in Dialog box.
Task-4137980
@shut-odoo the target branch 'saas-17.4' has been disabled, you may want to close this PR.
