_# jeffery # focus on Odoo and other open source solutions # IT基础架构资深专家,开源解决方案专家,odoo资深专家__Q:913547235 讨论群397750860

Odoo many2many command

CREATE = lambda values: (0, False, values) // (0,False, Values) //创建
UPDATE = lambda id, values: (1, id, values) // (1,id, Values) //更新
DELETE = lambda id: (2, id, False) // (2,id, False) //删除
FORGET = lambda id: (3, id, False) // (3,id, False) //断开链接
LINK_TO = lambda id: (4, id, False) // (4,id, False) //链接
DELETE_ALL = lambda: (5, False, False) // (5,False, False) //删除全部
REPLACE_WITH = lambda ids: (6, False, ids) // (6,False, ids) //替换

posted on 2019-04-01 13:54 odoouse 阅读(...) 评论(...) 编辑 收藏

导航

统计

_# jeffery # focus on Odoo and other open source solutions # IT基础架构资深专家,开源解决方案专家,odoo资深专家_