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:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
3515
ビュー
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
8月 25
|
4464 | ||
|
0
12月 24
|
9673 | ||
|
3
9月 24
|
21921 | ||
|
5
12月 24
|
53294 | ||
|
4
7月 24
|
10774 |