Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit 70783ba

Browse files
author
Richard deMeester
committed
Use local var instead of "self" when referring to field.
1 parent 41c6dff commit 70783ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

product_configurator_wizard/wizard/product_configurator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def fields_get(self, allfields=None, attributes=None):
326326
sequence=line.sequence,
327327
)
328328
if field_type == 'float' and line.attribute_id.custom_digits:
329-
res[self.custom_field]['digits'] = \
329+
res[custom_field]['digits'] = \
330330
(16, line.attribute_id.custom_digits)
331331

332332
# Add the dynamic field to the resultset using the convention

0 commit comments

Comments
 (0)