From 816823f1589522898ee6600acfc229fc4e848360 Mon Sep 17 00:00:00 2001 From: Matteo Boscolo Date: Sun, 15 Dec 2024 09:41:23 +0100 Subject: [PATCH] FIX:plm box issiue --- plm/models/product_product.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plm/models/product_product.py b/plm/models/product_product.py index a20431a0..0b4d980f 100755 --- a/plm/models/product_product.py +++ b/plm/models/product_product.py @@ -1726,6 +1726,11 @@ def getNewDoc(self, oldDocBrws, startingComputeName, file_extension): newDocBrws = docEnv.browse(newDocId) return newDocBrws + @api.model + def getUuid(self): + param = self.env['ir.config_parameter'].sudo() + return param.get_param('database.uuid') + def getComponentBrws(self, componentVals): engCode = componentVals.get('engineering_code', '') engRev = componentVals.get('engineering_revision', None)