Nigel Titley reports:
When entering a sales or credit invoice the "set default" option on a
tax report is not honoured. (When entering an AR transaction it is).
Turns out the contact field isn't used and there isn't anything obvious to connect it to. Creating a separate bug for that. Otherwise fixed in 5705
Re-opening: r5705 fixes contact searches, not this bug -- also: I'm still seeing this issue on the AP side.
Proposed solution: add the default-ness of the tax form to the queries in IS.pm::customer_details and IR.pm::vendor_details. Then, use that value to check the checkmark on every new line added for any product that's applicable to one or more tax accounts (no idea where to retrieve that info yet; is that info even available to people with "post invoice" access rights?)