mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-10-02 06:13:26 +00:00
save_revision did a full put_item overwrite, so a revision omitting line_items/supplier permanently deleted them. save_new_po used a conditional put that silently dropped the PO when an out-of-order cancellation had already created a skeleton row. Switch both to field-level merge update_items: a revision now SETs only the fields it carries, and a new_po backfills data into a pre-existing Cancelled skeleton while preserving the Cancelled status. No email can now delete data established by an earlier one. |
||
|---|---|---|
| .. | ||
| handler.py | ||
| requirements.txt | ||