[Vtigercrm-commits] [vtiger-commits] r10925 - /vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 14 18:17:03 EDT 2007


Author: richie
Date: Mon May 14 16:16:58 2007
New Revision: 10925

Log:
* Added the database changes for 5.0.3

Modified:
    vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php

Modified: vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php (original)
+++ vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php Mon May 14 16:16:58 2007
@@ -251,6 +251,20 @@
 //remove http:// from the website in Accounts (In 5.x we will handle this in code instead of db)
 ExecuteQuery("update vtiger_account set website = REPLACE(website,'http://','')");
 
+//Change the invoice_no as Invoice No - fieldlabel in field table
+ExecuteQuery("update vtiger_field set fieldlabel='Invoice No' where fieldlabel='invoice_no' and tabid='23'");
+
+//Change the filter value for Account - Member Of in advance filter
+ExecuteQuery("update vtiger_cvadvfilter set columnname='vtiger_account:parentid:account_id:Accounts_Member_Of:V' where columnname='vtiger_account:accountname:accountname:Accounts_Member_Of:V'");
+
+//Drop the salestax from Quotes/PO/SO/Invoice which is unwanted field
+ExecuteQuery("delete from vtiger_field where fieldname in ('txtTax') and tabid in (20,21,22,23)");
+ExecuteQuery("alter table vtiger_quotes drop column tax");
+ExecuteQuery("alter table vtiger_purchaseorder drop column salestax");
+ExecuteQuery("alter table vtiger_salesorder drop column salestax");
+ExecuteQuery("alter table vtiger_invoice drop column salestax");
+
+
 
 
 ExecuteQuery("CREATE TABLE vtiger_version (id int(11) NOT NULL auto_increment, old_version varchar(30) default NULL, current_version varchar(30) default NULL, PRIMARY KEY  (id) ) ENGINE=InnoDB DEFAULT CHARSET=latin1");





More information about the vtigercrm-commits mailing list