Skip to content

Commit

Permalink
Fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
maniamartial committed May 20, 2024
1 parent cbce043 commit fccfbeb
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
58 changes: 58 additions & 0 deletions nl_piece_rate_pay/fixtures/custom_field.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Salary Structure Assignment",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "custom_casual_weekly_pay",
"fieldtype": "Link",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "custom_references",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Casual Weekly Pay",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2024-05-20 22:38:32.182108",
"module": null,
"name": "Salary Structure Assignment-custom_casual_weekly_pay",
"no_copy": 0,
"non_negative": 0,
"options": "Casual Salary Structure Assignment Tool",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"show_dashboard": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
}
]
15 changes: 15 additions & 0 deletions nl_piece_rate_pay/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@
app_email = "[email protected]"
app_license = "AGPL"

fixtures = [
{
"doctype": "Custom Field",
"filters": [
[
"name",
"in",
(
"Salary Structure Assignment-custom_casual_weekly_pay",
),
]
],
},

]
# Includes in <head>
# ------------------

Expand Down

0 comments on commit fccfbeb

Please sign in to comment.