Skip to Content
Menu
This question has been flagged
1 Reply
3719 Views

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?

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
Oct 25
5225
0
Dec 24
10230
3
Sep 24
22580
5
Dec 24
54510
4
Jul 24
11455