-
- Downloads
[REF] board: don't patch FormView in place anymore
Instead, create a new BoardView (in JS only) instead, referenced by specifying js_class="board" on the fly on the root node of the arch of the board view. This ensures that the dashboard addon doesn't impact the FormView, and this is necessary to ensure that the next commit doesn't break anything.
Showing
- addons/board/models/board.py 3 additions, 0 deletionsaddons/board/models/board.py
- addons/board/static/src/js/board_view.js 38 additions, 18 deletionsaddons/board/static/src/js/board_view.js
- addons/board/static/tests/dashboard_tests.js 12 additions, 12 deletionsaddons/board/static/tests/dashboard_tests.js
- addons/board/views/board_templates.xml 1 addition, 1 deletionaddons/board/views/board_templates.xml
Loading
Please register or sign in to comment