Is there any other method similar to using the following aspects in Web-interface:
- function field
- related field
- constraint
我得到了有关function field that we can use js
的信息,但我不知道它是如何使用的。如果您知道这些信息,请分享它。
Thanks & Regards,
Atchuthan
AFAIK 你不能这样做,因为你需要为函数编写 python 代码。 OpenERP在设计上不支持这种行为。这个想法是它有一个非常强大的继承系统,用于编写自己的模块。
同上,有约束。常规约束在代码中定义,SQL 约束也在代码中定义,并在注册模型时进行处理。