web icon indicating copy to clipboard operation
web copied to clipboard

[16.0][IMP] web_timeline: Follow create/edit/delete attrs

Open houzefa-abba opened this issue 10 months ago • 1 comments

In addition to security rights (was already implemented), now follow create="0" / edit="0" / delete="0" attributes one can set onto the timeline tag, same as in other Odoo views.

I had to add a specific event for read-only double-clicks to distinguish with update ones (read-only double-clicks have item ID only, updates have more item info in a dict).

To test on runboat, open the ir.cron timeline view and play with:

  • create="0" / 1
  • edit="0" / 1
  • delete="0" / 1
  • event_open_popup="0" / 1

houzefa-abba avatar Apr 04 '24 11:04 houzefa-abba