changeset 350594c64865 in modules/account_product:default
details: 
https://hg.tryton.org/modules/account_product?cmd=changeset;node=350594c64865
description:
        Make AccountError inherits from AccountMissing

        issue8955
        review252811002
diffstat:

 exceptions.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 4bfbb63af502 -r 350594c64865 exceptions.py
--- a/exceptions.py     Sat Dec 28 17:48:50 2019 +0100
+++ b/exceptions.py     Fri Jan 24 00:15:08 2020 +0100
@@ -2,9 +2,10 @@
 # this repository contains the full copyright notices and license terms.
 
 from trytond.exceptions import UserError
+from trytond.modules.account.exceptions import AccountMissing
 
 
-class AccountError(UserError):
+class AccountError(AccountMissing):
     pass
 
 

Reply via email to