跳至内容
菜单
此问题已终结
1 回复
3086 查看

how to select a field by default to display in the results fields from many2one fields.

形象
丢弃
最佳答案

If the question is how to define a default value in a many2one field, you can put it in the class object definition in your module.py file:

_defaults = {
    'your_field' : default_value
}
形象
丢弃