Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
6582 Ansichten

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
Verwerfen
Autor Beste Antwort

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

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

 

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Aug. 24
2468
3
Dez. 23
91322
3
Sept. 21
5283
1
Sept. 15
9042
4
Aug. 25
5787