[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/28: Task #0001762: TVA France Erreur dans
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/28: Task #0001762: TVA France Erreur dans script SQL |
Date: |
Sat, 30 Nov 2019 07:51:21 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 20601e053f11c11f710d280b5f499a20f602f641
Author: Dany De Bontridder <address@hidden>
Date: Tue Nov 12 21:23:24 2019 +0100
Task #0001762: TVA France
Erreur dans script SQL
---
include/sql/patch/upgrade138.sql | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/sql/patch/upgrade138.sql b/include/sql/patch/upgrade138.sql
index f7e341f..39e5b31 100644
--- a/include/sql/patch/upgrade138.sql
+++ b/include/sql/patch/upgrade138.sql
@@ -1,13 +1,13 @@
begin;
ALTER TABLE public.tva_rate ADD tva_payment_sale char(1) NULL DEFAULT 'O';
update public.tva_rate set tva_payment_sale='O';
-ALTER TABLE public.tva_rate ADD CONSTRAINT tva_rate_sale_check CHECK
(tva_payment in ('O','P'));
+ALTER TABLE public.tva_rate ADD CONSTRAINT tva_rate_sale_check CHECK
(tva_payment_sale in ('O','P'));
comment on column public.tva_rate.tva_payment_sale is 'Check if the VAT on
Sale must be declared when at the date of payment (P) or the date of operation
(O)';
ALTER TABLE public.tva_rate ADD tva_payment_purchase char(1) NULL DEFAULT 'O';
update public.tva_rate set tva_payment_purchase='O';
-ALTER TABLE public.tva_rate ADD CONSTRAINT tva_rate_purchase_check CHECK
(tva_payment in ('O','P'));
+ALTER TABLE public.tva_rate ADD CONSTRAINT tva_rate_purchase_check CHECK
(tva_payment_purchase in ('O','P'));
comment on column public.tva_rate.tva_payment_purchase is 'Check if the VAT on
Purchase must be declared when at the date of payment (P) or the date of
operation (O)';
- [Noalyss-commit] [noalyss] branch master updated (b23f4d4 -> a720b86), Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 01/28: TEST : bug double usage of use, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 04/28: Task #0001762: TVA France Erreur dans script SQL,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 07/28: Acc_Ledger::id == 0 for Main Ledger, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 09/28: remove Obsolete, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 05/28: rename test files:, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 11/28: In Acc_Ledger, the type shouldn't be overrided , create new attr ledger_type, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 19/28: Data_SQL Function prefix turn an object to an array but key can have a prefix, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 06/28: PDFTK Convert in PDF if working from home, see http://wiki.noalyss.eu/doku.php?id=menu:ancgl, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 14/28: Bug PHP : confuse NULL and 0, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 13/28: cosmetid add a button close for the "forget-email-box", Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 15/28: Bug Array to string conversion error, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 16/28: Bug : when e_march is null it is considered as an empty string instead of 0, Dany De Bontridder, 2019/11/30