Skip to content
Snippets Groups Projects
Commit c7964657 authored by Jérémy Hennecart's avatar Jérémy Hennecart Committed by Aaron Bohy
Browse files

[IMP] web: add support of "sample" attribute in views


With this commit, it is now possible to display sample (fake)
data in empty views, in the hope of easing user onboarding.
This can be enabled (in list and kanban views) with attribute
sample="1" on the arch root element. In this case, if there is
no data to display, sample data will be generated based on
heuristics (depending on field types and names). This can be
used in addition to the no content helper.

Task 2232801

X-original-commit: 7c8e627ff5029cb539d702705e5ce53d658c76ed
Co-authored-by: default avatarAaron Bohy <aab@odoo.com>
Co-authored-by: default avatarMathieu Duckerts-Antoine <dam@odoo.com>
Co-authored-by: default avatarJérémy Hennecart <jeh@odoo.com>
Co-authored-by: default avatarJulien Mougenot <jum@odoo.com>
parent 96fcefb6
No related branches found
No related tags found
No related merge requests found
Showing
with 520 additions and 150 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment