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
回复
4248
查看
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
3
5月 24
|
7206 | ||
|
|
2
5月 24
|
4824 | ||
|
|
1
9月 15
|
6052 | ||
|
|
3
3月 15
|
16879 | ||
|
|
3
5月 25
|
3281 |