summaryrefslogtreecommitdiff
path: root/addons/board/views
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2018-04-12 11:36:05 +0200
committerAaron Bohy <aab@odoo.com>2018-04-13 12:09:01 +0200
commit1d92bb410db693e2e670006ec6eb003be72f24f4 (patch)
tree8f0d0939afbff1ad9e8a929d0bdec39ebfd10464 /addons/board/views
parent96f82f65e212a7b692400fd1c796339663b509ad (diff)
[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.
Diffstat (limited to 'addons/board/views')
-rw-r--r--addons/board/views/board_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/board/views/board_templates.xml b/addons/board/views/board_templates.xml
index ac87af8ef26..faab4a1a1b2 100644
--- a/addons/board/views/board_templates.xml
+++ b/addons/board/views/board_templates.xml
@@ -4,7 +4,7 @@
<xpath expr="." position="inside">
<link rel="stylesheet" href="/board/static/src/less/dashboard.less"/>
<script type="text/javascript" src="/board/static/src/js/action_manager_board_action.js"></script>
- <script type="text/javascript" src="/board/static/src/js/dashboard.js"></script>
+ <script type="text/javascript" src="/board/static/src/js/board_view.js"></script>
<script type="text/javascript" src="/board/static/src/js/favorite_menu.js"></script>
</xpath>
</template>