Skip to content

Commit

Permalink
fix: custom field for Employee
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Jun 24, 2022
1 parent d91e484 commit fd269b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion erpnext_germany/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,19 +280,22 @@ def get_register_fields(insert_after: str):
"fieldtype": "Data",
"fieldname": "tax_id",
"label": "Tax ID",
"insert_after": "employee_taxes",
"insert_after": "employee_taxes_sb",
"translatable": 0,
},
{
"fieldtype": "Data",
"fieldname": "tax_office",
"label": "Tax Office",
"insert_after": "tax_id",
"translatable": 0,
},
{
"fieldtype": "Data",
"fieldname": "tax_office_number",
"label": "Tax Office Number",
"insert_after": "tax_office",
"translatable": 0,
},
{
"fieldtype": "Column Break",
Expand All @@ -305,6 +308,7 @@ def get_register_fields(insert_after: str):
"label": "Tax Bracket",
"options": "\nI\nII\nIII\nIV\nV\nVI",
"insert_after": "employee_taxes_cb",
"translatable": 0,
},
{
"fieldtype": "Int",
Expand Down Expand Up @@ -338,6 +342,7 @@ def get_register_fields(insert_after: str):
"label": "Highest School Qualification",
"options": "\nOhne Schulabschluss\nHaupt-/Volksschulabschluss\nMitttlere Reife\n(Fach-)Abitur",
"insert_after": "education",
"translatable": 0,
},
],
}
Expand Down
2 changes: 1 addition & 1 deletion erpnext_germany/patches.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
execute:from erpnext_germany.install import after_install; after_install() # 5
execute:from erpnext_germany.install import after_install; after_install() # 7

0 comments on commit fd269b3

Please sign in to comment.