2
0
forked from Wavyzz/dolibarr

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:
Laurent Destailleur
2015-04-01 21:00:51 +02:00
parent 8e9c1c4747
commit d8db32a99c
10 changed files with 230 additions and 79 deletions

View File

@@ -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,