Skip to content

Commit

Permalink
FIX: report in language error
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Oct 23, 2023
1 parent c681982 commit 7486910
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions plm/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ def get_str_description(self):
if product_id.std_description:
tmp_name_out = product_id.computeDescription(self.std_description,
self.std_description.description,
self.std_umc1,
self.std_umc2,
self.std_umc3,
self.std_description.umc1,
self.std_description.umc2,
self.std_description.umc3,
self.std_value1,
self.std_value2,
self.std_value3)
Expand Down Expand Up @@ -409,7 +409,15 @@ def _packvalues(self, fmt, label=False, value=False):
retvalue = fmt
return retvalue

def computeDescription(self, thisObject, initialVal, std_umc1, std_umc2, std_umc3, std_value1, std_value2, std_value3):
def computeDescription(self,
thisObject,
initialVal,
std_umc1,
std_umc2,
std_umc3,
std_value1,
std_value2,
std_value3):
description1 = False
description2 = False
description3 = False
Expand Down

0 comments on commit 7486910

Please sign in to comment.