In the wholesale industry, it is common for the same customer to place many sales orders and then pay a deposit together; generally, the native Odoo module can only match one deposit receipt to one sales order. Now the customer requires the development of a feature that can batch process deposits and quickly know which sales orders this deposit has been allocated to.
Solution approach: Use the wizard or server action to select sales orders, then fill in all selected sales order numbers back into the prepayment interface for reconciliation; this step facilitates the financial staff's reconciliation process.
It is also necessary to make it convenient for the sales end to know which orders this customer has already paid the advance payments for. Therefore, in the form view of all selected sales orders, a record of advance payments for all sales orders also needs to be added.
The final implementation effect is as follows:
Check the sales order interface:
Prepayment interface:

Sales interface:
