Monday, June 24, 2019
6 changes · master
Enhancements to existing features
Warehouse users can now generate and assign multiple serial or lot numbers directly from a stock move using a guided wizard. This reduces manual entry, speeds up inventory processing, and helps keep tracking information consistent across move lines.
Original PR description
Adds a button in stock move form view to generate multiple serial/lot numbers and assigns them to stock move lines. Through a wizard, the user enter the first SN/LN, then, starting with this number, iterates to assign and increment the SN/LN on each move line who doesn't have already one. Task #1832645
Time off hours are now calculated using each employee's actual work calendar instead of an average weekly schedule. This improves accuracy for employees who work different hours on different days, helping leave balances and reporting better reflect real working time.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: The number of hours in time off were computed based on a mean of number of hours in a week. It can engender problem if an employee doesn't work with the same number of hours every day. Desired behavior after PR is merged: Now the number of hours are computed based on employee's calendar and so the real number of hours are used. d=1963918 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Accounting entries can no longer be saved when their journal belongs to one company but the entry lines belong to another. This helps multi-company organizations avoid inconsistent records and potential reporting errors.
Original PR description
…ccount move Purpose of the commit is when multi-company is active and company A is a parent of company B. When a user creates an account move with a Journal of company A and adds account move lines they are created with company A. But now user changes the journal and select journal of different company and save the record system allows having the different company in account move and account move line. After this commit when account move and account move line has different company and tries to save, it will show a warning. task-1970459 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 change stops accounting entries from being saved when the entry and its lines belong to different companies. It helps maintain clean multi-company accounting records and prevents reporting or reconciliation issues caused by inconsistent company data.
Original PR description
Description of the issue/feature this PR addresses: - Related task: https://www.odoo.com/web?#id=1970459&model=project.task&view_type=form&menu_id=4720 - Pad: https://pad.odoo.com/p/r.c539df3e17137ae5437f37ccb44f6b38 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
Payroll worked-day lines can now show rounded full or half days based on each work entry type, while payroll amounts continue to be calculated from hours. Time off hours are also calculated from the employee’s actual work schedule, improving accuracy for employees with uneven daily hours.
Original PR description
In worked days lines, we need to have whole (or half) numbers for days. In work entry type, we can specify the rounding type: up, down, nearest or no rounding. If we select a rounding type, we can specify if we allow half days (for example 3.5 days). On work entry type, we can choose if it's an extra attendance, for example for extra hours. The amount and number of days in work day line will be set to 0. It will not impact other lines of worked days lines. All amount will be computed based on hours. id=1963918
Payroll work entries are now created using the company linked to the employee contract. This helps avoid errors in multi-company setups and ensures Belgian payroll demo payslips use the correct active contract.