Daily updates from Odoo
Wednesday, June 11, 2025
3 changes · master
Enhancements to existing features
Users creating batch payments are now alerted when selected payments are not in a valid state. They can review the invalid payments and continue creating the batch while excluding those entries, helping prevent processing errors.
Original PR description
Added an error wizard to be displayed when there are payments with invalid state included when creating a batch payment. Giving the option to check the invalid payments and create the batch with discarding these invalid payments. task-4531618
Studio users can now adjust the width of fields in list views directly from the list view editor. This gives teams more control over how data is displayed, making important columns easier to read without custom development.
Original PR description
This commit adds support for customizing a field's column width in list views directly from Studio. task-4793106
This update makes Peruvian electronic invoice exports report both line-level and overall discounts in the compliant SUNAT format. Businesses can now apply discounts without masking them as lower product prices, reducing compliance risk and improving invoice accuracy.
Original PR description
Line level discounts were skipped in the previous rewrite of `l10n_pe_edi` as it had weird edge-cases at the time, so before we just manually reduced the prices of the products by the discount to account for the final cost of the invoice. However, this was not technically allowed or compliant with SUNAT, as such, this PR allows for the export of Global and Line Level discounts properly. Note that we had the field `l10n_pe_edi_allowance_charge_reason_code` defined previously in this module but it was not used anywhere. It could be used here for discounts, however, discounts will always be a specific value depending if it's global or line level so there is no need to allow the customer to select it or something different. As there is a chance that the future withholding tasks will need this field, it is staying but made hidden as it doesn't do anything for now. task-4605358