diff --git a/msp/fixtures/supplier_import_profile.json b/msp/fixtures/supplier_import_profile.json new file mode 100644 index 0000000..31ed678 --- /dev/null +++ b/msp/fixtures/supplier_import_profile.json @@ -0,0 +1,27 @@ +[ + { + "default_company": "itsdave GmbH", + "default_cost_center": null, + "default_output_mode": "Sales Invoice", + "default_payment_terms_template": null, + "default_taxes_and_charges": "MwSt. 19%", + "default_tc_name": "itsdave Standard AGBs", + "default_warehouse": "SST - IG", + "docstatus": 0, + "doctype": "Supplier Import Profile", + "enabled": 1, + "fallback_customer": null, + "file_type": "CSV", + "intro_text_credit_note": null, + "intro_text_invoice": null, + "list_price_discount_pct": 0.0, + "modified": "2026-04-14 11:47:29.503782", + "name": "ADN Monthly CSV v1", + "parser_key": "adn_monthly_csv_v1", + "profile_name": "ADN Monthly CSV v1", + "supplier": "SUPP-00887", + "title_prefix": "Abrechnung Microsoft Abo ", + "title_prefix_credit_note": "Gutschrift Microsoft Abo ", + "vendor": "Microsoft" + } +] \ No newline at end of file diff --git a/msp/hooks.py b/msp/hooks.py index 7c33d6b..db8804d 100644 --- a/msp/hooks.py +++ b/msp/hooks.py @@ -164,4 +164,5 @@ override_doctype_class = { fixtures = [ {"doctype": "Print Format", "filters": {"name": "Standard IT Landscape Documentation"}}, {"doctype": "Custom Field", "filters": {"module": "MSP"}}, + {"doctype": "Supplier Import Profile", "filters": {"profile_name": ["in", ["ADN Monthly CSV v1"]]}}, ]