Skip to content
Snippets Groups Projects
Commit 45fcd282 authored by madhu sr's avatar madhu sr
Browse files

Fixes: Disabling the mass edit for the inventory line item fields...

Fixes: Disabling the mass edit for the inventory line item fields discount_amount and discount_percent
parent 4f41e96e
No related branches found
No related tags found
1 merge request!1172Fixes: Disabling the mass edit for the inventory line item fields...
......@@ -25,4 +25,7 @@ if (defined('VTIGER_UPGRADE')) {
// Resize column width to text (instead of varchar)
$db->pquery("ALTER TABLE vtiger_shorturls MODIFY COLUMN handler_data text");
// Disabling the mass edit for the inventory line item fields.
$db->pquery("UPDATE vtiger_field set masseditable = 0 where columnname in ('discount_percent','discount_amount')
and tablename in ('vtiger_quotes','vtiger_purchaseorder','vtiger_salesorder','vtiger_invoice')", array());
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment