Friday, January 19, 2024
6 changes
4 changes
Enhancements to existing features
Financial reports can now show tailored warnings more easily, helping users spot issues without extra technical customization. Luxembourg tax XML exports now present validation issues as warnings instead of blocking errors, so users can export while still being informed about items to review.
Original PR description
### [IMP] account_reports: allow adding custom warnings This commit adds a hook `_get_custom_warnings` to add custom warnings in custom report handlers easier without needing to extend the custom_line_postprocessor. Warnings might still be added when generating dynamic lines for performance reasons. ### [IMP] l10n_lu_reports: switch validation errors into warnings Currently, we do a validation when an XML is being exported. If there are several checks that fail one after another, the users have to try to export, face the error, fix, try to export again several times. This commit changes these into warnings. We allow exporting XML despite these warnings, so that users are not blocked that way. task-3556111
Australian payroll accounting now adds the required PAYG withholding tax tags to payslip accounting entries so payroll amounts can feed into government tax reports. Employers can also switch relevant reporting from W2 to W3 on employee contracts without duplicating payroll structures, making compliance setup easier.
Original PR description
The Australian government allows companies to report their payroll activities through a kind of tax report. To fill the tax report lines representing these activities, we need to update the modules in order to add tax tags when creating entries from the payslips. We thought that payroll generated entries could happen more than in one localisation, so we applied the principle to hr_payroll_account. Following this idea, we now have tags that can be set directly on the hr salary rules or hr payslip lines. These tags will be applied on the corresponding lines when creating the journal entry from the payslip. For the Australian payroll, we need to be able to change the W2 tag to W3 by a boolean on the contract, as the default data for salary structures will represent all the use cases possible (we don't want users to duplicate structures just to change the tag). task-2719708
Confirmed appraisals now allow skill lines to be edited directly in the list instead of opening a separate form. This makes updating employee skills during appraisal reviews faster and more convenient for users.
Original PR description
Before this commit: When you want to edit skill on a confirmed appraisal, a form view was displayed to do it. With this commit, you can directly edit the line without form view. task: 3612532
Accounting teams can now turn off automatic account and tax predictions on vendor bill lines from settings. This gives businesses more control when automated suggestions are not desired or do not fit their workflow.
Original PR description
Adds two new fields in the settings to disable predicting accounts and taxes on vendor bill lines. task-3512211
2 changes
Enhancements to existing features
This update makes marketing automation server actions easier to use by replacing complex Python code with a more user-friendly interface. The underlying system has also been improved to be more reliable and maintainable, with new tests added to ensure everything works correctly.
Original PR description
This commit converts server actions from python to more user friendly interface. The commit also improves `_create_records_with_xml_ids`, by removing try/except block and doing same thing using ORM. Commit also adds test, that tests the functionality of `_create_records_with_xml_ids` function. task-3597555
The salary configurator for Belgian HR contracts now displays detailed bike information similar to car details. Employees can now see bike specifications including monthly rental cost, electric assistance availability, color, frame type, and frame size when reviewing bike benefits in their salary packages.
Original PR description
Like we have it for cars, we add the following description to bikes in the salary configurator : Monthly cost : [contract value] (Rent) Electric Assistance : Yes/No Color Bike Frame Type Frame Size task-3640749