Friday, January 19, 2024
4 changes · master
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