İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
6570 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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

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

 

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Ağu 24
2462
3
Ara 23
91310
3
Eyl 21
5280
1
Eyl 15
9039
4
Ağu 25
5760