Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
a0e3c58d
Commit
a0e3c58d
authored
15 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Add date of last change in invoice tables
parent
6aff1731
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
mysql/migration/2.6.0-2.7.0.sql
+5
-0
5 additions, 0 deletions
mysql/migration/2.6.0-2.7.0.sql
mysql/tables/llx_facture.sql
+3
-2
3 additions, 2 deletions
mysql/tables/llx_facture.sql
mysql/tables/llx_facture_fourn.sql
+2
-1
2 additions, 1 deletion
mysql/tables/llx_facture_fourn.sql
with
10 additions
and
3 deletions
mysql/migration/2.6.0-2.7.0.sql
+
5
−
0
View file @
a0e3c58d
...
...
@@ -14,6 +14,11 @@ ALTER TABLE llx_adherent ADD UNIQUE INDEX uk_adherent_fk_soc (fk_soc);
update
llx_menu_constraint
set
action
=
'$conf->societe->enabled'
where
action
=
'$conf->commercial->enabled'
;
alter
table
llx_facture
add
column
tms
timestamp
after
date_valid
;
alter
table
llx_facture_fourn
add
column
tms
timestamp
after
datef
;
update
llx_facture
set
tms
=
datec
where
tms
<=
0
;
update
llx_facture_fourn
set
tms
=
datec
where
tms
<=
0
;
-- Clean no more required parameters
delete
from
llx_const
where
name
=
'MAIN_MODULE_COMMERCIAL'
;
delete
from
llx_const
where
name
like
'MAIN_MODULE_%_DIR_OUTPUT'
;
...
...
This diff is collapsed.
Click to expand it.
mysql/tables/llx_facture.sql
+
3
−
2
View file @
a0e3c58d
...
...
@@ -33,6 +33,7 @@ create table llx_facture
datec
datetime
,
-- date de creation de la facture
datef
date
,
-- date de la facture
date_valid
date
,
-- date de validation
tms
timestamp
,
-- date creation/modification
paye
smallint
DEFAULT
0
NOT
NULL
,
amount
real
DEFAULT
0
NOT
NULL
,
remise_percent
real
DEFAULT
0
,
-- remise relative
...
...
@@ -52,10 +53,10 @@ create table llx_facture
fk_user_valid
integer
,
-- valideur de la facture
fk_facture_source
integer
,
-- facture origine si facture avoir
fk_projet
integer
,
-- projet auquel est associ
e
la facture
fk_projet
integer
,
-- projet auquel est associ
�e
la facture
fk_cond_reglement
integer
DEFAULT
1
NOT
NULL
,
-- condition de reglement (30 jours, fin de mois ...)
fk_mode_reglement
integer
,
-- mode de reglement (Virement, Pr
lve
ment)
fk_mode_reglement
integer
,
-- mode de reglement (Virement, Pr
�l�veme
nt)
date_lim_reglement
date
,
-- date limite de reglement
note
text
,
...
...
This diff is collapsed.
Click to expand it.
mysql/tables/llx_facture_fourn.sql
+
2
−
1
View file @
a0e3c58d
...
...
@@ -30,6 +30,7 @@ create table llx_facture_fourn
datec
datetime
,
-- date de creation de la facture
datef
date
,
-- date de la facture
tms
timestamp
,
-- date creation/modification
libelle
varchar
(
255
),
paye
smallint
DEFAULT
0
NOT
NULL
,
amount
double
(
24
,
8
)
DEFAULT
0
NOT
NULL
,
...
...
@@ -45,7 +46,7 @@ create table llx_facture_fourn
fk_user_author
integer
,
-- createur de la facture
fk_user_valid
integer
,
-- valideur de la facture
fk_projet
integer
,
-- projet auquel est associ
e
la facture
fk_projet
integer
,
-- projet auquel est associ
�e
la facture
fk_cond_reglement
integer
DEFAULT
1
NOT
NULL
,
-- condition de reglement (30 jours, fin de mois ...)
date_lim_reglement
date
,
-- date limite de reglement
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment