by T2I Solutions

This package makes Product Line Items and Service Line Items sortable in Contracts, Quotes, and Invoices modules for SuiteCRM.

Cancel at any time!
Free Trial

#4048 - Not working, broke edit functionality

Closed Bug? created by agrima 2 years ago

The module broke edit functionality for quotes and invoices when installed on v7.12.2 with the following error:

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method ViewEdit::ViewEdit() in /var/www/suitecrm/custom/modules/AOS_Quotes/views/view.edit.php:48\nStack trace:\n#0 /var/www/suitecrm/include/MVC/View/ViewFactory.php(279): AOS_QuotesViewEdit->AOS_QuotesViewEdit()\n#1 /var/www/suitecrm/include/MVC/View/ViewFactory.php(244): ViewFactory::_buildClass()\n#2 /var/www/suitecrm/include/MVC/View/ViewFactory.php(97): ViewFactory::_buildFromFile()\n#3 /var/www/suitecrm/include/MVC/Controller/SugarController.php(422): ViewFactory::loadView()\n#4 /var/www/suitecrm/include/MVC/Controller/SugarController.php(363): SugarController->processView()\n#5 /var/www/suitecrm/include/MVC/SugarApplication.php(101): SugarController->execute()\n#6 /var/www/suitecrm/index.php(52): SugarApplication->execute()\n#7 {main}\n thrown in /var/www/suitecrm/custom/modu...',

  1. acatterson member avatar

    acatt Verified Purchase

    a year ago

    Hi - did anyone figure out a solution for this?

  2. artjoms.morscakovs member avatar

    T2I Solutions Provider Affiliate

    a year ago

    Hello,

    You need to comment 48 line: parent::ViewEdit(); in 3 files: /custom/AOS_Contracts/views/view.edit.php /custom/AOS_Invoices/views/view.edit.php /custom/AOS_Quotes/views/view.edit.php

    New versions of SuiteCRM does not have this function anymore

    Thanks, Artjoms

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...