When a Customer Deposit created directly from a Sales Order is printed, its Bill To information is being sourced from the Customer record, instead of the Sales Order Bill To information.
This standard behavior has considered that Customer Deposits may be for more than one Bill, and multiple Bills may have different Billing Addresses.
Also, the Customer Deposit form does not include a Billing Address. Hence, users cannot select a Bill To information upon creating the Customer Deposit.
If you are using Basic Print Layouts for Customer Deposits, there is no way to customize the Bill To information source. But you may follow this workaround to resolve the issue when you are printing Customer Deposits:
1. Edit the Customer record
2. On the Address tab, add the new Address
3. Mark the new Address as the Default Billing
4. Save the Customer record
5. Print the Customer Deposit
And if you are using Advanced PDF/HTML Templates, here are the steps you may take:
1. Navigate to Customization > Forms > Advanced PDF/HTML Templates
2. Preferred Template: Click Edit
3. Source Code: Replace ${record.customer.address} with <#if record.salesorder?has_content>${record.salesorder.billaddress}<#else>${record.customer.address}</#if>
4. Click Save