【发布时间】:2021-04-28 18:28:35
【问题描述】:
我在 attrs 中使用 many2many 时遇到问题,使用域没问题,但在 attrs 中使用时出错。对于这个问题,我们有任何解决方案或解决方法吗?
<field name="visible_fields" widget="many2many_tags"/>
<field name="create_uid" attrs="{'invisible': [('id','not in', visible_fields or False)]}"/>
【问题讨论】: