odoo/odoo#162543

Created by fw-bot
label
odoo-dev:17.0-16.0-opw-3839992_dashboard_activities_out_of_frame-mohu-UrUg-fw
head
79b196d2ac809c4a3549c2a78618660f1a85de59
target
17.0
merged
1 month ago by Moataz Hussein (mohu)
forward-port of
odoo/odoo#160167

[FW][FIX] account: constrict activities summaries within containing card

Issue
-----

The activities summaries displayed by the misc. operations view in the accounting
app take up the entire screen and span across the card if the activity summary
is too long.

Steps
-----

- Open the Accounting App.
- Create a new entry from 'Miscellaneous Operations'.
- Add an activity with a long summary.
- Go back the dashboard. The summary will try to span the entire width.

Cause
-----

The activities are displayed with a field tag in the kanban view. The field tag
refers to the activities js component as a widget. Due the use of a widget attribute,
the template generates a div with class: "o_field_widget". This class is defined
to have a css "display" attribe with a default value of "inline-block". Using "inline-block"
causes the activity row to take up the whole width.

opw-3839992

Forward-Port-Of: odoo/odoo#160167