1.添加归档功能 WinstonZon 2025-11-06 12 阅读1分钟 在模型中,添加字段: active = fields.Boolean(default=True) 这是odoo的魔法函数,会自动在动作菜单中,添加归档和取消归档功能。