Fix value of Reference fields when id is -1

issue3375
review1089002
(transplanted from d24d3b856c487b9904fa60923708faa751a0d6ed)

--HG--
extra : transplant_source : %D2M%3B%85lH%7B%99%04%FA%60%927%08%FA%A7Q%A0%D6%ED
Fix Reference widget when no model is selected, value is just text

issue3352
review1090002
(transplanted from 5b7b2c1ba521565cb9e052c33f980a28589a47de)

--HG--
extra : transplant_source : %5B%7B%2C%1B%A5%21V%5C%B9%E0R%C3%3F%98%0A%28X%9AG%DE
Block button handler instead of deactivate button

By deactivating the button, the button lost the focus which makes NoModal
selects the wrong sensitive widget and thus the wizard behaves like if it was
launched from the menu instead of from a tab.

issue3353
review1083003
(transplanted from 0d135623d016ce2d8185fcb5790eb22d9d8de254)

--HG--
extra : transplant_source : %0D%13V%23%D0%16%CE-%81%85%FC%B5y%0E%B2-%9D%8D%E2T
Don't set Screen parent to True as it must be a Record instance

review1100002
(transplanted from 3ae60959e6d27cb30b84140c024eea50f4c67d59)

--HG--
extra : transplant_source : %3A%E6%09Y%E6%D2%7C%B3%0B%84%14%0C%02N%EAP%F4%C6%7DY
Backed out changeset e7d1f0e1c5f6
Don't extend domain but wrap into a new list

review1106002
(transplanted from e4a2d43ad02e5c5d3ddd4c22a3c2a0890afff0aa)

--HG--
extra : transplant_source : %E4%A2%D4%3A%D0.%5C%5D%3D%DDL%22%A3%C2%A0%89%0A%FF%F0%AA
Reference id should be stored as int

review1105002
(transplanted from 751e9cde7f7d2069dc902d5a5a90d37590f27b58)

--HG--
extra : transplant_source : u%1E%9C%DE%7F%7D%20i%DC%90-ZZ%90%D3u%90%F2%7BX
Fix move_into when record is not saved

review1107002
(transplanted from d4d4ec2782007eab231325592e4885da76ce1381)

--HG--
extra : transplant_source : %D4%D4%EC%27%82%00%7E%AB%23%13%25Y.H%85%DAv%CE%13%81