Problem with Additional Salary processing when the amount is zero and 'Overwrite Salary Structure Amount' and 'Remove is zero valued' are ON in the component.
Author: anjukarlCreated Sep 30, 2026Updated Sep 30, 2026
Labelsbug
Information about bug
Frappe HR v16.17.1
HR v15 worked fine on this, but there seems to be a problem in v16. If 'Remove if zero valued' is on, the Additional Salary transaction is ignored and amount is taken from the Salary Structure. If 'Remove is zero valued' is off, the amount generated is the negative value of the amount in the Salary Structure.
If this is a bug, a fix, and if it is not, a solution would be greatly appreciated.
Module
Payroll
Version
Frappe version: 16.33.0 Erpnext version: 16.34.1 Frappe HR version: 16.17.1
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: frappe/hrms