Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

How to make Readonly states based on condition

形象
odoo
形象
丢弃
2 答案
0
形象
odoo
最佳答案

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', 'in', ('resolved','new','in progress')]}"

Thanks

形象
丢弃
0
形象
odoo
最佳答案

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', '=', 'resolved')]}"

Thanks


1 备注
形象
丢弃
形象
odoo
-

I tried this one .. particular this state is getting readonly .. I need all the states to be readonly