Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
6545 Weergaven

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
Annuleer
Auteur Beste antwoord

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

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

 

Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
aug. 24
2455
3
dec. 23
91292
3
sep. 21
5275
1
sep. 15
9035
4
aug. 25
5734