Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
6536 Vizualizări

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?

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

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

 

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
aug. 24
2451
3
dec. 23
91287
3
sept. 21
5271
1
sept. 15
9034
4
aug. 25
5718