Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4616 Näkymät

Hi

I have a note field in my form view and i'm trying to make it stay in editable mode so we can put it notes easily without having problem pushing edit button or getting back to draft mode

any one know how to do this?

Avatar
Hylkää

Hello,

I would like to ask if you already know the solution on this thread? I also need this kind of feature.

Thanks!

Tekijä
Yes, I am working on it. 

On Tue, Jul 27, 2021 at 9:35 AM iamMarkJEspiritu <mark.a50.samsung@gmail.com> wrote:

Hello,

I would like to ask if you already know the solution on this thread? I also need this kind of feature.

Thanks!

Enviado por Odoo S.A. usando Odoo.

Paras vastaus
If your view structure of field note is like this
<field name="note"
attrs="{'readonly':[('state','=',confirm')]}"/>
then remove
attrs="{'readonly':[('state','=',confirm')]}" from your view.

Avatar
Hylkää
Tekijä

Hi

Thanks for reply

i did, but this only make it editable only after pushing edit button, i would have it editable always, even before clicking edit button

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
maalisk. 16
3465
0
jouluk. 15
4515
2
elok. 22
14424
1
kesäk. 18
3981
5
tammik. 24
15103