Widget for auto completing a character field according to its existing record values
After installing the module, you can put the tag widget="auto_fill" in your form view. Then it works as below.