From 732ee2c55b9c7b1a126ecaab4fb70b077ed2e2aa Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 24 Aug 2021 22:59:25 +0200 Subject: [PATCH] base_dynamic_list: update module desc --- base_dynamic_list/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_dynamic_list/__manifest__.py b/base_dynamic_list/__manifest__.py index 6d8e01e..816b9f0 100644 --- a/base_dynamic_list/__manifest__.py +++ b/base_dynamic_list/__manifest__.py @@ -27,7 +27,7 @@ To use it, you need to do 2 or 3 things : 1) Add an entry in the domain field and the object you selected: -domain = fields.Selection(selection_add=[('risk.type', "Risk Type")], ondelete={"risk.type": "set null"}) +domain = fields.Selection(selection_add=[('risk.type', "Risk Type")], ondelete={"risk.type": "cascade"}) 2) Add the many2one field on your object: