I fail to see the congruence between my message and your reply. Is it automated?
I explicitly mentioned the column type as being an integer id field.
I asked what is the best way to deal with using a dropdown on a relation slave field when the original record has no value for that field yet c.q. the value is 0. I did not ask what is wrong with my code.
I am sorry but I see a lot of "message management" here in stead of real replies.