Skip to Content
Menu
This question has been flagged
3 Replies
6555 Rodiniai

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?

Portretas
Atmesti
Autorius Best Answer

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

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

 

Portretas
Atmesti
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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugp. 24
2457
3
gruod. 23
91298
3
rugs. 21
5279
1
rugs. 15
9037
4
rugp. 25
5741