by Izertis

Create documents in docx, xlsx (MS Office Word and Excel), odt, ods (LibreOffice and OpenOffice) and pdf format without MS Office or others plugins installed from any module and subpanel using templates.

Includes a 30 day guarantee
Try it Now

By clicking you consent to share your profile with the developer

#1527 - Contracts & Custom module will not activate Generate document

Closed Installation created by Reisclef 6 years ago

The list of enabled / disabled modules by default, post-installation had two modules (Contracts, and custom module "udef_acquisitions" in the disabled list.

Despite moving them to enabled, and saving, it will not enable the functionality.

I have also tried to add two lines into config_override, and repair and rebuild, but no luck.

$sugar_config['DHA_templates_historical_enabled_modules']['Contracts'] = true; $sugar_config['DHA_templates_historical_enabled_modules']['udef_acquisitions'] = true;

Is there any way to force this to accept these?

  1. richardcoleman member avatar

    Reisclef

    6 years ago

    Forgot to mention I'm using 6.5 Enterprise on a LAMP stack.

  2. dharma member avatar

    Izertis Provider

    6 years ago

    Hi there,

    Please, check if the custom/modules/Contracts/logic_hooks.php file exists and if it contains the next line:

    $hook_array['after_ui_frame'][] = Array(1002, 'Document Templates after_ui_frame Hook', 'custom/modules/Contracts/DHA_DocumentTemplatesHooks.php','DHA_DocumentTemplatesContractsHook_class', 'after_ui_frame_method');

    Maybe, you have writing permission problems in the custom/modules directory.

    Do you have the same problems with other sugar modules like Accounts or Contacts?. We have tried the Contract module and works fine (see file with screenshot of MMR in a Sugar 6.5 Enterprise: http://we.tl/2AOwc3Q3X0)

    Regards,

    Anabel

    • richardcoleman member avatar

      Reisclef

      6 years ago

      Thanks Anabel.

      I already have custom logic hooks in those directories, which might explain why it didn't automatically add them in.

      I added the above code you provided, and it works now.

      THanks!

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