Thursday, September 26, 2024
2 changes · saas-17.4
Enhancements to existing features
Adding products to the cart in Point of Sale is now faster, especially after many orders have been created or when many products are loaded. This improves cashier responsiveness and helps reduce slowdowns during busy sales periods.
Original PR description
Before this commit, adding a product to the cart became progressively slower after creating several orders in the PoS, especially when a high number of products were loaded. This performance issue was due to the search operation across all order lines for each product, which became increasingly inefficient with a large number of loaded products and created orders. To address this, "<-pos.order.line.product_id" is now utilized to directly find the corresponding order line, significantly reducing the time complexity and improving the responsiveness of product addition to the cart. opw-4209134 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Colombian electronic invoice emails now include a legally required ZIP file containing the invoice PDF and an XML document with DIAN status information. This helps businesses meet Colombian tax authority requirements when sending invoices to customers.
Original PR description
Due to legal reasons, we need to send a zip containing the PDF and the xml. The xml is an UBL `AttachedDocument` containing both the initial xml representing the invoice and the `ApplicationResponse` returned when calling the GetStatus webservice of DIAN. The `ApplicationResponse` is an xml representing the state of the invoice on the DIAN server. task-4133688 backport of https://github.com/odoo/enterprise/pull/70171