odoo中 x2many字段,如果用户没有关联表的 create权限的话,则对应的list视图中就不存在 add an item按钮。
解决方案是: 在对应的list视图中手动加入 create="1"
当然如果 one2many 的话,用户没有关联表的create权限,即使增加了 add an item 也是不能添加成功的
odoo中 x2many字段,如果用户没有关联表的 create权限的话,则对应的list视图中就不存在 add an item按钮。
解决方案是: 在对应的list视图中手动加入 create="1"
当然如果 one2many 的话,用户没有关联表的create权限,即使增加了 add an item 也是不能添加成功的
转载于:https://my.oschina.net/u/3503650/blog/1596746