Tax and Letter head not changing

Hello everyone,

at the moment I am having the issue, that the tax settings and letter head aren’t changing, when the company is changed (only when I try to create a sales invoice).
These fields stay at the default company.

When I try it with a sales quotation or sales order it is working as expected, the tax table and letter head is changed to the selected company.

Do you have an idea?

Already created a github issue for it: