Thursday, November 30, 2023
1 change · 17.0
New functionality added to Odoo
This update allows users to generate electronic invoices with negative line items (such as discounts, bonuses, coupons, and advance payments) for Argentina's FEX and FBE web services. Previously, these invoices were rejected because the system wasn't sending the required information to properly report negative lines. The fix now automatically detects negative lines, determines their reason, and formats the data correctly for the web service.
Original PR description
Before this PR the users were not able to generate electronic invoices to the FEX and FBE webservices that have negative lines (For example: downpayment, bonuses, coupons, global discount lines). This because the WS only accept negative lines if we sent some specific information within the xml. This PR make it work by evaluationg the negative lines, deducing the reason behind the line and sending to the webserve the data adapted so they can report the line correctly resolves opw-3572679 latam task 1064 adhoc task: 32083 Forward-Port-Of: odoo/enterprise#44218