<?xml version="1.0" encoding="utf-8"?> <odoo> <data noupdate="0"> <!-- 创建类别 --> <record model="ir.module.category" id="module_roke_stock_hidden"> <field name="name">完成转取消</field> <field name="sequence">6</field> </record> <!-- 创建基于类别的权限组 --> <record id="roke_stock.group_roke_stock_super_man" model="res.groups"> <field name="name">完成转取消</field> <field name="category_id" ref="roke_stock.module_roke_stock_hidden"/> </record> </data> </odoo>
groups="roke_stock.group_roke_stock_super_man"
标签:roke,自定义,取消,ODOO,权限,stock From: https://www.cnblogs.com/pythonClub/p/17378991.html