From 8078b6cedc4e71f3ee779f01091e56bb57e41d88 Mon Sep 17 00:00:00 2001 From: houssine Date: Mon, 9 Sep 2019 12:22:17 +0200 Subject: [PATCH] [IMP] set default_code required when is_share is True --- easy_my_coop/view/product_view.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/easy_my_coop/view/product_view.xml b/easy_my_coop/view/product_view.xml index dfddcaf..116b4d7 100644 --- a/easy_my_coop/view/product_view.xml +++ b/easy_my_coop/view/product_view.xml @@ -35,7 +35,17 @@ - + + + product.template.product.form + product.template + + + + {'required': [('is_share', '=', True)]} + + + Share type