mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-24 10:21:32 +01:00
NEW: Introduce option SUPPLIER_ORDER_DOUBLE_APPROVAL to allow 2
approvals to make a supplier order approved. Activating this option introduce a new permission to the second level approval.
This commit is contained in:
@@ -385,6 +385,8 @@ ALTER TABLE llx_commande ADD COLUMN fk_incoterms integer;
|
||||
ALTER TABLE llx_commande ADD COLUMN location_incoterms varchar(255);
|
||||
ALTER TABLE llx_commande_fournisseur ADD COLUMN fk_incoterms integer;
|
||||
ALTER TABLE llx_commande_fournisseur ADD COLUMN location_incoterms varchar(255);
|
||||
ALTER TABLE llx_commande_fournisseur ADD COLUMN date_approve2 datetime after date_approve;
|
||||
ALTER TABLE llx_commande_fournisseur ADD COLUMN fk_user_approve2 integer after fk_user_approve;
|
||||
ALTER TABLE llx_facture ADD COLUMN fk_incoterms integer;
|
||||
ALTER TABLE llx_facture ADD COLUMN location_incoterms varchar(255);
|
||||
ALTER TABLE llx_facture_fourn ADD COLUMN fk_incoterms integer;
|
||||
|
||||
@@ -36,11 +36,13 @@ create table llx_commande_fournisseur
|
||||
date_creation datetime, -- date de creation
|
||||
date_valid datetime, -- date de validation
|
||||
date_approve datetime, -- date de approve
|
||||
date_approve2 datetime, -- date de approve 2 (when double approving is accivated)
|
||||
date_commande date, -- date de la commande
|
||||
fk_user_author integer, -- user making creation
|
||||
fk_user_modif integer, -- user making last change
|
||||
fk_user_valid integer, -- user validating
|
||||
fk_user_approve integer, -- user approving
|
||||
fk_user_approve2 integer, -- user approving 2 (when double approving is accivated)
|
||||
source smallint NOT NULL, -- not used, except by setting this to 42 for orders coming for replenishment and 0 in other case ?
|
||||
fk_statut smallint default 0,
|
||||
amount_ht real default 0,
|
||||
|
||||
Reference in New Issue
Block a user