自定义执行后执行方法

时间:2019-02-20 16:59:59

标签: python odoo odoo-8

在条件之后,我有一个自定义异常,这是我在对象客户中创建的此方法的背景,但是当客户电话未找到该条件时,他有一个条件,他向我显示了一个异常列表 当他向我展示异常时,创建过程停止了,但是当我删除异常时,如何解决该问题一切都很好

           try:
               raise exceptions.Warning("List of customers you need to register : \n'' %s'" % (ids_customer))
           except Exception:
                pass

我用了这个,但是弹出窗口没有显示

0 个答案:

没有答案
相关问题