Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
6537 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
серп. 24
2451
3
груд. 23
91287
3
вер. 21
5271
1
вер. 15
9034
4
серп. 25
5718