Daily updates from Odoo
Navigate
Branch
Thursday, March 21, 2019
9 changes
New functionality added to Odoo
Helpdesk teams can now handle common after-sales needs directly from a customer ticket, including refunds, product returns, coupons, and repair orders. This reduces handoffs between teams and helps support agents resolve customer issues faster from one place.
Original PR description
Add the possibility to create Refunds, Product Returns, and Coupons from Helpdesk's ticket, depending on the configuration of the Helpdesk Team.
Enhancements to existing features
Repair orders now hide lot or serial number details when the selected product does not need tracking, reducing unnecessary fields and preventing incorrect resets. The update also improves return and refund workflows so related information can be adjusted more reliably by customizations.
Original PR description
Remove unnecessary field when product is not tracked Linked to odoo/enterprise#3515 TaskId: 1909413 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users can now group accounting journals so several can be selected at once in financial reports. This makes report setup quicker and reduces repetitive selection work for finance teams.
Original PR description
It can be useful to be able to select several journals in 1 click in the financial reports Task: 1857934 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
Belgian payroll now lets employers set a voluntary higher withholding tax rate on contracts, helping employees spread tax payments more evenly through the year. Payslips for company cars also show the vehicle license plate next to the related benefit line, making the information clearer for employees.
Original PR description
1/ l10n_be_hr_payroll: add voluntary fiscal rate.
====================================
### Purpose
Sometimes you want to pay more taxes every month instead of paying
a larger amount after.
e.g. Withholding tax in PFI contract is very low every month, but you'll
have to pay more at the end of the year.
### Specification
Allow to voluntarily increase the withholding taxes.
Add a field "Fiscal Voluntary Rate" on the contract and if set,
use this rate instead of the basic amount ONLY if the amount with the new rate is higher.
2/ l10n_be_hr_payroll_fleet: add license plate on payslip
==========================================
Add the license plate number on the payslip, next to the ATN.CAR payslip line.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update makes Odoo's web test tools use the same simulated date across more date-related functions. It improves test reliability by preventing mismatches between fake test dates and real current dates.
Original PR description
Before this commit, when we use `testUtils.patchDate`, the function `Date.now` was not using the fake date for reference. This is an issue with the lib momentjs, which instantiate the current date as follow: ``` new Date(Date.now()) ``` Because of this, we were handling patched date and unpatched moment objects. Task-ID 1902848
Financial report users can now select predefined groups of journals in one click instead of choosing each journal individually. This makes report filtering faster and easier when working with multiple related journals.
Original PR description
It can be useful to be able to select several journals in 1 click in the
financial reports
Task: 1857934Resolved issues and error corrections
This fix adjusts how the web client opens the home menu during automated checks so it waits for the menu to be ready. It helps prevent false test failures caused by timing issues in the enterprise home menu, improving reliability without changing normal user workflows.
Original PR description
Since odoo/enterprise@b830ea7ed2a the enterprise home menu is asynchronous. Because of that, the clientActionCount variable is updated too late and this counter is screwed up, making the test fail. With this commit a setTimeout 0 is used to click on home menu in the next tick and then update the current action count. Also * the test is adapted to stop immediately when an error is catched. * the initial click on home menu is moved into debug manager because the python test launcher user the correct location already. Thanks to @VincentSchippefilt and @aab-odoo
This update improves the title shown when no content is available, making the guidance clearer for users setting up or viewing website-related areas. The change helps reduce confusion in empty screens without altering business workflows.
Original PR description
*: base Revision on https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417 - suggested by @sswapnesh (https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417#commitcomment-32825219) - implemented by @alexkuhn
Code cleanup and technical improvements
Payroll tests were updated to use clearer date and time setup methods instead of harder-to-read parsing code. This is an internal cleanup that makes the test suite easier to maintain without changing payroll behavior for users.
Original PR description
Using `strptime` to parse time is not very readable. This commit clean payroll test by using ORM methods or default datetime constructor instead of `strptime`. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr