跳至內容
選單
此問題已被標幟
1 回覆
2086 瀏覽次數

Is it possible to make a field appear in the form when editing it only after it is created?

頭像
捨棄
最佳答案

Yes it's possible. Do it like this:

<field name="id" invisible="1"/>

<field name="field_appear" attrs='{"invisible": [("id", "=", False)]}'/>

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
6
7月 24
45888
1
3月 16
5750
2
3月 24
17160
2
9月 23
9936
4
12月 23
19882