Daily updates from Odoo
Thursday, August 22, 2024
4 changes
2 changes
Enhancements to existing features
Manufacturing shop floor completion now records consumed materials and by-products at the right moment, helping quantities and costs stay aligned with what was actually produced. Barcode manufacturing forms also avoid unnecessary lot or serial number change warnings caused by an incorrect comparison.
Original PR description
That's a splited version of this PR -> https://github.com/odoo/enterprise/pull/60954 ## mrp_workorder: adapt shop floor to match WO behavior Marking components and byproducts as consumed inside the button_finish method, instead of before calling it, will allow updating the value for each product proportionally to qty_producing when the WO is completed. Also add a test to ensure that shop floor "consumed in operation" behavior stays correct. ## stock_barcode_mrp: correctly do lot/SN change check in form view Before this commit, the condition inside saveFormView for checking if the lot name changes was always returning True, because it was compared 2 different types. task: 3810344
Time off types created by country-specific payroll localizations are now linked to the correct country. This helps employees see only relevant leave options for their location, reducing confusion when requesting time off.
Original PR description
Currently, when you try to take a time off, you'll have the list of all time off types, cause there is no field "country" on the leave type. So, if you have "sick leave" in belgium, "sickness" in US and "sick holiday" in India, you'll see the three of them. For every L10N that creates a time off type, this commit assigns the right country to the time off type task-3978260
2 changes
Enhancements to existing features
The IoT module now includes a fallback option for long-polling connections. When long-polling fails, the system can now seamlessly switch to alternative connection methods like WebSocket without displaying error popups to users. This improves the reliability and user experience of IoT device connections by reducing unnecessary error notifications.
Original PR description
If longpolling fails, it displays a fail popup with help messages. We added a `fallback` parameter allowing to prevent this popup from displaying if we want to fallback on other methods (e.g. websocket).
This update adds support for CAR (Código de Anotación de Registro), a Peruvian payment voucher identifier, to the general ledger reports. The change ensures the accounting system properly formats and displays payment voucher information including RUC numbers, document types, series, and folio numbers in compliance with Peruvian tax regulations.
Original PR description
The CAR (Código de Anotación de Registro) is an alphanumeric identifier composed of payment voucher data. It includes: - RUC number of the issuer: 11 numeric digits. - Type of payment voucher: 2 numeric digits. - Payment voucher series: 4 alphanumeric digits. - Payment voucher number: 10 alphanumeric digits.  Previously, support for SIRE reports was added. This change updates the general ledger to ensure compatibility. Adjusted the format of the 'book' field to include zero-padded and truncated document types, series, and folio numbers. Legal reference: https://www.sunat.gob.pe/legislacion/superin/2021/anexo-112-2021.pdf  Resolutions: [Resolución de Superintendencia N.° 112-2021](https://drive.google.com/file/d/19iWgqTeTn5WNIg3RpfAyHtF6xSIFL2rH/view?usp=sharing)