Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

houzefa-abba
Copy link
Member

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

@OCA-git-bot
Copy link
Contributor

Hi @tarteo,
some modules you are maintaining are being modified, check this out!

@houzefa-abba houzefa-abba force-pushed the 16.0-timeline-tag-attrs branch 2 times, most recently from 38b10fb to 1d9e5d6 Compare April 4, 2024 11:08
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants