Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
6964 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
3057
3
dec. 23
92510
3
sep. 21
5974
1
sep. 15
9645
4
aug. 25
7575