Friday, November 4, 2022
3 changes · master
Resolved issues and error corrections
Project Managers can now view all relevant tasks in burndown chart reports, even when a project is set to follower-only visibility and they are not following it. This fixes incomplete reporting so managers get an accurate view of project progress.
Original PR description
Before this commit, when the Project Manager wants to see the burndown chart report, he cannot see all the tasks if the project visibility is follower and he do not follow the project. Indeed, he can only see the ones in which he is assigned or follower. This behaviour is not expected for a project manager but only expected for a project user. This commit adds a rule to avoid filtering the records from burndown chart report when the current user is a Project Manager. Related PR: #82634 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Clipboard fields now stay visible even when they have no content, so users can edit them instead of seeing a missing field. This improves form usability and prevents issues when empty text values are handled by the copy button.
Original PR description
**Issue:** When a copy clipboard field is empty, there is no way to edit it because the Field component is not shown. This issue can be reproduced using any type of copy clipboard field: -…
**Issue:** When a copy clipboard field is empty, there is no way to edit it because the Field component is not shown. This issue can be reproduced using any type of copy clipboard field: - CopyClipboardChar - CopyClipboardText - CopyClipboardURL Check the following video for illustration: https://youtu.be/CTzqJRtwqv0 **Solution:** This PR proposes a fix of *always* showing the copy clipboard field (together with the copy button) even if the content is empty. For illustration, check: https://youtu.be/jMM7zn_mFCU **Notable changes:** - The modified tests were using a wrong class name. But since they were asserting the "non-existence" of the copy button, they were working. - We are casting null text field to empty string (just like char field) so that we avoid crash (in dev mode) when passing a "boolean" as 'content' props to the 'CopyButton' component. This is asserted in the augmented test case where we also try to render an empty text field. TASK-ID: 2861388 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Subscription reports now show recurring amounts based only on recurring charges instead of total line amounts. This makes recurring revenue and MRR figures more accurate for business reporting and decision-making.
Original PR description
This PR goal is for the recurring amount shown in report to actually be the amount recurring and not the total amount. On top of that the MRR is now correclty computed based on the recurring subtotal of each line and not their subtotal. task-id : 3013054