feat(msp): ADN-Supplier-Import-Profile als Fixture + hooks.py Export

Checkt ein vollständiges Profil „ADN Monthly CSV v1" als Fixture ein und
erweitert die fixtures-Konfiguration in hooks.py, damit der Record bei
Bench-Install/-Update idempotent angelegt wird. Damit ist der ADN-Import
nach Installation der MSP-App sofort einsatzbereit, ohne dass das Profil
manuell konfiguriert werden muss.

Die Defaults entsprechen der bisherigen adnconnect-Konfiguration
(itsdave GmbH, MwSt. 19 %, Standard-AGBs, Titelpräfix „Abrechnung
Microsoft Abo ").
This commit is contained in:
David Malinowski
2026-04-14 12:41:58 +02:00
parent 384378b605
commit be54b61b56
2 changed files with 28 additions and 0 deletions
+27
View File
@@ -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"
}
]
+1
View File
@@ -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"]]}},
]