Fixes issue 19753: Change in Tax rate name header should modify the translation.
authorIoritz Cia <ioritz.cia@openbravo.com>
Fri, 17 Feb 2012 10:11:59 +0100
changeset 15620 1541313b8949
parent 15619 5c826f295b19
child 15621 05c3f4453733
Fixes issue 19753: Change in Tax rate name header should modify the translation.
src-db/database/model/triggers/C_TAX_TRG.xml
--- a/src-db/database/model/triggers/C_TAX_TRG.xml	Sat Feb 25 22:57:05 2012 +0100
+++ b/src-db/database/model/triggers/C_TAX_TRG.xml	Fri Feb 17 10:11:59 2012 +0100
@@ -144,7 +144,10 @@
   THEN
       UPDATE C_Tax_Trl
         SET IsTranslated='N',
-        Updated=now()
+        Updated=now(),
+        TaxIndicator = :NEW.TaxIndicator,
+        Name = :NEW.Name,
+        Description = :NEW.Description
       WHERE C_Tax_ID=:new.C_Tax_ID;
     END IF;
   END IF;