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
2b7dcfa5
Commit
2b7dcfa5
authored
7 years ago
by
Laurent Dinclaux
Browse files
Options
Downloads
Patches
Plain Diff
Add missing vat_src_code field to predefined invoices table
parent
d7d212bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/mysql/migration/4.0.0-5.0.0.sql
+1
-0
1 addition, 0 deletions
htdocs/install/mysql/migration/4.0.0-5.0.0.sql
htdocs/install/mysql/tables/llx_facturedet_rec.sql
+1
-0
1 addition, 0 deletions
htdocs/install/mysql/tables/llx_facturedet_rec.sql
with
2 additions
and
0 deletions
htdocs/install/mysql/migration/4.0.0-5.0.0.sql
+
1
−
0
View file @
2b7dcfa5
...
...
@@ -161,6 +161,7 @@ ALTER TABLE llx_c_payment_term change fdm type_cdr tinyint;
ALTER
TABLE
llx_facturedet
ADD
COLUMN
vat_src_code
varchar
(
10
)
DEFAULT
''
AFTER
tva_tx
;
ALTER
TABLE
llx_facturedet_rec
ADD
COLUMN
vat_src_code
varchar
(
10
)
DEFAULT
''
AFTER
tva_tx
;
ALTER
TABLE
llx_facture_fourn_det
ADD
COLUMN
vat_src_code
varchar
(
10
)
DEFAULT
''
AFTER
tva_tx
;
ALTER
TABLE
llx_commandedet
ADD
COLUMN
vat_src_code
varchar
(
10
)
DEFAULT
''
AFTER
tva_tx
;
ALTER
TABLE
llx_commande_fournisseurdet
ADD
COLUMN
vat_src_code
varchar
(
10
)
DEFAULT
''
AFTER
tva_tx
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/tables/llx_facturedet_rec.sql
+
1
−
0
View file @
2b7dcfa5
...
...
@@ -29,6 +29,7 @@ create table llx_facturedet_rec
product_type
integer
DEFAULT
0
,
label
varchar
(
255
)
DEFAULT
NULL
,
description
text
,
vat_src_code
varchar
(
10
)
DEFAULT
''
,
-- Vat code used as source of vat fields. Not strict foreign key here.
tva_tx
double
(
6
,
3
),
-- taux tva
localtax1_tx
double
(
6
,
3
)
DEFAULT
0
,
-- localtax1 rate
localtax1_type
varchar
(
10
)
NULL
,
-- localtax1 type
...
...
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