Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odgovori
6542 Prikazi

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
Opusti
Avtor Best Answer

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

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

 

Avatar
Opusti
Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
avg. 24
2454
3
dec. 23
91291
3
sep. 21
5274
1
sep. 15
9034
4
avg. 25
5730