Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4572 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

Hello,

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

Thanks!

Tác giả
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.

Câu trả lời hay nhất
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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 16
3436
0
thg 12 15
4493
2
thg 8 22
14390
1
thg 6 18
3951
5
thg 1 24
15056