Daily updates from Odoo
Wednesday, November 21, 2018
2 changes
Resolved issues and error corrections
This change makes barcode setup mandatory for Point of Sale configurations. It helps ensure POS sessions have the required barcode rules in place, preventing barcode scans from consistently failing during sales operations.
Original PR description
set barcode_nomenclature_id as required field barcode nomenclature must be required because the pos session needs it to be able to work properly. Without this scanning barcodes will always give an error. task: https://www.odoo.com/web#id=1909350&action=333&active_id=1428&model=project.task&view_type=form&menu_id=4720 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 fixes an issue in Time Off where selected start and end hours could be stored incorrectly because partial-hour values were rounded. The change preserves the exact selected hours, improving accuracy for leave requests and related calculations.
Original PR description
In the following commit (744de4e) we introduced some floats as keys to Selection fields (namely request_hour_from and request_hour_to) This lead to the ORM creating a column of type int4 to store this field which rounded the values. In order to fix that faulty behaviour, we change these keys into strings and then convert them to floats. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr