Tuesday, July 16, 2024
1 change · saas-17.1
Resolved issues and error corrections
Fixes an issue where paid down payments created in Sales were missing when the related order was imported into Point of Sale. This helps store staff correctly settle orders without overlooking amounts already paid.
Original PR description
When a downpayment was made in the sales app, it was not imported correctly in PoS when importing the order. Steps to reproduce: ------------------- * Create a sale order * Make a downpayment for the sale order (Create invoice -> downpayment) * Pay the downpayment * Open PoS and try to settle the order > Observation: The downpayment doesn't appear in the PoS Why the fix: ------------ Since this PR #148732 the downpayment product has been removed when doing a downpayment in PoS. It was causing the downpayment line to be filtered out when importing the order in PoS here https://github.com/odoo/odoo/blob/0592aa98bc582dab6ac739a82bf3f6d9ec372ec8/addons/pos_sale/models/sale_order.py#L61 opw-4021708 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr