Commit 75391230 authored by Aleix Quintana Alsius's avatar Aleix Quintana Alsius

Disable autofill when number computing logic is applied

parent c9fbe1a5
......@@ -144,6 +144,8 @@ class InvoiceNumberItem extends FieldItemBase {
$this->value = 1;
}
$this->series_suffix = $current_suffix;
// Now that logic is done mark autofill to zero to prevent increasing this value again;
$this->autofill = 0;
}
/**
......
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