[FIX] PAYROLL: Isolate allowances and deductions per company to prevent cross-company visibility and edits
This commit is contained in:
@@ -42,7 +42,7 @@ from payroll.widgets import component_widgets as widget
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AllowanceForm(forms.ModelForm):
|
||||
class AllowanceForm(ModelForm):
|
||||
"""
|
||||
Form for Allowance model
|
||||
"""
|
||||
@@ -182,7 +182,7 @@ class AllowanceForm(forms.ModelForm):
|
||||
return multiple_conditions
|
||||
|
||||
|
||||
class DeductionForm(forms.ModelForm):
|
||||
class DeductionForm(ModelForm):
|
||||
"""
|
||||
Form for Deduction model
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user