Commit Graph

2 Commits

Author SHA1 Message Date
Ali 55174552c0 Remove Obligation Pacts from wizard + widen click-to-preview hit area
- Drop obligation_pacts from the Asan-step fetch list, cache doctype,
  preview endpoint, finalize-time loader/purge, and translations.
- v0_1_27 patch cleans up the doctype, its Custom Fields on Company,
  and the orphan Singles row on existing sites.
- Asan/done counters now sit inside full-row anchors with a hover
  highlight — clicking anywhere on the line opens the preview modal,
  no more aiming at the digit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 16:07:21 +00:00
Ali 3137fc3caf Add FIFO/Moving Average picker; add CLAUDE.md
- Company step gains a "Stock Valuation" select (FIFO default, Moving
  Average option). Value is passed through build_setup_args and applied
  to Company.valuation_method in materialize_after_setup — Company-level
  wins over Stock Settings in get_valuation_method, so inventory posts
  use the choice immediately.
- Cannot be changed after first stock entry (helper text + ERPNext
  validation), so this is the only window to set it cleanly.
- CLAUDE.md added to document the architecture for future sessions
  (override trick, two separate auth flows, cache doctype, rollback
  mechanics).
2026-04-24 13:01:18 +00:00