Friday, November 24, 2023
4 changes · master
Enhancements to existing features
This update refreshes Odoo's spreadsheet engine with improvements to find and replace, menu display, formula support, and clipboard behavior. Users should see smoother spreadsheet interactions, faster calculations in some cases, and fewer errors when copying, pasting, or deleting spreadsheet content.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/255821ba6 [REL] 17.1.0-alpha.4 https://github.com/odoo/o-spreadsheet/commit/7b499ad42 [REF] F&R: remove `selected`…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/255821ba6 [REL] 17.1.0-alpha.4 https://github.com/odoo/o-spreadsheet/commit/7b499ad42 [REF] F&R: remove `selected` from selected match https://github.com/odoo/o-spreadsheet/commit/1249dcd30 [IMP] FindAndReplace: Add sheet granularity in Find & Replace Task: 3250881 https://github.com/odoo/o-spreadsheet/commit/f9d9e3dea [IMP] Find&ReplaceComponent: remove component state Task: 3250881 https://github.com/odoo/o-spreadsheet/commit/28dcd8aaf [IMP] spreadsheet: focus on side panel Task: 3250881 https://github.com/odoo/o-spreadsheet/commit/4c3505970 [FIX] Spreadsheet: remove `_focusGrid` constraint https://github.com/odoo/o-spreadsheet/commit/14c2e53d9 [FIX] sheet: remove zombie code https://github.com/odoo/o-spreadsheet/commit/bc8e2d215 [FIX] sheet: remove rows faster https://github.com/odoo/o-spreadsheet/commit/9c14cbd1b [FIX] tokenizer: faster current char lookup https://github.com/odoo/o-spreadsheet/commit/620f4343c [FIX] tokenize: replace special chars faster https://github.com/odoo/o-spreadsheet/commit/b73eb62f9 [REF] cell: remove useless getter Task: 3586686 https://github.com/odoo/o-spreadsheet/commit/1db9c0729 [FIX] icons: use correct comment syntax in xml files https://github.com/odoo/o-spreadsheet/commit/3a3d52ac6 [IMP] menu: allow to add a secondary icon to a menu Task: 3487684 https://github.com/odoo/o-spreadsheet/commit/972c38542 [IMP] headers overlay: simplify CSS & use bootstrap Task: 3487684 https://github.com/odoo/o-spreadsheet/commit/d0972d162 [IMP] function: add CELL function Task: 3484040 https://github.com/odoo/o-spreadsheet/commit/ab3f28949 [IMP] evaluation: add __originSheetId to EvalContext Task: 3484040 https://github.com/odoo/o-spreadsheet/commit/d6f4877b1 [IMP] functions: avoid calling function.compute by hand Task: 3484040 https://github.com/odoo/o-spreadsheet/commit/02149b9d6 [FIX] clipboard: fix array formula copy https://github.com/odoo/o-spreadsheet/commit/64c28e5df [FIX] evaluation: faster range matrix https://github.com/odoo/o-spreadsheet/commit/668ddc5f3 [FIX] clipboard: traceback on paste from copy after deleting that sheet https://github.com/odoo/o-spreadsheet/commit/256d82b2c [FIX] evaluation: cache range references values Task: 3588401 https://github.com/odoo/o-spreadsheet/commit/e38f9a2ce [REF] evaluation: group compilation parameters https://github.com/odoo/o-spreadsheet/commit/3abaf9c4e [FIX] lookup: cache string normalization Task: 3588401 https://github.com/odoo/o-spreadsheet/commit/e6bd8f433 [FIX] cells,borders: cancel useless commands Task: 3603259 https://github.com/odoo/o-spreadsheet/commit/37770485f [FIX] cells: faster getter to get cell Task: 3588401 https://github.com/odoo/o-spreadsheet/commit/1193498eb [FIX] model: don't flatten command result
This update removes outdated translation markers and unused formatting flags from Odoo translation files and related code. It keeps translation resources cleaner and easier to maintain without changing business features or user workflows.
Original PR description
Clean up of WEB_TRANSLATION_COMMENT and python-format from the po(t) files. The `python-format` flag specifies the "flavor" of format specifier to use, but our code only uses this format and doesn't check the flag at all, making it useless. The variable WEB_TRANSLATION_COMMENT contains the string "openerp-web" which was used in po/pot files to flag translations to be used on the client side, but has been replaced by JAVASCRIPT_TRANSLATION_COMMENT since odoo#105589. This pull request: - Removes WEB_TRANSLATION_COMMENT from the code - Re-exports .pot files that still contain openerp-web - `msgmerge`s po files that still contain openerp-web - Removes the obsolete entries created by msgmerge - Removes every occurrence of python-format Task-3599456. Enterprise: https://github.com/odoo/enterprise/pull/51147 Design Themes: https://github.com/odoo/design-themes/pull/749
The report configuration button now opens the most relevant setup page depending on whether the user is viewing a report section or a standalone report. Section setup pages also provide direct access to configure individual reports, making report administration easier and faster.
Original PR description
Prior to this commit, the button on the report led to the report form view. However, after implementing a section, we decided that instead of redirecting to the report form, it should now redirect to the section form view. Currently, clicking the 'config' button within a section will direct the user to the section's form view. On the other hand, for a simple report, clicking the button will redirect the user to the report's form view. Additionally, on the section config page, we've included a button in the tree view that lists different reports within the section. This button allows direct access to the config page of a specific report. task: 3595246
Clean up of WEB_TRANSLATION_COMMENT and python-format from the po(t) files. The python-format flag specifies the "flavor" of format specifier to use, but our code only uses this format and doesn't check the flag at all, making it useless. The variable WEB_TRANSLATION_COMMENT contains the string "openerp-web" which was used in po/pot files to flag translations to be used on the client side, but has been replaced by JAVASCRIPT_TRANSLATION_COMMENT since odoo/odoo#105589. This pull request:
Original PR description
Clean up of WEB_TRANSLATION_COMMENT and python-format from the po(t) files. The python-format flag specifies the "flavor" of format specifier to use, but our code only uses this format and doesn't check the flag at all, making it useless. The variable WEB_TRANSLATION_COMMENT contains the string "openerp-web" which was used in po/pot files to flag translations to be used on the client side, but has been replaced by JAVASCRIPT_TRANSLATION_COMMENT since odoo/odoo#105589. This pull request: - Removes WEB_TRANSLATION_COMMENT from the code - Re-exports .pot files that still contain openerp-web - `msgmerge`s po files that still contain openerp-web - Removes the obsolete entries created by msgmerge - Removes every occurrence of python-format Task-3599456. Community: https://github.com/odoo/odoo/pull/142878 Design Themes: https://github.com/odoo/design-themes/pull/749