Update facture.php

if socid is filled and send, they no need to get the thirdparty of the object
Value must be tested is $objectsrc->socid but the test is done into fetch_thirdparty method :

if (empty($this->socid)) return 0;