Daily updates from Odoo
Friday, June 14, 2019
4 changes
Resolved issues and error corrections
The packaging setup now includes a missing library needed for translation-related functionality. This helps nightly package testing run correctly and prevents installation issues when the software is distributed.
Original PR description
The use of polib as introduced in commit 632fa04. The nightly packaging system uses Docker to test the packages and they need to be updated when a new library dependency is introduced.
Invoices created from Point of Sale now use the sales team configured for that POS instead of defaulting to the administrator's sales team. This ensures sales reporting and ownership reflect the correct store or team.
Original PR description
Description of the issue/feature this PR addresses: When invoicing from the pos, the sales team is the admin's sales team. Current behavior before PR: Desired behavior after PR is merged: The sales team of the invoice will be the sales team of the pos config. taskid: 1998051 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Duplicating a journal entry now keeps the page breadcrumbs and action panel visible, while still opening the copied entry directly for editing. This prevents users from losing navigation context during a common accounting workflow.
Original PR description
Description of the issue/feature this PR addresses: - Related task: https://www.odoo.com/web?#id=1999208&model=project.task&view_type=form&menu_id=4720 - Pad: https://pad.odoo.com/p/r.b7cec8a54c488cc498b8a8ae18638969
Payslips now calculate employee work hours correctly when work entries extend beyond the payslip period. This helps ensure payroll amounts are based on the proper time range and reduces the risk of incorrect pay calculations.
Original PR description
Compute the right number of hours in payslip (with function _get_work_hours() from contract) in case of work entries exceed the interval of payslip.