跳至內容
選單
此問題已被標幟
1 回覆
3510 瀏覽次數

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?

頭像
捨棄
最佳答案

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
4456
0
12月 24
9673
3
9月 24
21921
5
12月 24
53291
4
7月 24
10772