Skip to content
Open
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
112 changes: 112 additions & 0 deletions woocommerce_fusion/fixtures/custom_field.json
Original file line number Diff line number Diff line change
Expand Up @@ -838,5 +838,117 @@
"translatable": 0,
"unique": 0,
"width": "3"
},
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 1,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Item Group",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "wc_catalog_section",
"fieldtype": "Section Break",
"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": "is_group",
"is_system_generated": 0,
"is_virtual": 0,
"label": "WooCommerce catalogue",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2026-05-08 12:00:00.000000",
"module": null,
"name": "Item Group-wc_catalog_section",
"no_copy": 0,
"non_negative": 0,
"options": null,
"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
},
{
"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": "WooCommerce Server document name → WooCommerce product category id. Updated by Utilities → Sync Item Groups to WooCommerce.",
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Item Group",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "wc_item_group_category_map",
"fieldtype": "JSON",
"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": "wc_catalog_section",
"is_system_generated": 0,
"is_virtual": 0,
"label": "WooCommerce category IDs by server",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2026-05-08 12:00:00.000000",
"module": null,
"name": "Item Group-wc_item_group_category_map",
"no_copy": 0,
"non_negative": 0,
"options": null,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 1,
"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
}
]
5 changes: 5 additions & 0 deletions woocommerce_fusion/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
# }
# }
doc_events = {
"Item Group": {
"after_rename": "woocommerce_fusion.item_group_category_sync.item_group_after_rename",
},
"Stock Entry": {
"on_submit": "woocommerce_fusion.tasks.stock_update.update_stock_levels_for_woocommerce_item",
"on_cancel": "woocommerce_fusion.tasks.stock_update.update_stock_levels_for_woocommerce_item",
Expand Down Expand Up @@ -251,6 +254,8 @@
"Address-woocommerce_identifier",
"Item-woocommerce_servers",
"Item-custom_woocommerce_tab",
"Item Group-wc_catalog_section",
"Item Group-wc_item_group_category_map",
),
]
],
Expand Down
Loading
Loading