Copy some field of customer invoices into supplier invoices

This commit is contained in:
Laurent Destailleur
2026-01-11 19:12:19 +01:00
parent 94c75d399d
commit 9403eb5aab
2 changed files with 9 additions and 0 deletions

View File

@@ -90,6 +90,11 @@ ALTER TABLE llx_categorie_mo ADD CONSTRAINT fk_categorie_mo_fk_mo_rowid FOREIGN
ALTER TABLE llx_facture ADD COLUMN thirdparty_payment_id integer NULL;
ALTER TABLE llx_facture_fourn ADD COLUMN thirdparty_payment_id integer NULL;
ALTER TABLE llx_facture_fourn ADD COLUMN payment_reference varchar(25);
ALTER TABLE llx_facture_fourn ADD COLUMN dispute_status integer DEFAULT 0;
-- end of migration

View File

@@ -75,6 +75,10 @@ create table llx_facture_fourn
fk_mode_reglement integer, -- mode de reglement (CHQ, VIR, ...)
date_lim_reglement date, -- date limite de reglement
payment_reference varchar(25), -- SEPA and any other national or custom payment id (use case for this field is not clear)
thirdparty_payment_id integer NULL, -- ID of thirdparty payment mode in llx_societe_rib
dispute_status integer DEFAULT 0, -- set to 1 if a dispute on a payment of invoice is open
note_private text,
note_public text,
fk_incoterms integer, -- for incoterms