This is a patch to a recent checkout of Trunk from SVN.
Stored procedure eca__set_taxes was saving links to customer tax
accounts to table vendortax and links to vendor tax accounts to table
customertax but the sales invoice routines were looking for links to
customer tax accounts in table customertax and, I presume, the vendor
invoice routines were looking for links to vendor tax accounts in table
With this change, links to customer tax accounts are written to table
customertax and links to vendor tax accounts are written to table
vendortax. After this, and re-saving customer accounts, taxes show up in
sales invoices as one might expect.
Note that this is a change to one of the database setup file. Either
create a new company database or re-run the sql script
(sql/modules/Company.sql) against an existing company file.