diff --git a/plm/models/product_product.py b/plm/models/product_product.py index 120608f4..5d6148ee 100755 --- a/plm/models/product_product.py +++ b/plm/models/product_product.py @@ -1726,6 +1726,11 @@ def nodeResursionUpdate(node, isRoot=False): nodeResursionUpdate(updatedNode, True) return json.dumps(updatedNode) + @api.model + def getUuid(self): + param = self.env['ir.config_parameter'].sudo() + return param.get_param('database.uuid') + def getDocBrws(self, docId, docProps): docEnv = self.env['ir.attachment'] oldDocBrws = False