0

Please, I would like to know how to generate a dynamic image loading in a mail template.

For example, I have an image in an email that if loaded, it calls up a php code that output the stream and stores some information about the customer for tracking purposes.

Here is an example:

<img src='http://domain/trk/index.php?src=img.jpg&email= ${object.email}&id=${...}' />

The problem is, OpenERP does not replace the object.email with its value, it simply leaves the string as it is.

4

1 回答 1

0

这个问题被问了很长时间,但我刚刚遇到了同样的问题,我能够通过更新 ocb-addons 和 ocb-server 的整个分支来解决它。

进入ocb-addons目录并输入:

bzr pull(如果您使用Bazaar)或 git pull(如果您使用Git

然后ocb-server的相同过程。

之后不要忘记重新启动并更新服务。

希望这个答案对任何人都有帮助。问候!

于 2014-11-21T15:05:10.757 回答