diff --git a/plm/models/product_product.py b/plm/models/product_product.py index a0a41a1b..8bab7a61 100755 --- a/plm/models/product_product.py +++ b/plm/models/product_product.py @@ -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']