xml 中o2m字段定义
增加多个值
<field name="groups_id" eval="[(4, ref('account.group_account_manager')),(4, ref('account.group_account_user'))]"/>
替换
<field name="groups_id" eval="[(6,0,[ref('account.group_account_user'),ref('purchase.group_purchase_user')]),]"/>
替换多个值将满足serch的结果返回
<field name="groups_id" search="[('name','ilike','%pur%')]"/>
"[('id','<',10)]"
~~~~~~~
需要odoo 实施,二开,培训 等服务
QQ:190170444