Daily updates from Odoo
Wednesday, July 17, 2024
4 changes · 17.0
New functionality added to Odoo
This update adds a new wizard dialog in the Point of Sale system that requires users to select a refund reason when processing refunds for invoices or receipts in Peru. This ensures compliance with Peru's electronic invoicing requirements by capturing the specific reason for each refund (such as "Operation Cancellation"). The system now enforces that refunds are processed one invoice at a time, improving accuracy and regulatory compliance.
Original PR description
This PR adds a wizard in the POS to select a `l10n_pe_edi_refund_reason` when refunding an invoice/boleta (e.g. "Anulación de la operación", "Anulación de la operación"...). NB: according to PO feedback, it is not possible to refund several invoices/boletas at once (but it is possible to refund one invoice/boleta with multiple credit notes). task-3801234 https://github.com/odoo/odoo/pull/169597
Enhancements to existing features
Time values in graph views across helpdesk, payroll, planning, and project modules now display in a readable hh:mm format (like 5:30) instead of decimal numbers (like 5.50). This makes it easier for users to understand time-based data in reports and dashboards at a glance.
Original PR description
`* = {'helpdesk', 'hr_payroll', 'planning', 'project_timesheet_forecast', 'project_timesheet_forecast_sale'}` Before this Commit: The Graph view was not adaptable to the use of widgets, leading to…
`* = {'helpdesk', 'hr_payroll', 'planning', 'project_timesheet_forecast',
'project_timesheet_forecast_sale'}`
Before this Commit:
The Graph view was not adaptable to the use of widgets, leading to issues with
the representation of time. Specifically, hours were shown as float values in
the graph view. For example, 5 hours and 30 minutes were displayed as 5.50
instead of the more intuitive hh:mm format. Although widgets like "float_time"
or "timesheet_uom" were available to format these values, they were ineffective
in the Graph view due to the architecture parser's limitations. This caused
confusion for users trying to interpret the time accurately.
After this Commit:
The Graph view is now adaptable to the use of widgets. This means that when a widget is applied to format a field's value, the value will be displayed in the specified format. For example, hours can now be shown in the hh:mm format instead of as a float.
Widget `timesheet_uom` is used at places where the module is related/depended
on `hr_timesheet` otherwise `float_time`.
This improvement also ensures that the formatted values are reflected in the Y-axis (Ticks/Intervals) of the Graph view, enhancing the user's ability to interpret the data accurately.
Community PR: https://github.com/odoo/odoo/pull/164280
Task-3861721Bank connections with interactive providers now have automatic synchronization disabled to prevent repeated connection failures. Users will see a message explaining why their bank sync requires manual refresh instead of automatic updates, reducing support issues and improving user experience.
Original PR description
[IMP] account_online_synchronization: disable auto sync on interactive connection 1- Some providers have bank institutions that are "interactive". In a general way, interactive institution means that users have to refresh their connection with the provider to ensure that they can still have an access to the bank. 2- It's a nightmare for users and for support as the connections keep failing in error. - Disable the automatic synchronization flow on bank sync connections with an interactive providers and a message should be displayed explaining the situation to users. task-id#3887751 odoofin-pr#https://github.com/odoo/odoofin/pull/297
Resolved issues and error corrections
This fix corrects inverted period filter settings in the HR Payroll Dashboard. The "current" period column was incorrectly filtering on previous data, while the "previous" period column had no filter applied. This ensures the dashboard displays the correct financial data for each period.
Original PR description
- Go to Dashboards > Configuration > Dashboards - Open the Human Resources section - Open the payroll dashboard - Open the Period filter configuration panel - the field matching period offset of pivot 3 and 4 are inverted. In the Data sheet, the column named "current" (pivot 3) is filtering on previous, and the one called "previous" (pivot 4) is not filtering on anything. Note that this fix is only active on new databases or if the dashboard is deleted then the module "spreadsheet_dashboard_hr_payroll" is updated. Task: 4056412