Wednesday, December 13, 2023
2 changes · 17.0
Enhancements to existing features
This update adds support for the Bank of Guatemala's official exchange rates as a currency rate provider in Odoo. Users in Guatemala can now automatically fetch daily exchange rates directly from the Bank of Guatemala's webservice. Additionally, the currency rate provider list has been reorganized with country codes and alphabetical sorting for better usability.
Original PR description
In Guatemala the practice is to use the exchange rates provided by the Bank of Guatemala. They offer a webservice to fetch the daily rates that we are adding as a Currency Rate Provider in this commit. Further we are cleaning up the Current Rate Provider list by adding the country code in front of the label and sorting alphabetically. [task-3581837](https://www.odoo.com/web#id=3581837&cids=1&menu_id=4720&action=333&active_id=967&model=project.task&view_type=form) Forward-Port-Of: odoo/enterprise#52540 Forward-Port-Of: odoo/enterprise#50686
When a closed subscription order is reopened (such as when a customer makes a payment to reactivate), the system now automatically clears the expiration date. This prevents the order from being automatically closed again on the same day it's reopened. Sales teams can manually adjust the expiration date if needed for specific situations.
Original PR description
Before this commit, when a churned order was reopened by portal payment, the end_date was left untouched. The expiration cron could close it the same day than the reopening. This commit remove the end date. We need to remove it and notify because we can't track all the possibilities: * order reaches the end date, auto close, customer pay to reopen it: --> we want to remove the end_date * 2 years order is closed by customer after a few months, it was a mistake. We want to reopen it but the end date should be preserved. It is not possible to distinguish easily these 2 cases and the others. As we want to keep the flow simple, we decide to let the salesperson decide. opw-ticket 3614318 Forward-Port-Of: odoo/enterprise#52523 Forward-Port-Of: odoo/enterprise#51732