Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
629 changes: 0 additions & 629 deletions pos_next/fixtures/custom_field.json

This file was deleted.

15 changes: 0 additions & 15 deletions pos_next/fixtures/print_format.json

This file was deleted.

32 changes: 0 additions & 32 deletions pos_next/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,38 +87,6 @@
# Fixtures
# --------
fixtures = [
{
"dt": "Custom Field",
"filters": [
[
"name",
"in",
[
"Sales Invoice-posa_pos_opening_shift",
"Sales Invoice-posa_is_printed",
"Item-custom_company",
"POS Profile-posa_cash_mode_of_payment",
"POS Profile-posa_allow_delete",
"POS Profile-posa_block_sale_beyond_available_qty",
"Mode of Payment-is_wallet_payment",
"Promotional Scheme-pos_only",
"Pricing Rule-pos_only"
]
]
]
},
{
"dt": "Print Format",
"filters": [
[
"name",
"in",
[
"POS Next Receipt"
]
]
]
},
{
"dt": "Role",
"filters": [
Expand Down
73 changes: 73 additions & 0 deletions pos_next/pos_next/custom/item.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"custom_fields": [
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"creation": "2026-03-01 14:10:08.477134",
"default": null,
"depends_on": null,
"description": "Leave empty for global items available to all companies",
"docstatus": 0,
"dt": "Item",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "custom_company",
"fieldtype": "Link",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"idx": 6,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 1,
"insert_after": "stock_uom",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Company",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2025-10-31 17:41:05.902075",
"modified_by": "Administrator",
"module": "POS Next",
"name": "Item-custom_company",
"no_copy": 0,
"non_negative": 0,
"options": "Company",
"owner": "Administrator",
"permlevel": 0,
"placeholder": null,
"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
}
],
"custom_perms": [],
"doctype": "Item",
"links": [],
"property_setters": [],
"sync_on_migrate": 1
}
73 changes: 73 additions & 0 deletions pos_next/pos_next/custom/mode_of_payment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"custom_fields": [
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"creation": "2026-02-23 11:34:28.256273",
"default": "0",
"depends_on": null,
"description": "Mark this payment method as a wallet payment. When selected, the customer's wallet balance will be shown and used for payment.",
"docstatus": 0,
"dt": "Mode of Payment",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "is_wallet_payment",
"fieldtype": "Check",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"idx": 2,
"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": "enabled",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Is Wallet Payment",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2024-12-17 12:30:00",
"modified_by": "Administrator",
"module": "POS Next",
"name": "Mode of Payment-is_wallet_payment",
"no_copy": 0,
"non_negative": 0,
"options": null,
"owner": "Administrator",
"permlevel": 0,
"placeholder": null,
"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
}
],
"custom_perms": [],
"doctype": "Mode of Payment",
"links": [],
"property_setters": [],
"sync_on_migrate": 1
}
Loading
Loading