Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Prevent HelpDesk from updating ServiceContract
#1
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
Reply
#2
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.
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)