[IMP] payment: use ondelete instead of custom error
Use generic method on_delete instead of personalized one for the sake of clarity and reproductibility. task-2883630 closes odoo/odoo#99958 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import ir_http
|
||||
from . import ir_ui_view
|
||||
from . import payment_provider
|
||||
from . import payment_icon
|
||||
from . import payment_token
|
||||
|
||||
Reference in New Issue
Block a user