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)