This commit changes the way assets are declared in Odoo modules. Before: assets were declared in template files. Template bundles were generated from primary templates, so technically any qweb template could have been called as an asset bundle, with the 't-call-assets' directive. Being standard qweb templates, they had access to standard HTML tags (script, link, with or without raw scripts or style definition), qweb directives (t-call, t-raw, etc.) and could be inherited by other templates. Now: assets are defined in the module's manifest and generated by the 't-call-assets' directive. More information on the new system can be found on the updated user documentation (see the "JavaScript Reference" section). Task: 2352566 Co-authored-by: Bruno Boi <boi@odoo.com> Co-authored-by: Julien Mougenot <jum@odoo.com> Co-authored-by: Lucas Perais <lpe@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: Raphael Collet <rco@odoo.com> Co-authored-by: Simon Genin <ges@odoo.com>
2.5 KiB
2.5 KiB
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_website_public | website.public | website.model_website | 1 | 0 | 0 | 0 | |
| 3 | access_website_designer | website.website.designer | website.model_website | group_website_designer | 1 | 1 | 1 | 1 |
| 4 | access_website_menu | access_website_menu | model_website_menu | 1 | 0 | 0 | 0 | |
| 5 | access_website_menu_designer | Web Menu Manager | model_website_menu | group_website_designer | 1 | 1 | 1 | 1 |
| 6 | access_website_rewrite | access_website_rewrite | model_website_rewrite | 0 | 0 | 0 | 0 | |
| 7 | access_website_rewrite_designer | Web Rewrite Manager | model_website_rewrite | group_website_designer | 1 | 1 | 1 | 1 |
| 8 | access_website_page | access_website_page | model_website_page | 0 | 0 | 0 | 0 | |
| 9 | access_website_page_designer | Web Page Manager | model_website_page | group_website_designer | 1 | 1 | 1 | 1 |
| 10 | access_website_ir_ui_view_publisher | access_website_ir_ui_view_publisher | model_ir_ui_view | group_website_publisher | 1 | 0 | 0 | 0 |
| 11 | access_website_ir_ui_view_designer | access_website_ir_ui_view_designer | model_ir_ui_view | group_website_designer | 1 | 1 | 1 | 1 |
| 12 | access_seo_public | access_seo_public | model_website_seo_metadata | 1 | 0 | 0 | 0 | |
| 13 | access_seo_designer | access_seo_designer | model_website_seo_metadata | group_website_designer | 1 | 1 | 1 | 1 |
| 14 | access_website_visitor_designer | access_website_visitor_designer | model_website_visitor | website.group_website_designer | 1 | 1 | 0 | 1 |
| 15 | access_website_visitor_system | access_website_visitor_system | model_website_visitor | base.group_system | 1 | 1 | 0 | 1 |
| 16 | access_website_track_designer | access_website_track_designer | model_website_track | website.group_website_designer | 1 | 1 | 1 | 1 |
| 17 | access_website_track_system | access_website_track_system | model_website_track | base.group_system | 1 | 1 | 1 | 1 |
| 18 | access_website_route_designer | access_website_designer_route | model_website_route | group_website_designer | 1 | 1 | 1 | 1 |
| 19 | access_theme_ir_ui_view | access_theme_ir_ui_view | model_theme_ir_ui_view | base.group_system | 1 | 1 | 1 | 1 |
| 20 | access_theme_ir_asset_group_system | theme_ir_asset_group_system | model_theme_ir_asset | base.group_system | 1 | 1 | 1 | 1 |
| 21 | access_theme_ir_attachment | access_theme_ir_attachment | model_theme_ir_attachment | base.group_system | 1 | 1 | 1 | 1 |
| 22 | access_theme_website_menu | access_theme_website_menu | model_theme_website_menu | base.group_system | 1 | 1 | 1 | 1 |
| 23 | access_theme_website_page | access_theme_website_page | model_theme_website_page | base.group_system | 1 | 1 | 1 | 1 |
| 24 | access_website_robots | access.website.robots | model_website_robots | website.group_website_designer | 1 | 1 | 1 | 0 |
| 25 | access_website_dynamic_filter_public | access_website_dynamic_filter | model_website_snippet_filter | 0 | 0 | 0 | 0 | |
| 26 | access_website_dynamic_filter_system | access_website_dynamic_filter | model_website_snippet_filter | base.group_system | 1 | 1 | 1 | 1 |