Thursday, January 4, 2024
8 changes · master
Enhancements to existing features
This change adjusts how Odoo responds when a user tries to load records they may not be allowed to access. Instead of stopping the whole operation with an error, the system can return only the records that were actually readable, reducing disruptions while preserving access checks.
Original PR description
record really read. AccessError are handle by `_fetch_field` now. => Bad idea for X2many accesserror
Notification messages have been redesigned to better match Odoo's newer MILK visual style in both light and dark modes. This improves consistency and makes system messages look more polished across the user interface.
Original PR description
This commit gives a fresh look to notification messages and makes them more consistent with new MILK design task-3469789 enterprise PR (for test adaptation only):…
This commit gives a fresh look to notification messages and makes them more consistent with new MILK design
task-3469789
enterprise PR (for test adaptation only): https://github.com/odoo/enterprise/pull/53590
_To test the notifications, copy paste in console:_
`function test() {console.log('test')};odoo.__WOWL_DEBUG__.root.env.services.notification.add('Hello world', {title:"Notification title", type: "info", buttons: [ {name: "Hey", primary: true, onClick: test}, {name: "Bye bye", primary: false, onClick: test} ] });`
| | Before | After |
|--------|--------|--------|
| Light mode | <img width="325" alt="Screenshot 2023-12-18 at 15 24 35" src="https://github.com/odoo/odoo/assets/110090660/ee644ff7-6ed7-47e3-a3fb-f1c77a47016e"> | <img width="411" alt="Screenshot 2023-12-18 at 15 23 31" src="https://github.com/odoo/odoo/assets/110090660/ac7fbe5d-8b48-4e72-af6b-0d19634e7b38"> |
| Dark mode | <img width="338" alt="Screenshot 2023-12-18 at 15 24 44" src="https://github.com/odoo/odoo/assets/110090660/0c2621a9-fc5b-4150-86ae-feca91fc3685"> | <img width="422" alt="Screenshot 2023-12-18 at 15 23 49" src="https://github.com/odoo/odoo/assets/110090660/b6d02eef-9233-4824-9dc6-6caa901eceb9"> |
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe Indian localization now includes default accounts for deferred accounting in its chart of accounts setup. This helps businesses using the India configuration handle deferred revenue or expense accounting more consistently with less manual setup.
Original PR description
[IMP] l10n_in: added default account for deferred coa task-3418482
Live chat now relies on server-provided conversation information instead of keeping most chat state in browser cookies. This reduces request overhead, improves reliability after page reloads or version changes, and prepares the experience for better synchronization across browser tabs.
Original PR description
*: mail. The live chat embed stores the thread in a cookie and restores it when the page is reloaded. This is really bad: - A lot of data are stored as a cookie and add unnecessary overhead to requests. - Local state is unreliable. - Local state is hard to maintain. - Local state enforces differences between live chat and discuss which leads to highly specific code. - Local state can be outdated when the Odoo version changes. - Cookie size is limited thus cannot hold many data. Now that the live chat uses discuss guest system, we can rely on the result of `init_messaging` to retrieve the channel infos. From now on, only the `id` and the `model` of the live chat thread will be stored. In order to rely as much as possible on the server, some formatters were adapted to provide every required data such as `id/model/fold_state` for temporary threads. This work will allow future improvements such as better cross-tab synchronization (currently perfunctory).
Indian localization now supports debit notes for e-Invoicing and E-Way Bill workflows. This helps businesses issue and process debit notes while staying compliant with Indian electronic tax reporting requirements.
Original PR description
Before This PR -------------------- l10n_in* module didn't support debit note for E-Invoicing and E-Way Bill After this PR ----------------- It adds support for debit note for l10n_in* E-Invoicing and E-Way Bill Related PR- https://github.com/odoo/enterprise/pull/53097 task-3262416 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update refreshes Odoo's spreadsheet engine with several improvements that make formulas, autofill, charts, copy-paste, and exports more reliable. Users should see smoother spreadsheet work, better handling of chart data and formatting, and fewer errors in common spreadsheet actions.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/56dbdc91d [REL] 17.1.0-alpha.6 https://github.com/odoo/o-spreadsheet/commit/186f4ad4c [FIX] evaluation:…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/56dbdc91d [REL] 17.1.0-alpha.6 https://github.com/odoo/o-spreadsheet/commit/186f4ad4c [FIX] evaluation: `evaluateFormula` no longer throws Task: 3576149 https://github.com/odoo/o-spreadsheet/commit/9b51ead12 [FIX] evaluation: track dependencies with R-tree Task: 3646902 https://github.com/odoo/o-spreadsheet/commit/6e3de2691 [IMP] format: add plain text format Task: 3609540 https://github.com/odoo/o-spreadsheet/commit/b00f81149 [IMP] tests: use `setStyle` and `setFormat` helpers Task: 3650109 https://github.com/odoo/o-spreadsheet/commit/257c53f0d [FIX] Autofill: Automatic fill based on spreaded formula cells Task: 3626607 https://github.com/odoo/o-spreadsheet/commit/e8732b561 [IMP] autofill: allow automatic autofill of multiple row cells https://github.com/odoo/o-spreadsheet/commit/7305e4d8f [FIX] FindAndReplacePanel: horizontal scrollbar in sidepanel https://github.com/odoo/o-spreadsheet/commit/84b9b0125 [IMP] PieChart: exclude negative values Task: 3510971 https://github.com/odoo/o-spreadsheet/commit/456419c7d [IMP] clipboard: keep number format when pasting only values https://github.com/odoo/o-spreadsheet/commit/81095c410 [IMP] index: export isMatrix https://github.com/odoo/o-spreadsheet/commit/0b69fd7b2 [FIX] chart: time axis broken for days scale Task: 3619195 https://github.com/odoo/o-spreadsheet/commit/76f4975ff [IMP] scorecard: handling CF font style on chart https://github.com/odoo/o-spreadsheet/commit/58c1e4a2a [FIX] Components: rename private method arguments https://github.com/odoo/o-spreadsheet/commit/89774fd46 [FIX] *: Support metaKey modifier in event handlers Task: 3606161 https://github.com/odoo/o-spreadsheet/commit/0cd2b6fb8 [IMP] demo: don't double crash on launch error https://github.com/odoo/o-spreadsheet/commit/265b742c2 [FIX] export: faster border and style export https://github.com/odoo/o-spreadsheet/commit/a6e074c89 [IMP] tests: pre-compile owl templates
Indian GST reporting now includes debit notes in the relevant report calculations and return period handling. This helps businesses produce more complete and accurate statutory tax reports when debit notes are issued.
Original PR description
Before This PR -------------------- l10n_in_reports* module didn't support debit note for l10n_in_reports* After this PR ----------------- It adds support for debit note for l10n_in_reports* Related PR- https://github.com/odoo/odoo/pull/146922 task-3262416 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
OCR-based invoice processing can now better match taxes when Indian localization uses grouped taxes. This helps reduce manual corrections and improves accuracy when extracting tax details from supplier invoices.
Original PR description
If the Indian localization is installed, we check if the taxes found in the OCR can be found in the children of group taxes