summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-07-20 07:22:33 +0000
committerXavier Morel <xmo@odoo.com>2020-07-28 13:03:13 +0000
commitc8063af7a085eda61e470fa5c861e94388429644 (patch)
tree4138a64b383e2ee9cc50d5275d85e4fb03c2c568 /addons/web/static/src/js/widgets
parent6835aeb0de6895f7f4d6b23e0b4654465ef21d6a (diff)
[IMP] core, account, lunch: make <menuitem> recursive
For clarity, some data files are formatted as pseudo-tree structure. This is somewhat confusing and dangerous when the structure has no meaning... so add meaning: * allow nesting menuitems, nested items are set as children to the parent they're nested in * update schema to allow an icon *or* a parent on regular menu items, and neither on nested (they have an implicit parent meaning can't have an icon) * remove attributes which don't actually exist from the menuitem schema * also type sequence as an integer while at it Convert two large-ish menuitem data files to recursive form. closes odoo/odoo#54564 Related: odoo/enterprise#11887 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions