Daily updates from Odoo
Thursday, May 16, 2024
11 changes
2 changes
Enhancements to existing features
Accounting entries created from uploaded documents now show a smart button that opens the related document. This makes it easier for finance users to verify the original file without searching in Documents, while the button only appears when an uploaded document exists.
Original PR description
**Spec:** Implementing the smart (stat) button for documents sent to Accounting, which leads back to the document. **After this PR:** The stat button will be added in accounting which will lead back to the document. (This button will only be seen if the document is uploaded) Task-3856956
The spreadsheet app has been updated to a newer version, bringing improvements to pivot tables, lists, and global filter handling. Users should see smoother spreadsheet interactions, including better keyboard navigation for pivot dimensions and updated side panels that support the latest spreadsheet experience.
9 changes
Enhancements to existing features
This update prevents sales teams from marking subscription contracts as "churned" if they have never been invoiced. Instead, uninvoiced contracts will be properly canceled rather than counted as churned. This ensures churn statistics accurately reflect only contracts that were active and invoiced, improving the reliability of business metrics.
Original PR description
…oiced Before this commit, salespersons could churn a contract that has not been invoiced. It would impact the churn statistics. If the invoice has never been created, a cancelation is more correct. taskid 3925539
Bank Indonesia has been added as a new currency rate provider option in Odoo. This enhancement allows businesses operating in Indonesia to access real-time exchange rates directly from Bank Indonesia, better aligning the system with local market needs and regulatory requirements.
Original PR description
Add Bank Indonesia as a provider or currency rate in order to align with the local market needs. Task id # 3217982 Forward-Port-Of: odoo/enterprise#62167 Forward-Port-Of: odoo/enterprise#61008
Avalara tax calculation fields are now automatically hidden for countries outside the United States and Canada, where the service is not applicable. This improves the user experience by reducing clutter and confusion for international users who don't need these fields.
Original PR description
Avalara fields should not be shown to countries that are neither US or Canada. This commit handles this. task-3477234
This update improves the module import functionality in Odoo's base system. The changes enhance how modules are imported and managed, making the system more reliable and efficient for administrators who need to install or update modules.
This update makes the "Flexible Pricelist" setting visible and available during Kiosk configuration. Previously, this important pricing option was hidden from users setting up self-order kiosks, limiting their ability to customize pricing strategies for their kiosk sales.
Original PR description
Before this commit: =========================== The "Flexible Pricelist" setting is hidden during Kiosk configuration. After this commit: =========================== The "Flexible Pricelist" setting is visible during Kiosk configuration. task-3693379
The livechat application now loads significantly faster by removing unnecessary database checks. The initial loading time has been reduced from 1.88 seconds to 0.25 seconds on large databases, improving the user experience when opening the livechat interface. This optimization is especially beneficial for companies with large message databases.
Original PR description
## Description Since b2eaf32ba92e537c7eefba6489533613be1b8c91, channels that have no message aren't created anymore, so the assertion that if we have a livechat existing it has at least 1 message…
## Description
Since b2eaf32ba92e537c7eefba6489533613be1b8c91, channels that have no message aren't created anymore, so the assertion that if we have a livechat existing it has at least 1 message holds true. Therefor the leaf `('has_message', '=', True)` in many of the livechat related domains is not necessary. In a large database with millions of records on `mail_message`, loading the index on `res_id+model_id` from disk, even for an `Index Only Scan` can be really slow.
## Benchmark
Example for runtime on a staging database, with over 256M mail_messages, 600k discuss_channels, warm cache. Cold cache is around 10x slower in both cases. The bottleneck for loading the default Livechat view: `_compute_nbr_channel`
| | Before | After |
|---------|----------|----------|
| Timings | 1.88 sec | 0.25 sec |
## Reference
opw-3896457
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#165554
Forward-Port-Of: odoo/odoo#164752The spreadsheet feature has been updated to the latest version with performance improvements. These updates optimize how the spreadsheet processes and handles data, making it faster and more efficient for users working with spreadsheets in Odoo.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/1f9074998 [REL] 17.0.22 Task: 0 https://github.com/odoo/o-spreadsheet/commit/0752f9c15 [PERF] tokenizer: avoid useless array map Task: 3920705 https://github.com/odoo/o-spreadsheet/commit/dceb0c47a [PERF] tokenizer: avoid regexp match Task: 3922347
This update automatically activates Tax Deducted at Source (TDS) and Tax Collected at Source (TCS) taxes in the Indian localization module. These are important tax mechanisms in India, and enabling them by default ensures businesses have immediate access to these required tax features without manual configuration.
Original PR description
This commit sets TDS (Tax Deducted at Source) and TCS (Tax Collected at Source) taxes to be active by default. task-3745995
When an IoT box encounters a Python version incompatibility with Odoo, users previously saw a blank 502 error page. This improvement adds a custom error page that displays helpful information to users when this issue occurs, making it easier to diagnose and resolve the problem.
Original PR description
[IMP] point_of_sale: adding a custom page on iot box's nginx server to catch 502 errors Current behavior: When the IoT box's python version is not compatible with the Odoo's one, Odoo server crash and let nginx generate a 502 error with no information for the user After this commit: When the error is triggered, a custom page will be shown to the user `502.html` is the page who will be displayed to the user `default` is the config of nginx, which is responsible to link the html page with error triggered opw-3853501 Forward-Port-Of: odoo/odoo#163137