Wednesday, November 27, 2024
2 changes · 18.0
Enhancements to existing features
The mail chat interface has been visually refined with larger, rounder chat windows, subtler controls, clearer message timing, and improved separators and banners. These updates make conversations easier to scan and reduce visual clutter without changing the underlying messaging workflow.
Original PR description
- chat windows are larger, removed option to resize chat windows - chat window header commands: compacter, less visible - message actions: less visible when not hovered, no border on click - new message banner slightly smaller and warning style, text bolder - HH:mm on non-squashed message for datetime - slightly smaller and less visible datetime on message - horizontal padding on date section and new message separator - date section has shorter month name - chat window is rounder, bottom is rounded too - jump to present button reduced border opacity + shadow-sm added Backport of https://github.com/odoo/odoo/pull/187654 Before  After 
Odoo can now retrieve official exchange rates from the Hungarian National Bank. This helps Hungarian companies keep currency rates aligned with their national bank source and reduces manual updates.
Original PR description
Objective
---------
Many countries want to use the official rates provided by their National
Bank in their database. A lot of them were already implemented, and now
it's the turn of the Hungarian National Bank.
Solution
---------
The MNB has implemented a SOAP service to access the latest rates.
The service is available at this address
http://www.mnb.hu/arfolyamok.asmx?wsdl
and the service operation `GetCurrentExchangeRates()`
returns:
```xml
<MNBCurrentExchangeRates>
<Day date="2024-11-20">
<Rate unit="1" curr="AUD">252,78</Rate>
<Rate unit="1" curr="BGN">209,49</Rate>
<Rate unit="1" curr="BRL">67,24</Rate>
...
</Day>
</MNBCurrentExchangeRates>
```
Therefore, we can:
1. Open a Zeep client to communicate with the service
2. Parse the XML and fetch the data (currency, ratio, rates and date).
3. Update the result dict accordingly
task-4320506