Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
6578 Vues

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
Ignorer
Auteur Meilleure réponse

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

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

 

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
août 24
2467
3
déc. 23
91321
3
sept. 21
5283
1
sept. 15
9042
4
août 25
5783