CoreBOSBB

Full Version: Prevent HelpDesk from updating ServiceContract
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I recently started working with the ServiceContracts module and noticed that when you create a HelpDesk ticket from the ServiceContract, it'll use the time 'spent' to the ticket to update the time spent on the servicecontract. I don't want that, I use Timecontrol to do that. I was hoping this was some workflow on HelpDesk, but it seems it's hidden somewhere.

Do we have a way to control this default behaviour? Or should I create a PR with a Global Variable
that functionality is inherited from vtiger crm:

https://github.com/tsolucio/corebos/blob/master/modules/ServiceContracts/manifest.xml#L543:L552
https://github.com/tsolucio/corebos/blob/master/modules/ServiceContracts/ServiceContractsHandler.php

it is hardcoded with no option to turn off

you could add a global variable to toggle it or a setting screen in service contracts that adds/deletes the events depending on what you need. This would be much better because these evetns are executed on EVERY save of EVERY module.