Saturday, January 18, 2025
4 changes · saas-17.2
Miscellaneous changes
[FIX] hr_contract_salary: Custom document field not working Steps: - Create a new file field on employee - Open salary package configurator / personal info - Create a new info with the created field - category: personal documents - display type: document - Open Employee/Abigail - Open its contract - Generate an offer - 17 - Send by email - From the generated template, copy the button link - Open the copied link in another tab - master
Original PR description
[FIX] hr_contract_salary: Custom document field not working
Steps:
- Create a new file field on employee
- Open salary package configurator / personal info
- Create a new info with the created field
- category: personal documents
- display type: document
- Open Employee/Abigail
- Open its contract
- Generate an offer
- 17
- Send by email
- From the generated template, copy the button link
- Open the copied link in another tab
- master
- Just open the Link field
Actual result:
- KeyError for the filename of the new file field
Expected result:
- No error
- Filename field is also used when using a binary field
- File input is well show in the website configurator
opw-4382086
Caused by https://github.com/odoo/enterprise/commit/8e50071471d194bc8b594a79a95fe951cd5055ab & https://github.com/odoo/enterprise/commit/6f40549b98e65f813456442f7df35e9349a7639c
Forward-Port-Of: odoo/enterprise#75868This commit fixes a typo in two mobile form view's tests where "screenLeft" was used instead of "scrollX". Note: this was detected while testing for the new Chrome's headless mode set by default on Chrome 128+. Forward-Port-Of: odoo/odoo#194105
Original PR description
This commit fixes a typo in two mobile form view's tests where "screenLeft" was used instead of "scrollX". Note: this was detected while testing for the new Chrome's headless mode set by default on Chrome 128+. Forward-Port-Of: odoo/odoo#194105
**Issue:** when making a payment using 2 different payment methods (cash and bank), the change gets deducted from the bank payment not the cash payment in the invoice. **Steps To Reproduce:** On POS, for an order totaling $120. - Add a customer and ensure the "Invoice" box is checked. - pay using two payments methods bank 100$ Cash 50$ - the change is $30, everything looks fine on the ticket on the pos. - Notice on the invoice on the db backend the $30 change is inco
Original PR description
**Issue:**
when making a payment using 2 different payment methods (cash and bank), the change gets deducted from the bank payment not the cash payment in the invoice.
**Steps To Reproduce:**
On POS, for an order totaling $120.
- Add a customer and ensure the "Invoice" box is checked.
- pay using two payments methods bank 100$ Cash 50$
- the change is $30, everything looks fine on the ticket on the pos.
- Notice on the invoice on the db backend the $30 change is incorrectly deducted from the bank payment. As a result, the invoice displays: bank : $70 cash: $50
**Soltution:**
- In the `_create_payment_moves` method, ensure that cash payment method creates an `account.move` including the change amount.
opw-4076246
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#194097
Forward-Port-Of: odoo/odoo#187727Since odoo/odoo#191886, "download handlers" is available through "Update" page. As Windows IoT Boxes have no access to this page, the feature was unreachable. This commit fixes this behaviour by allowing access to Update page and disabling Linux specific tools on it. Forward-Port-Of: odoo/odoo#194145
Original PR description
Since odoo/odoo#191886, "download handlers" is available through "Update" page. As Windows IoT Boxes have no access to this page, the feature was unreachable. This commit fixes this behaviour by allowing access to Update page and disabling Linux specific tools on it. Forward-Port-Of: odoo/odoo#194145