diff --git a/web_warning_on_save/orm.py b/web_warning_on_save/orm.py index cbaf029a..825b4c38 100644 --- a/web_warning_on_save/orm.py +++ b/web_warning_on_save/orm.py @@ -25,4 +25,5 @@ from openerp.osv import orm def check_warning_on_save(self, cr, uid, id, context=None): return False + orm.BaseModel.check_warning_on_save = check_warning_on_save