コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
6541 ビュー

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
2454
3
12月 23
91291
3
9月 21
5274
1
9月 15
9034
4
8月 25
5730