Commit 5b37f71d authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

modify the format of the activity reported for Compounds

new format is XXXXX,XXXXXXXXXX
parent c0814f35
......@@ -839,7 +839,7 @@ class BaseInlineNestedFormSet(forms.BaseInlineFormSet):
class CompoundActivityResultForm(ModelForm):
compound_name = forms.ChoiceField(choices=(), required=True)
activity_mol = forms.DecimalField(
label="Activity", required=True, max_digits=12, decimal_places=10, min_value=0,
label="Activity", required=True, max_digits=15, decimal_places=10, min_value=0,
activity_unit = forms.CharField(
label="Activity unit",
Supports Markdown
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