Kaydet (Commit) b9ecbedb authored tarafından Claude Paroz's avatar Claude Paroz

Fixed #18528 -- Fixed custom field value_to_string example

Thanks anuraguniyal for the report.
üst 54b1519d
...@@ -666,7 +666,7 @@ data storage anyway, we can reuse some existing conversion code:: ...@@ -666,7 +666,7 @@ data storage anyway, we can reuse some existing conversion code::
def value_to_string(self, obj): def value_to_string(self, obj):
value = self._get_val_from_obj(obj) value = self._get_val_from_obj(obj)
return self.get_db_prep_value(value) return self.get_prep_value(value)
Some general advice Some general advice
-------------------- --------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment