Hello I would like to know is there an attribute that allows me to block a field after another is written, that is, it is not written in it if another is true
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
1
回覆
4217
瀏覽次數
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
3
5月 24
|
7188 | ||
|
|
2
5月 24
|
4790 | ||
|
|
1
9月 15
|
6029 | ||
|
|
3
3月 15
|
16855 | ||
|
|
3
5月 25
|
3231 |