Consider optional warehouse for sale and purchase in invoice tax rule pattern
The rule country module does not check if sale/purchase has warehouse before getting its address.
The rule country module does not check if sale/purchase has warehouse before getting its address.