mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-24 18:31:29 +01:00
Merge pull request #11396 from ATM-Consulting/New_retained_warranty_develop
NEW Management of retained warranty on situation invoices
This commit is contained in:
@@ -286,6 +286,11 @@ DELETE from llx_accounting_account where rowid in (select minid from tmp_llx_acc
|
||||
--update llx_expensereport_det set fk_code_ventilation = maxid WHERE fk_code_ventilation = minid;
|
||||
|
||||
|
||||
ALTER TABLE llx_facture ADD COLUMN retained_warranty real DEFAULT NULL after situation_final;
|
||||
ALTER TABLE llx_facture ADD COLUMN retained_warranty_date_limit date DEFAULT NULL after retained_warranty;
|
||||
ALTER TABLE llx_facture ADD COLUMN retained_warranty_fk_cond_reglement integer DEFAULT NULL after retained_warranty_date_limit;
|
||||
|
||||
|
||||
ALTER TABLE llx_accounting_account DROP INDEX uk_accounting_account;
|
||||
ALTER TABLE llx_accounting_account ADD UNIQUE INDEX uk_accounting_account (account_number, entity, fk_pcg_version);
|
||||
|
||||
|
||||
@@ -88,6 +88,10 @@ create table llx_facture
|
||||
situation_counter smallint, -- situation counter
|
||||
situation_final smallint, -- is the situation final ?
|
||||
|
||||
retained_warranty real DEFAULT NULL, -- % of retained warranty
|
||||
retained_warranty_date_limit date DEFAULT NULL,
|
||||
retained_warranty_fk_cond_reglement integer DEFAULT NULL, -- payment condition of retained warranty
|
||||
|
||||
import_key varchar(14),
|
||||
extraparams varchar(255), -- for other parameters with json format
|
||||
|
||||
|
||||
Reference in New Issue
Block a user