init prod field when editing