Friday, May 10, 2024
11 changes · master
Enhancements to existing features
Auto-planning a project task now sets allocated hours dynamically instead of leaving them at zero. This helps project teams get more accurate schedules and workload estimates when using automatic planning.
Original PR description
Previously, selecting the auto-plan option resulted in the system assigning zero allocated hours. With this commit, we've enhanced the functionality to dynamically set allocated hours based on either the task plan date or other relevant factors. task-3853256
Users can now share a Documents workspace directly from the search panel, making collaboration easier without navigating elsewhere. This streamlines workspace sharing in Documents and related spreadsheet document views.
Original PR description
This PR allows the sharing of a workspace from the search panel. Task-3890162
When users delete certain records, related Documents files are now moved to the trash instead of being permanently deleted. This reduces accidental data loss and gives users a chance to recover documents they did not expect to lose.
Original PR description
Purpose ======= When we delete a record, all the related attachments are deleted and so, the related documents too. This might delete some documents when the user doesn't expect it, so now we send the documents to the trash instead. Technical ========= This could have been implemented by overwriting `BaseModel` like we did for standard attachments, but to not impact the performance of the unlink method of all Odoo models, it has been done with a mixin, and we choose for which models we want that behavior. Task-3777950
Miscellaneous changes
- Amounts should be matched to 99999, not 99.999. This was badly converted from previous versions when integrating these checks in the new report framework in 16.0 - The check made for grid 44 mentioned the wrong grid in its label. This had already be fixed in 15.0, but apparently crossed with the 16.0 refactoring, which undid it by mistake (probably because it moved the file) See documentation: https://eservices.minfin.fgov.be/intervat/static/help/FR/regles_de_validation_d_une_declaration.h
Original PR description
- Amounts should be matched to 99999, not 99.999. This was badly converted from previous versions when integrating these checks in the new report framework in 16.0 - The check made for grid 44 mentioned the wrong grid in its label. This had already be fixed in 15.0, but apparently crossed with the 16.0 refactoring, which undid it by mistake (probably because it moved the file) See documentation: https://eservices.minfin.fgov.be/intervat/static/help/FR/regles_de_validation_d_une_declaration.htm Forward-Port-Of: odoo/enterprise#62229 Forward-Port-Of: odoo/enterprise#61376
Steps to reproduce the bug: - Create a storable product “P1”: - BoM: - Component: C1 - Workorders: OP1 and OP2 - Create a Manufacture order to produce one P1 - Confirm the MO - start the OP1 and mark it as done - start the Shop Floor from the "Work Orders" tab Problem: Operation 1 and 2 are visible, instead of only the OP2 opw-3904023 Forward-Port-Of: odoo/enterprise#62206
Original PR description
Steps to reproduce the bug:
- Create a storable product “P1”:
- BoM:
- Component: C1
- Workorders: OP1 and OP2
- Create a Manufacture order to produce one P1
- Confirm the MO
- start the OP1 and mark it as done
- start the Shop Floor from the "Work Orders" tab
Problem:
Operation 1 and 2 are visible, instead of only the OP2
opw-3904023
Forward-Port-Of: odoo/enterprise#62206When a user selects an account, but on connecting it appears there is no consent anymore, we want to show the error to the user. task-3813628 Related to https://github.com/odoo/odoofin/pull/264 Forward-Port-Of: odoo/enterprise#62046 Forward-Port-Of: odoo/enterprise#60283
Original PR description
When a user selects an account, but on connecting it appears there is no consent anymore, we want to show the error to the user. task-3813628 Related to https://github.com/odoo/odoofin/pull/264 Forward-Port-Of: odoo/enterprise#62046 Forward-Port-Of: odoo/enterprise#60283
Steps to reproduce: Configure Sendcloud with a shipping product that provides customizable functionalities, and select `None` as the functionality filter. All of the shipping methods will be filtered out and we get an error message: `There's no shipping method matching all your selected filters for this picking/order.` The issue is that `'None'` is passed as a string in the list of functionalities but it is checked as `None` type. To fix the issue we check if the string exists in the fil
Original PR description
Steps to reproduce: Configure Sendcloud with a shipping product that provides customizable functionalities, and select `None` as the functionality filter. All of the shipping methods will be filtered out and we get an error message: `There's no shipping method matching all your selected filters for this picking/order.` The issue is that `'None'` is passed as a string in the list of functionalities but it is checked as `None` type. To fix the issue we check if the string exists in the filter. opw-3878116 Forward-Port-Of: odoo/enterprise#61360
In saas-16.3 we started to use a dedicted field transaction_details on statements [1] instead of the narration fields from `account.move`. 1. Fix the view so that it displays the right field. 2. Move transaction details to the same place regardless of the reconciled status of the transaction, into the dedicated tab. Previously, this transaction details was displayed in the manual operations tab when the statement was not reconciled and in debug mode. When reconciled it was available in
Original PR description
In saas-16.3 we started to use a dedicted field transaction_details on statements [1] instead of the narration fields from `account.move`. 1. Fix the view so that it displays the right field. 2. Move transaction details to the same place regardless of the reconciled status of the transaction, into the dedicated tab. Previously, this transaction details was displayed in the manual operations tab when the statement was not reconciled and in debug mode. When reconciled it was available in a dedicted tab "Transaction Details" (no need to be in debug). [1] https://github.com/odoo/odoofin/blob/17.0/odoofin_proxy/models/odoofin_proxy.py#L315 task-id: 3888162 Forward-Port-Of: odoo/enterprise#61683 Forward-Port-Of: odoo/enterprise#61316
This commit adapt test case according to changes in community branch. opw-3853815 Forward-Port-Of: odoo/enterprise#62028
Original PR description
This commit adapt test case according to changes in community branch. opw-3853815 Forward-Port-Of: odoo/enterprise#62028
part of task-3818666 Forward-Port-Of: odoo/enterprise#62033
Original PR description
part of task-3818666 Forward-Port-Of: odoo/enterprise#62033
part of task-3818666 Forward-Port-Of: odoo/enterprise#62027
Original PR description
part of task-3818666 Forward-Port-Of: odoo/enterprise#62027