Skip to Content
Menú
This question has been flagged
3 Respostes
6965 Vistes

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
Descartar
Autor Best Answer

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

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

 

Avatar
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
2
d’ag. 24
3057
3
de des. 23
92510
3
de set. 21
5974
1
de set. 15
9645
4
d’ag. 25
7575