How to relate any email with custom module data in

2019-08-26 19:01发布

I have created a custom module and also have integrated emails tab in Related list.

Now I want to link any email with any entry from this custom module listing.

When I create(compose) any email and from that compose popup screen I am able to select my custom module option, but when i click on the "search" button to find the entry from listing (to which i want to relate that email), I find no listing for that custom module. However there are few entries available for that custom module.

So the issue is - The custom module listing shows no entries when try to select from compose email window.

Check the screenshots of the issue:

  1. While composing email from : Custom module >> Related tabs >> Emails >> Add Email

While composing email from : **Custom module >> Related tabs >> Emails >> Add Email**

  1. selecting related entity for email- No listing is displaying for my custom module

selecting related entity for email

1条回答
Viruses.
2楼-- · 2019-08-26 19:40

We resolved same issue on SalesOrder module. I have created on custom field email on Salesorder and update data for email field manually in this table also i have add get_email() function in salesorder.php file (copy from lead module).

Compose email from SalesOrder Module

get SalesOrder Module data which click on search button on pick list

Get Customer list from SalesOrder module

After this you can see the send email data in related list grid.

查看更多
登录 后发表回答