From de31bf9693843e5c4c121aff6c74c1a3bad78a55 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 1 May 2006 15:35:38 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20les=20taux=20de=20tva=20de=20l'Australie?= =?UTF-8?q?=20=E9tait=20attribu=E9=20=E0=20l'Allemagne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/data/data.sql | 4 ++-- mysql/migration/2.0.0-2.1.0.sql | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/mysql/data/data.sql b/mysql/data/data.sql index b05baf9a721..dad0feb342f 100644 --- a/mysql/data/data.sql +++ b/mysql/data/data.sql @@ -784,8 +784,8 @@ insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 5 insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 53, 5, '0','0','VAT Rate 0',1); -- AUSTRALIE (id 29) -insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (291, 5, '10','0','VAT Rate 10',1); -insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (292, 5, '0','0','VAT Rate 0',1); +insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (291, 29, '10','0','VAT Rate 10',1); +insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (292, 29, '0','0','VAT Rate 0',1); -- BELGIQUE (id 2) insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 21, 2, '21','0','VAT Rate 21',1); diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index a245fbeb220..801aacc909d 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -137,7 +137,8 @@ alter table llx_propal add column fk_adresse_livraison integer after date_livrai alter table llx_commande add column fk_adresse_livraison integer after date_livraison; - +delete from llx_c_tva where rowid='291' and fk_pays='5'; +delete from llx_c_tva where rowid='292' and fk_pays='5'; insert into llx_c_pays (rowid,code,libelle) values (29, 'AU', 'Australie' ); insert into llx_c_regions (rowid,fk_pays,code_region,cheflieu,tncc,nom) values (2901,29,2901, '',0,'Australia'); insert into llx_c_departements (fk_region, code_departement,cheflieu,tncc,ncc,nom) values (2901,'NSW','',1,'','New South Wales'); @@ -150,8 +151,6 @@ insert into llx_c_departements (fk_region, code_departement,cheflieu,tncc,ncc,no insert into llx_c_departements (fk_region, code_departement,cheflieu,tncc,ncc,nom) values (2901, 'NT','',1,'','Northern Territory'); insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (291, 29, '10','0','VAT Rate 10',1); insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (292, 29, '0','0','VAT Rate 0',1); -delete from llx_c_tva where rowid='291' and fk_pays='5'; -delete from llx_c_tva where rowid='292' and fk_pays='5'; update llx_const set value='neptune' where value='pluton' and name = 'FACTURE_ADDON';