From 2c1b97e22b33aebe10dfc8c2833c497dd08f5dcc Mon Sep 17 00:00:00 2001 From: xmo-odoo Date: Mon, 19 Feb 2018 15:02:38 +0100 Subject: [PATCH] [IMP] base: make module fields !create Trying to create a module through the interface will blow up as computing the `desc` leads to a concatenation of the module's addons path, the module's name and a hard-coded path, which does not work as the module does not have a name yet. This creation attempt can be performed as the admin through m2o fields. Given said creation through the UI doesn't really make sense, disable it on the relevant fields. Fixes #23059 --- odoo/addons/base/ir/ir_model_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odoo/addons/base/ir/ir_model_view.xml b/odoo/addons/base/ir/ir_model_view.xml index 5e04ac92eda..9f525c1d2b4 100644 --- a/odoo/addons/base/ir/ir_model_view.xml +++ b/odoo/addons/base/ir/ir_model_view.xml @@ -443,7 +443,7 @@ - + @@ -479,7 +479,7 @@
- +