Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5729 Visualizações

I have a functional field like,

'invoice_id': fields.function( _get_invoice_id, method=True, string='Linked Invoice', type='many2one', relation='account.invoice', readonly=False, store=True),

Now i wanted to write a value in it uisng the write method.

Avatar
Cancelar

can you explain the problem in detail, that is herr what value you wish to write in your functional field?

Melhor resposta

When you set "store=True", OpenERP will already write the calculated value to the database.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
mar. 19
10894
1
mar. 15
6063
2
dez. 20
4619
1
jul. 19
4423
2
abr. 19
6380