Skip to content
Snippets Groups Projects
Commit a70b77f7 authored by Prasad's avatar Prasad
Browse files

Merge branch '159014965' into 'master'

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

See merge request !1172
parents 53bb2f9b 45fcd282
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