Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
1311 Visualizações

what does change_default attribute do? 

change_default = False # whether the field may trigger a "user-onchange"

what does this mean ?

Avatar
Cancelar
Melhor resposta

If change_default = True, when the field's value changes, Odoo will check and may update the default values in ir.default based on the corresponding conditions.

Conversely, if change_default = False, even if the field meets the conditions in ir.default, changing it will not trigger any updates from ir.default.

In summary, change_default determines whether the field can affect the default values set in ir.default.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
out. 20
2227
0
mai. 20
6464
1
jun. 16
11506
0
mar. 15
3550
1
fev. 23
8053