Commit Graph
6 Commits
Author SHA1 Message Date
David Malinowski b399b6f37d feat(msp): Supply Subscription data model + Supplier Import scaffolding
Führt ein lieferantenagnostisches Lizenzmodell ein, das den Weg für den
künftigen Ersatz der adnconnect-App ebnet:

- Supply Subscription: Golden Record pro Subscription-Lifecycle, unique
  über die externe Vendor-Subscription-ID (z. B. Microsoft Subscription-ID).
  Denormalisierte Felder current_period_end, qty_current, last_event_date
  werden aus den Events gepflegt.
- Supply Subscription Event: Eine Episode pro Abrechnungszeitraum, mit
  Rück-Links auf Sales Invoice, Delivery Note, Purchase Invoice und
  Supplier Import Line.
- Supplier Import Profile / Run / Line: Modulares Import-Framework, in dem
  pro Lieferant (ADN, künftig ALSO/Ingram/…) ein Profil mit parser_key +
  Defaults konfigurierbar ist. Ein Run bündelt einen konkreten Import
  inklusive Kanonik-Zeilen und Statistiken.
- Custom Field „supply_subscription" auf Sales Invoice Item und Delivery
  Note Item — das ist das einzige Standard-ERPNext-Feld, das unabhängig
  vom Lieferanten hinzukommt. Alle weiteren Attribute werden über den
  Link erreichbar.

Die Importer-Logik liegt separat (nächster Commit).
2026-04-14 12:41:14 +02:00
David MalinowskiandClaude Opus 4.6 b014ed596b feat: add Git fields on IT Object, Contact custom fields, translations
- IT Object: git_remote_url, git_branch, git_path_on_host (visible
  only when type = Git Repository)
- Contact custom fields: teams_user_id, is_external_contractor,
  contractor_for (via fixtures)
- Remove x509_certificate hooks from hooks.py (moved to DocType controller)
- Add Custom Field fixture export filter to hooks.py
- German translations (de.csv) for all new DocTypes and fields

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 21:05:58 +02:00
David MalinowskiandClaude Opus 4.6 382be5fa33 feat: add Worklog Mapping DocType
- Maps work tracker projects, local directories, chat participants
  to customers for automated work time attribution
- Fields: customer, source_type, pattern (glob), employee, note

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 21:05:58 +02:00
David MalinowskiandClaude Opus 4.6 549963affd feat: replace x509_certificate with SSL Certificate DocType
- Rename x509_certificate → SSL Certificate (DocType, table, files)
- Rename child tables to SSL Certificate Domain/Installation
- ZIP import: extracts .crt.pem, .key.pem, .ca.pem, .csr.pem
- Auto-parse: CN, issuer, SANs, validity, wildcard, cert type
- Private key stored encrypted (Password field)
- Download buttons: cert, key, fullchain, cert+key, CA, CSR
- Copy-to-clipboard with HTTP fallback
- Certificate details as HTML table
- Key verification (signature check) and CA chain validation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 21:05:58 +02:00
David MalinowskiandClaude Opus 4.6 7f5f7a5236 feat: add IT Domain DocType with import wizard and enrichment
- New DocType IT Domain for centralized domain management
- Hetzner CSV import (domains + handles with registrant data)
- DomainReselling.de API import (live domain + contact fetch)
- DNS/HTTP/SSL enrichment (IP, MX, website title, SSL info)
- Customer suggestion engine (handle, registrant, title, domain matching)
- Interactive assignment dialog with bulk-assign
- Colored badges for DNS hosting and MX routing in list view
- German translations

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 21:05:58 +02:00
David MalinowskiandClaude Opus 4.6 4bf40ff70a fix: apply_ohne_berechnung sets values directly to avoid async recalculation conflicts
frappe.model.set_value in a loop triggered ERPNext pricing recalculation per item,
causing values to be overwritten. Now sets values on locals objects directly and
triggers a single recalculation at the end.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 14:07:40 +01:00