Skip to Content
Menu
This question has been flagged
3 Replies
5473 Views

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
Discard
Author Best Answer

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

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

 

Avatar
Discard
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
Discard
Related Posts Replies Views Activity
2
Aug 24
699
3
Dec 23
86547
3
Sep 21
3317
1
Sep 15
7768
4
Nov 24
419