Replace reference copying by relate

review932002
Add Sale tab to party view

review931002
Do not override existing lines in invoice creation

review931002