修改Web客户端中的OpenERP 6.1产品表单视图
我正在尝试修改 OpenERP 6.1(Web 客户端)的产品视图以包含我自己的小部件,允许我使用三个滑块选择颜色。这是一个非常简单的需求,有时我们需要定制特定的Web视图来改变OpenERP创建其界面的方式。这可能吗?如何实现?我遵循在线文档(OpenERP Web 文档),但我不这样做不知道如何执行此更改...
I'm trying to modify the product view of OpenERP 6.1 (web client) to include my own widget, allowing me to select a color using three sliders. This is a very simple requirement, some times we'll need to customize a specific web view to change the way OpenERP create its interface. Is it possible and how? I follow online docs (OpenERP Web’s documentation) but I don't realise how to perform this change...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我还没有使用新的 6.1 Web 客户端,但听起来您可能想要 滑块控件的子类 Widget。该文档中没有太多细节,因此您可能必须查看 Web 客户端源代码才能了解基本小部件的实现方式。
I haven't used the new 6.1 web client, but it sounds like you might want to subclass Widget for your slider control. There isn't much detail in that documentation, so you'll probably have to look in the web client source code to see how the basic widgets are implemented.