跳至内容
菜单
此问题已终结
3 回复
6551 查看

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?

形象
丢弃
编写者 最佳答案

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

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

 

形象
丢弃
最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
2
8月 24
2457
3
12月 23
91294
3
9月 21
5277
1
9月 15
9035
4
8月 25
5738