Skip to content

Commit

Permalink
Merge branch '16.0' of https://github.com/OmniaGit/odooplm.git into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Dec 15, 2024
1 parent 8c303a9 commit 1cf3e2b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plm/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,12 @@ def open_template(self):
'type': 'ir.actions.act_window',
'domain': [('id', '=', self.product_tmpl_id.id)],
'context': {}}


@api.model
def getUuid(self):
param = self.env['ir.config_parameter'].sudo()
return param.get_param('database.uuid')

@api.model
def createFromProps(self, productAttribute):
out_product_produc_id = self.env['product.product']
Expand Down

0 comments on commit 1cf3e2b

Please sign in to comment.