Adding audit to Projects module

Hello Developers,

i need to audit (view change log) the "Status" field in the Projects module.

i noticed that the Project module doesn't have an "View Change Log" button at the top of the Detailview, when all other modules including custom ones i created, does have.

i also noticed that the fields in the Project module, in the studio, DOES have the "Audit" checkbox to check.

but where can i watch the "view change log" if i don't have an audit button at the top of the detailview?

if i can't view it, how can i add the "view change log" button to the top of the detailview ( i familiar with the code of Sugarcrm)

Using Sugarcrm Community 6.5.13

Thank you!

sugarcrm_projects_log.png

Parents
  • Hi Asaf Army,

    I hope that you have enabled "Audit" check box for status field in projects module.If not,Enable that in studio->projects->fields->status->Audit(Enable this check box).

    Then you need to add audit true for your project module.For that you can add below to your project module

    /crm//custom/Extension/modules/Project/Ext/Vardefs/(any-file-name}.php

    <?php
      $dictionary['Project']['audited'] = true;
    ?>

    Make a quick repair and rebuild.View change log button will be available for your module.

    Thanks!.

Reply
  • Hi Asaf Army,

    I hope that you have enabled "Audit" check box for status field in projects module.If not,Enable that in studio->projects->fields->status->Audit(Enable this check box).

    Then you need to add audit true for your project module.For that you can add below to your project module

    /crm//custom/Extension/modules/Project/Ext/Vardefs/(any-file-name}.php

    <?php
      $dictionary['Project']['audited'] = true;
    ?>

    Make a quick repair and rebuild.View change log button will be available for your module.

    Thanks!.

Children