Daily updates from Odoo
Wednesday, June 26, 2019
12 changes · master
New functionality added to Odoo
Employees can now mark expense sheets to be reimbursed through their next payslip. When payroll is prepared, those eligible expenses are automatically included, with the option to remove them so they roll over to a future payslip.
Original PR description
We can indicate in expense sheet that we want to reimburse it in next payslip. When we create a new payslip, it will automatically be added. If we want, we can remove a reimboursement of a payslip, and it will be added in the next one. id=1967791
Enhancements to existing features
This update adds a new Expense settings option to enable the payroll-related expense integration more easily. It also improves demo data so expense validation can be tested without extra accounting setup.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: id=1967791 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Inventory adjustments can now start with counted quantities set to zero instead of prefilled stock values, making it easier for teams to scan and enter actual counts from scratch. Inventory lines can also be filtered or grouped by product category, helping users organize and review counts more efficiently.
Original PR description
Add an Inventory Adjustment field `prefill_counted_quantity`. True by default, when it's disabled, the inventory will generate when inventory lines with 0 as value for `product_qty` field when started. The purpose is to make simpler the use of barcode scanner to do the inventory adjustment. Task #2026952
Users can now enlarge small profile or related images directly from forms and cards. This makes employee and contact photos easier to view without changing page layouts, using the same zoom experience already available for eCommerce product images.
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
This update displays the company associated with records in many list views, making it easier for users working across multiple companies to see which company each item belongs to. It supports clearer day-to-day navigation and reduces confusion in multi-company setups.
Original PR description
Pad:https://pad.odoo.com/p/r.c0a23fafca9b57ddfda417f65094bb14 Task:https://www.odoo.com/web#id=1997637&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720
Employees now see how many hours they have been checked in for the current day when they are about to check out. This makes it easier to verify working time at a glance, including for employees working in time zones outside UTC.
Original PR description
Purpose ====== When an empoyee wants to check out, he does not know the number of hours he worked today. Specification ========== In the check out view, display how many hours the employee was checked in today. It should work even if the employee is in another timezone than UTC. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Payroll teams can now use a dedicated wizard to index employee contracts, making contract updates easier to manage. This helps streamline payroll preparation and supports country-specific handling such as Belgian payroll requirements.
Several business list views now show the company linked to each record. This helps users working with multiple companies quickly identify which company a record belongs to and avoid confusion during daily operations.
Original PR description
Pad:https://pad.odoo.com/p/r.c0a23fafca9b57ddfda417f65094bb14 Task:https://www.odoo.com/web#id=1997637&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720
Belgian payroll support has been updated to handle PFI salary structures for retroactive payslips and to apply a missing deduction for small salary bonuses. Payroll tests were also adjusted to better cover scenarios such as employees with multiple cars, improving reliability of Belgian payroll processing.
The Sign app now guides users more directly to the document preview after sending or selecting a template, reducing unnecessary navigation. The direct signing flow is also clearer, with the recipient prefilled as the current user and updated wording for key actions.
Original PR description
-After the "Send" dialog, you have to jump on the preview, not on the signature request form unless it's a debug mode. -When "Sign Directly", prefill the "Sent To" field in the dialog by the current user/ -When clicking on a card from templates (and not on a button of this card), it should go to the preview(edition of fields) of the document. -Moved Document notebook in technical features. -Renamed "Edit" into "Properties" Task Link: https://www.odoo.com/web?#id=1935510&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link: https://pad.odoo.com/p/r.8980774e94f2788de982538aa0fa00d6
Payroll setup data is adjusted so the default “Employee” structure type is only included with demo data rather than every installation. Employee contracts now choose working schedules from the structure type when available, otherwise falling back to the company default, helping keep real payroll setups cleaner and more consistent.
Original PR description
Move "Employee" structure type from data to demo data. In contract, by default, select resource calendar from structure type. If there aren't structure type, select default company resource calendar id=1959259
Resolved issues and error corrections
This fixes error handling for receipt printer communication on the IoT Box. If a printer connection fails, Odoo now avoids a secondary crash and keeps the local instance more stable for point-of-sale operations.
Original PR description
Two different problems on the box and resulted in the crash of the Odoo instance running on the IoT Box: When `usblp` had troubles communicating with a printer, a NoDeviceError was raised. The `printer` variable was still set from the last time the loop was processed, so we tried to close it, resulting in an error. The code handling generic execptions was broken. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr