How to remove "New Quoted Line Item" from Quotes.

Hi All,

I want to remove "New Quoted Line Item" option while adding "Quoted Line Item" option in Quotes. I just want to search available products (Product Catalog) in search option.(SugarCRM 8.2)

quotes product catalogue 

I have provided images for the same.

Thanks.

Parents
  • Hi 

    You need to do the following:

    Copy the file modules/Quotes/clients/base/views/quote-data-grand-totals-header/quote-data-grand-totals-header.php into custom/modules/Quotes/clients/base/views/quote-data-grand-totals-header/quote-data-grand-totals-header.php and remove the elements:

    array(
    'type' => 'button',
    'icon' => 'fa-plus',
    'name' => 'create_qli_button',
    'label' => 'LBL_CREATE_QLI_BUTTON_LABEL',
    'acl_action' => 'create',
    'tooltip' => 'LBL_CREATE_QLI_BUTTON_TOOLTIP',
    ),
    array(
    'type' => 'button',
    'icon' => 'fa-plus',
    'name' => 'create_comment_button',
    'label' => 'LBL_CREATE_COMMENT_BUTTON_LABEL',
    'acl_action' => 'create',
    'tooltip' => 'LBL_CREATE_COMMENT_BUTTON_TOOLTIP',
    ),

    Copy the file modules/ProductBundles/clients/base/views/quote-data-group-header/quote-data-group-header.php into custom/modules/ProductBundles/clients/base/views/quote-data-group-header/quote-data-group-header.php and remove the elements:

    array(
    'type' => 'rowaction',
    'css_class' => 'btn-invisible',
    'icon' => 'fa-plus',
    'name' => 'create_qli_button',
    'label' => 'LBL_CREATE_QLI_BUTTON_LABEL',
    'tooltip' => 'LBL_CREATE_QLI_BUTTON_TOOLTIP',
    'acl_action' => 'create',
    ),
    array(
    'type' => 'rowaction',
    'css_class' => 'btn-invisible',
    'icon' => 'fa-plus',
    'name' => 'create_comment_button',
    'label' => 'LBL_CREATE_COMMENT_BUTTON_LABEL',
    'tooltip' => 'LBL_CREATE_COMMENT_BUTTON_TOOLTIP',
    'acl_action' => 'create',
    ),

     

    You can find additional information here.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • Hi 

    You need to do the following:

    Copy the file modules/Quotes/clients/base/views/quote-data-grand-totals-header/quote-data-grand-totals-header.php into custom/modules/Quotes/clients/base/views/quote-data-grand-totals-header/quote-data-grand-totals-header.php and remove the elements:

    array(
    'type' => 'button',
    'icon' => 'fa-plus',
    'name' => 'create_qli_button',
    'label' => 'LBL_CREATE_QLI_BUTTON_LABEL',
    'acl_action' => 'create',
    'tooltip' => 'LBL_CREATE_QLI_BUTTON_TOOLTIP',
    ),
    array(
    'type' => 'button',
    'icon' => 'fa-plus',
    'name' => 'create_comment_button',
    'label' => 'LBL_CREATE_COMMENT_BUTTON_LABEL',
    'acl_action' => 'create',
    'tooltip' => 'LBL_CREATE_COMMENT_BUTTON_TOOLTIP',
    ),

    Copy the file modules/ProductBundles/clients/base/views/quote-data-group-header/quote-data-group-header.php into custom/modules/ProductBundles/clients/base/views/quote-data-group-header/quote-data-group-header.php and remove the elements:

    array(
    'type' => 'rowaction',
    'css_class' => 'btn-invisible',
    'icon' => 'fa-plus',
    'name' => 'create_qli_button',
    'label' => 'LBL_CREATE_QLI_BUTTON_LABEL',
    'tooltip' => 'LBL_CREATE_QLI_BUTTON_TOOLTIP',
    'acl_action' => 'create',
    ),
    array(
    'type' => 'rowaction',
    'css_class' => 'btn-invisible',
    'icon' => 'fa-plus',
    'name' => 'create_comment_button',
    'label' => 'LBL_CREATE_COMMENT_BUTTON_LABEL',
    'tooltip' => 'LBL_CREATE_COMMENT_BUTTON_TOOLTIP',
    'acl_action' => 'create',
    ),

     

    You can find additional information here.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children