Skip to content

Commit

Permalink
FIX:plm box issiue
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Dec 15, 2024
1 parent 7bc9fae commit 816823f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plm/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 816823f

Please sign in to comment.