[IMP] Improved the code in sps_crm, sps_sale and sps_product.