dodil/erp-brick-purchasing

DODIL ERP brick: purchasing

src/brick_purchasing/migrations/00002_originator_from_payments/up.sql

-- 00002_originator_from_payments: our own account number is no longer stored (PAY-27). The export asks payments for it per file.
-- The two columns stay in the table, unused: DROP COLUMN is disruptive on DataK3 and no brick's up migration does it (additive only).
-- Any number a run kept before this release is blanked. bank_account_id (the run's paying account) is already on pur_payment_run.

UPDATE pur_payment_run SET originator_account = NULL, originator_bic = NULL WHERE originator_account IS NOT NULL OR originator_bic IS NOT NULL;