Fix access to tax related fields

issue3164
review813002
(transplanted from 8a1c6b66434a4b651624de8a3944919b8a5aa148)

--HG--
extra : transplant_source : %8A%1CkfCJKe%16%24%DE%8A9D%91%9B%8AZ%A1H
Fix Open Chart of Tax Codes when no fiscalyear is selected

issue3202
(transplanted from a230e872a27cfbeb077f9f1470351011cc267160)

--HG--
extra : transplant_source : %A20%E8r%A2%7C%FB%EB%07%7F%9F%14p5%10%11%CC%26q%60