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

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?

アバター
破棄

Hello,

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

Thanks!

著作者
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.

最善の回答
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.

アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
0
3月 16
3439
0
12月 15
4496
2
8月 22
14398
1
6月 18
3963
5
1月 24
15066