Daily updates from Odoo
Sunday, February 9, 2025
3 changes · saas-17.2
Miscellaneous changes
Forward-Port-Of: odoo/odoo#196826 Forward-Port-Of: odoo/odoo#193528
Original PR description
Forward-Port-Of: odoo/odoo#196826 Forward-Port-Of: odoo/odoo#193528
**Steps to reproduce:** - In Sales app, create a new invoice with one product; - Post the invoice without validating it; - Print invoice without payment from action button. **Issue:** The taxes column's header is "start aligned" as its content and the other columns are "end aligned". **Expected:** Column headers should be harmonized and have a consistent display as per : https://github.com/odoo/odoo/blob/4d9cf2e5103fcdc11be2fd574886afed6f300281/addons/sale/report/ir_actions_report_
Original PR description
**Steps to reproduce:** - In Sales app, create a new invoice with one product; - Post the invoice without validating it; - Print invoice without payment from action button. **Issue:** The taxes column's header is "start aligned" as its content and the other columns are "end aligned". **Expected:** Column headers should be harmonized and have a consistent display as per : https://github.com/odoo/odoo/blob/4d9cf2e5103fcdc11be2fd574886afed6f300281/addons/sale/report/ir_actions_report_templates.xml#L79-L88 **Cause:** The view sets the header alignement on start. opw-4380680 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#193394
## Versions: 17.0+ No fix needed in 16.0 as the field was not computed and this changes with https://github.com/odoo/odoo/commit/7e012dd5441e87ce3c2688f9280381b041b00b0d ## Issue: A payment to be refunded is displayed as already refunded in the wizard for some users. ## Steps to reproduce: Ensure the `Demo` payment provider is enabled in `Test Mode`. Ensure you are logged in as Admin user. - Navigate to the `Invoicing` app: - Create a new customer invoice and confirm it; - Navig
Original PR description
## Versions: 17.0+ No fix needed in 16.0 as the field was not computed and this changes with https://github.com/odoo/odoo/commit/7e012dd5441e87ce3c2688f9280381b041b00b0d ## Issue: A payment to be…
## Versions:
17.0+
No fix needed in 16.0 as the field was not computed and this changes with https://github.com/odoo/odoo/commit/7e012dd5441e87ce3c2688f9280381b041b00b0d
## Issue:
A payment to be refunded is displayed as already refunded in the wizard for some users.
## Steps to reproduce:
Ensure the `Demo` payment provider is enabled in `Test Mode`. Ensure you are logged in as Admin user.
- Navigate to the `Invoicing` app:
- Create a new customer invoice and confirm it;
- Navigate to the Portal using the invoice's `Preview` button:
- Pay the invoice with the `Demo` provider with a `Successful` Payment status;
- Come back to edit mode:
- At the bottom of the form, click the information icon in the totalization section;
- Click the `View` button of the popover;
- Click the `Refund` button and remember the data;
- Copy the URL;
- Log out and log back in as Demo user;
- Paste the URL to come back to the payment:
- Click the `Refund` button: - See the `Refunded Amount` value equal to the `Payment Amount`; - See the `Maximum Refund Allowed` value set to 0;
## Cause:
The maximal refundable amount can't be computed for users who don't have `Payment Provider` model access rights.
## Fix:
Compute the amount in `sudo` mode to bypass user's `Payment Provider` model access rights.
opw-4396372
Forward-Port-Of: odoo/odoo#194871