odoo - Odoo 10 How to get to propagate variables to load in all routes?
问题描述
I'm working into a new theme so I've created some variables I need to load into a web template everywhere, so I've put them into a custom route. My trouble now is that they're shown only at my custom route (where my template is), and not a homepage URL, for instance.
Is there any way I could solve this?
解决方案
推荐阅读
- javascript - 如何找到最后一个没有文本值的表格单元格并输入消息?
- json - 如何自定义 GET 返回的内容
- javascript - JavaScript 中的原型概念
- javascript - 通过不改变正文中每个元素的不透明度来显示模态
- php - 一个输入上的两种数据类型或角色
- python - 如何在 python 中使用聚合/汇总数据制作热图?
- html - 带有 css 和 html 的按钮下划线动画
- python - 如何“包装”对象以自动调用超类方法而不是覆盖方法?
- javascript - 从输入中获取数值并计算
- javascript - vue Fullcalendar eventRender,添加vue组件