Thursday, June 9, 2022
5 changes · master
Enhancements to existing features
Users can now filter account moves by product, making it easier to find invoices or journal entries tied to specific products. This improves day-to-day accounting searches where product details on move lines are frequently needed.
Original PR description
**Description of the issue/feature this PR addresses:** Searching for the product field of account move lines is something expected to be used frequently. **Current behavior before PR:** Cannot be searched by product in account moves. **Desired behavior after PR is merged:** A search by product can be done in account moves. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Attendance app’s check-in and check-out interface has been visually refreshed and simplified. This improves the employee experience with clearer, more consistent styling while supporting Odoo’s broader interface modernization work.
Original PR description
Part of the overall v16 SCSS optimization/restyle, task-2704984. task-2852148 enterprise: - https://github.com/odoo/enterprise/pull/27333 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Recruitment teams can now choose to display a candidate's CV directly on the application form. This makes it easier for users reviewing applications to see key applicant documents without extra navigation, improving hiring workflow efficiency.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This fixes an issue where extra controls in inventory and manufacturing reports could disappear or fail to appear after the page was rendered. Users will see the expected buttons and search options consistently in the bill of materials and stock traceability reports.
Original PR description
Since 362f6b6d5bc45b4361414334ad8ea662868d81a6, the control panel of an action can be rendered only the first time the dom is built. Any further rerenders won't do anything. The bom report needs to add some buttons and a searchView. Previously, those widgets was added in the set_html _after_ the first rendering of the controlPanel. This report is an extend of the stock traceability which also adds some buttons. In this case the buttons are rendered correctly because they are added _before_ the controlPanel rendering. This commit makes the extra widgets to be rendered in the control panel generated in a new specific method overridable in the bom report file Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where completed signed PDFs could fail to generate when electronic invoicing features were installed. It makes the signing workflow more reliable for users completing documents, reducing interruptions during document finalization.
Original PR description
Before this commit, the PDF rendering would crash with the following traceback due to a change of API. It would only appear when account_edi was installed. ``` File…
Before this commit, the PDF rendering would crash with the following traceback due to a change of API.
It would only appear when account_edi was installed.
```
File "/home/dbo/src/enterprise/sign/models/sign_request.py", line 834, in _edit_and_sign
self._sign(signature)
File "/home/dbo/src/enterprise/sign/models/sign_request.py", line 863, in _sign
sign_request._sign()
File "/home/dbo/src/enterprise/sign/models/sign_request.py", line 365, in _sign
self._send_completed_document()
File "/home/dbo/src/enterprise/sign/models/sign_request.py", line 395, in _send_completed_document
self._generate_completed_document()
File "/home/dbo/src/enterprise/sign/models/sign_request.py", line 588, in _generate_completed_document
pdf_content, __ = report_action.with_user(public_user).sudo()._render_qweb_pdf(self.id)
File "/home/dbo/src/odoo/addons/account/models/ir_actions_report.py", line 42, in _render_qweb_pdf
return super()._render_qweb_pdf(res_ids=res_ids, data=data)
File "/home/dbo/src/odoo/odoo/addons/base/models/ir_actions_report.py", line 775, in _render_qweb_pdf
collected_streams = self._render_qweb_pdf_prepare_streams(data, res_ids=res_ids)
File "/home/dbo/src/odoo/addons/account_edi/models/ir_actions_report.py", line 18, in _render_qweb_pdf_prepare_streams
and len(res_ids) == 1 \
TypeError: object of type 'int' has no len()
```
Note: since https://github.com/odoo-dev/odoo/commit/8bdd8cffd02bf34302582cf8a4c6b15583f10729 this commit is not formally needed
anymore but we decive to keep it to presever consistancy and robustness regarding future changes.
taskid: 2849324