If I use a default value in the context of a field and also have one defined in the models _defaults, which value is used?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- 项目
- MRP
此问题已终结
1
回复
3881
查看
HI, Default values passed through the context will override the defaults(_defaults) defined in the model.
You may refer the link for explanation: https://bugs.launchpad.net/openerp-web/+bug/925622
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
1
10月 25
|
5628 | ||
|
|
0
12月 24
|
10543 | ||
|
|
3
9月 24
|
23034 | ||
|
|
5
12月 24
|
55151 | ||
|
|
4
7月 24
|
11855 |