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

Hi, I add a column (field) in my sale order line.

But when I save the quotation, the value of the column isn't saved in the database.

Someone tells me it comes from the readonly, I try this but it doesn't work :

stocking = fields.Char(string='Stocking',help="Legend",readonly=False)

Thanks in advance?

Avatar
Cancelar
Autor Melhor resposta

In the view, just have to remove the "readonly=True" from

<field name="stocking" readonly=True/>

 

Avatar
Cancelar
Melhor resposta

Dear

Inherit that model.

Again redefine that field with change the attribute of read only is false.

You need to update that database.

Cheers,

Ankit H Gandhi.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
ago. 24
2459
3
dez. 23
91299
3
set. 21
5279
1
set. 15
9037
4
ago. 25
5741