Saturday, January 21, 2023
5 changes · master
Enhancements to existing features
The disallowed expenses category screen was adjusted to remove an invalid setting from an embedded list field. This is a minor cleanup that helps keep the form configuration correct and reduces the chance of interface issues for users managing disallowed expense categories.
Original PR description
removing non valid editable attribute from the field
Miscellaneous changes
[FIX] account: adapt AccountMoveFormCompiler hack The aim of this commit is to get rid of a traceback preventing the user to switch tabs in Invoice and Bill Context: AccountMoveFormCompiler is a hack that allows to save the record automatically when the user switch between tabs. With commit https://github.com/odoo/odoo/commit/264f313012aa99449d1576ae1110252c13755142 the way to call the compiler changed a bit but the hack wasn't. Before the commit: The `this` was leading nowhere in t
Original PR description
[FIX] account: adapt AccountMoveFormCompiler hack The aim of this commit is to get rid of a traceback preventing the user to switch tabs in Invoice and Bill Context: AccountMoveFormCompiler is a hack that allows to save the record automatically when the user switch between tabs. With commit https://github.com/odoo/odoo/commit/264f313012aa99449d1576ae1110252c13755142 the way to call the compiler changed a bit but the hack wasn't. Before the commit: The `this` was leading nowhere in the compiler frame leading to a traceback in OWL. After the commit: `this` is defined and the traceback is gone Community-PR: https://github.com/odoo/odoo/pull/110506 task-id: no task Forward-Port-Of: odoo/odoo#110506
Some formulas in the LU tax report are incorrect. This commit fixes them according to the official rules. task-3142146 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#110565
Original PR description
Some formulas in the LU tax report are incorrect. This commit fixes them according to the official rules. task-3142146 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#110565
`tax_id` on `sale.order.line` is a many2many field. Using ".id" means you cannot import sales orders/quotations because it raises an expected singleton error. opw-3091663 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#110626 Forward-Port-Of: odoo/odoo#109265
Original PR description
`tax_id` on `sale.order.line` is a many2many field. Using ".id" means you cannot import sales orders/quotations because it raises an expected singleton error. opw-3091663 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#110626 Forward-Port-Of: odoo/odoo#109265
The method `plan_hours` with default demo data cannot handle more than ~8000 hours[1]. If we input, for example, 8745 hours we get an error. What's worse, the data is saved to the DB but the record cannot be displayed. Here we add a fallback name when `plan_hours` fails to compute the duration. Issue observed in multiple upgrade requests. [1]: https://github.com/odoo/odoo/blob/6d04ee7b09fa79556e2ed3487fa769164093f468/addons/resource/models/resource.py#L714-L715 Forward-Port-Of: odoo/en
Original PR description
The method `plan_hours` with default demo data cannot handle more than ~8000 hours[1]. If we input, for example, 8745 hours we get an error. What's worse, the data is saved to the DB but the record cannot be displayed. Here we add a fallback name when `plan_hours` fails to compute the duration. Issue observed in multiple upgrade requests. [1]: https://github.com/odoo/odoo/blob/6d04ee7b09fa79556e2ed3487fa769164093f468/addons/resource/models/resource.py#L714-L715 Forward-Port-Of: odoo/enterprise#35993 Forward-Port-Of: odoo/enterprise#35786