Vat to dropdown list to select from

During creation of incoming invoices, dolibarr selects the available VAT rates, filtering by the country of the issuer of the invoice.
In order thus to create an invoice from a foreign country, that has usually a 0% VAT rate, but that may be an intracommunitary one ( I am in a EU country ) or an extracommunitary one ( both 0% but different for tax purposes ).

This obliges me to add to all countries some VAT rates relating to the 0% VAT (intracommunitary extracommunitary) etc.
The best solution would be to to be able to select from the VAT rates of the invoice receiver party.
Essentially it is wrong to select the VAT rates from the issuer when creating an incoming invoice as the VAT rates of the issuer country are totally irelevant to the receiver ( even e.g. if the VAT rate is 22% the issuer is an Italian company and the receiver is a Greek one, but the VAT is chargeable instead to be 0% due to the exception of services related to real estate, the fact is irrelevant for the Greek party and the Greek party will put all the import as the net value and the VAT rate to 0% ).
So the above behaviour should change and the VAT rate should be selected from the country the invoice is issued to.

WHICH PART OF CODE DO I HAVE TO CHANGE ?
SHOULD THAT CHANGE IN THE SHORT TIME ? ( AT LEAST COULD A FLAG BE USED TO SWITCH BEHAVIOURS ? )

The code to change is in the function “load_tva” in the file htdocs/core/html.form.class.php

if (is_object($societe_vendeuse))
{
$code_country="’".$societe_vendeuse->country_code."’";
$code_country="’".$mysoc->country_code."’"; //gk add
}
else
{
$code_country="’".$mysoc->country_code."’"; // Pour compatibilite ascendente
}