Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Tree/List item "open modal form"

by
CorporateHub OU, Alexey Pelykh
- 02/04/2024 21:10:09
Dear community,

I'm looking for a module that implements a feature similar to enabling "open_form_view" on a tree/list, yet that opens the form as a modal overlay and allows editing.

The use case: on products, there are extra fields with HTML values ("product details") that are copied to the sale order line and may be modified (alike "sale description").
For obvious UX reasons, having HTML fields in a tree/list is not great, yet editing them somehow is still needed.

I've considered alternative of setting  editable to False does not do the trick as that form does not have all the fields exposed that are visible in the tree/list.

If no such thing exists, I'm considering making a base_list_item_open module that would expand or alter the open_form_view approach.

Cheers to all,
Alexey

Follow-Ups