Wednesday, September 16, 2020
9 changes · master
Enhancements to existing features
This update makes an existing point of sale return-preparation step actually used when creating refunds. It helps businesses and implementers customize return handling more reliably without changing the standard workflow.
Original PR description
* function _prepare_refund_data(pos.order.line) was never used, now is used 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 update removes an obsolete internal field from the Point of Sale accounting connection. It reduces unnecessary system complexity without changing how users process sales or payments.
Original PR description
Field `pos_statement_id` is not used anywhere and all the usages related to this field has been removed since https://github.com/odoo/odoo/commit/b234e97f87c577a7cd85230c4f42277b39e8c842#diff-5eeb7d6a1a488dff039e5cc3300730e1L495 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 update makes small adjustments to the Point of Sale module to better support enterprise customizations and future extensions. The changes are mostly internal, helping teams adapt POS behavior and screens with lower risk and less rework.
Original PR description
small changes to improve extensibility Task: 1891152
The Time Off user rights screen now handles the Time Off Responsible permission as a debug-mode checkbox instead of showing it inappropriately. Time Off type settings also use clearer wording by replacing "Manager" with "Approver," making responsibilities easier to understand.
Original PR description
**Current behavior before PR:** On the user rights screen, we can't choose responsible. It shouldn't be visible. **Desired behavior after PR is merged:** A "Time off Responsible" rights will be implicited as a checkbox in debug mode. **LINKS** PR https://github.com/odoo/odoo/pull/56807 Task-2314833 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The expense report screen now hides the approve button when an approver is viewing their own expense report. This avoids confusion and prevents users from reaching an error for an action they are not allowed to perform.
Original PR description
PURPOSE user with the 'team approver' or the 'all approver' access right levels cannot approve his own expenses. However, the 'approve' button is still being displayed, which is confusing and misleading, and an ugly user error is thrown when the user tries to click on it SPECIFICATIONS Hide the 'approve' button on expense reports If the user has either the 'team approver' or 'all approver' access right levels and the employee_id set on the report is linked to the current user LINKS PR https://github.com/odoo/odoo/pull/56784 Task-2323982
Pad server and key settings are now stored in a central configuration instead of being tied to individual companies. This simplifies setup and reflects that the pad URL template is no longer company-specific, reducing unnecessary configuration differences.
Original PR description
Before this commit, the pad key and server were saved on the company. It was an historical decision whose reasons no longer applies. The "Root url" called later "URL template" was company dependant but it no longer exists. See https://github.com/odoo/odoo/commit/126c2103bce44c5e630dd898165b3c0a97f0ab1d#diff-c09f5ad1c0f4241293222981a3d26a94R8-R9 taskid: 2326514 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Argentina localization now uses the term "Argentinean" consistently instead of "Argentinian" across labels, descriptions, and translations. This improves wording consistency for users working with Argentina-specific accounting and localization features.
Original PR description
### Task 326 Change all references of "Argentinian" with "Argentinean". -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The wording in Argentine localization features was updated from “Argentinian” to “Argentinean” for consistency across reports, EDI, permissions, and translations. This is a minor terminology improvement that helps keep product language aligned and consistent for users working with Argentina-specific functionality.
Original PR description
### Task 326 Change all references of "Argentinian" with "Argentinean".
The salary contract area now shows a clearer empty-state message with a visual indicator when there is no content to display. This helps users understand what is happening and reduces confusion on an otherwise blank screen.
Original PR description
Before this commit, the helper was not clear and no icon/face was shown. taskid: 2329460