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
6d20f728
Commit
6d20f728
authored
14 years ago
by
Juanjo Menent
Browse files
Options
Downloads
Patches
Plain Diff
Remove old Spanish tax
parent
ba9ace64
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/data/llx_c_tva.sql
+2
-4
2 additions, 4 deletions
htdocs/install/mysql/data/llx_c_tva.sql
htdocs/install/mysql/migration/2.9.0-3.0.0.sql
+6
-0
6 additions, 0 deletions
htdocs/install/mysql/migration/2.9.0-3.0.0.sql
with
8 additions
and
4 deletions
htdocs/install/mysql/data/llx_c_tva.sql
+
2
−
4
View file @
6d20f728
...
...
@@ -160,12 +160,10 @@ INSERT INTO llx_c_tva(rowid, fk_pays, taux, recuperableonly, note, active) VALUE
INSERT
INTO
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
note
,
active
)
VALUES
(
2023
,
202
,
'0'
,
'0'
,
'VAT Rate 0'
,
1
);
-- SPAIN (id 4)
insert
into
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
localtax1
,
note
,
active
)
values
(
41
,
4
,
'1
6
'
,
'0'
,
'4'
,
'VAT standard rate'
,
1
);
insert
into
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
localtax1
,
note
,
active
)
values
(
42
,
4
,
'
7
'
,
'0'
,
'1'
,
'VAT reduced rate'
,
1
);
insert
into
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
localtax1
,
note
,
active
)
values
(
41
,
4
,
'1
8
'
,
'0'
,
'4'
,
'VAT standard rate'
,
1
);
insert
into
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
localtax1
,
note
,
active
)
values
(
42
,
4
,
'
8
'
,
'0'
,
'1'
,
'VAT reduced rate'
,
1
);
insert
into
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
localtax1
,
note
,
active
)
values
(
43
,
4
,
'4'
,
'0'
,
'0.5'
,
'VAT super-reduced rate'
,
1
);
insert
into
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
note
,
active
)
values
(
44
,
4
,
'0'
,
'0'
,
'VAT Rate 0'
,
1
);
insert
into
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
localtax1
,
note
,
active
)
values
(
45
,
4
,
'18'
,
'0'
,
'4'
,
'VAT standard rate from July 2010'
,
1
);
insert
into
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
localtax1
,
note
,
active
)
values
(
46
,
4
,
'8'
,
'0'
,
'1'
,
'VAT reduced rate from July 2010'
,
1
);
-- SWEDEN (id 20)
insert
into
llx_c_tva
(
rowid
,
fk_pays
,
taux
,
recuperableonly
,
note
,
active
)
values
(
201
,
20
,
'25'
,
'0'
,
'VAT standard rate'
,
1
);
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/migration/2.9.0-3.0.0.sql
+
6
−
0
View file @
6d20f728
...
...
@@ -59,3 +59,9 @@ ALTER TABLE llx_propaldet ADD COLUMN fk_parent_line integer NULL AFTER fk_propal
ALTER
TABLE
llx_commandedet
ADD
COLUMN
fk_parent_line
integer
NULL
AFTER
fk_commande
;
ALTER
TABLE
llx_facturedet
ADD
COLUMN
fk_parent_line
integer
NULL
AFTER
fk_facture
;
ALTER
TABLE
llx_facturedet_rec
ADD
COLUMN
fk_parent_line
integer
NULL
AFTER
fk_facture
;
--Remove old Spanish TVA
UPDATE
llx_c_tva
SET
taux
=
'18'
WHERE
rowid
=
41
;
UPDATE
llx_c_tva
SET
taux
=
'8'
WHERE
rowid
=
42
;
DELETE
FROM
llx_c_tva
WHERE
rowid
=
45
;
DELETE
FROM
llx_c_tva
WHERE
rowid
=
46
;
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