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
- Project
- MRP
此問題已被標幟
1
回覆
3768
瀏覽次數
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
|
5301 | ||
|
|
0
12月 24
|
10265 | ||
|
|
3
9月 24
|
22657 | ||
|
|
5
12月 24
|
54605 | ||
|
|
4
7月 24
|
11517 |