Odoo 도움말


16 응답

Yenthe Van Ginneken 벨기에

--Yenthe Van Ginneken--
| 9 9 12
Turnhout, 벨기에
--Yenthe Van Ginneken--

Yenthe Van Ginneken 벨기에
14. 10. 31. 오전 9:00

To get everything working you will need to update some code in the mass_mailing module.
Patch for the new report.url parameter: https://github.com/odoo/odoo/pull/3260.patch
Patch for the mail_mail.py file under mass_mailing/models
and main.py under mass_mailing/controllers:https://github.com/odoo/odoo/pull/3289.patch

You will need to apply those patches. Or alternatively copy the content from these files and import them in your files.
main.py file: http://pastebin.com/zAw64WpH
mail_mail.py file: http://pastebin.com/6g2ddfdZ

After you've applied those patches you can add a new parameter report.url under settings > Parameters > System Parameters with the IP of your Ubuntu VM.
Now you can set a web.base.url, a web.base.url.freeze (to be sure the URL isn't changed by Odoo itself) and a report.url.
Why is this? With this you can define the web.base.url to make the URL for your images and e-mails and use the report.url to make the URL for printing files out in PDF.
Your final settings should look like this:
Now save all your files, edits, ... and restart your Odoo. From now on you can use mass mailing, all images and tracking of opened e-mails will work.

NOTE: At the time of this answer mass_mailing is not supported for multiple databases! This will only work if you have one database or use the --db-filter parameter.
For more information see: https://github.com/odoo/odoo/pull/3289 
Odoo is working on a multi-database fix for tracking but images will not be supported in multi-databases most likely.


8 의견
6 IT, Jean-Marc Dupont France
14. 10. 31. 오전 9:23

Are all these patches available in last published version of Odoo ? Is development team aware of this ?

Oocademy, Yenthe Van Ginneken 벨기에
14. 10. 31. 오전 9:28

They seem to be added to the Github Odoo branche (as you can see here https://github.com/odoo/odoo/blob/8.0/addons/mass_mailing/controllers/main.py). But I don't think they are already into the download link from the Odoo website itself..I'd manually check both files to be sure. I've tested these patches and setup the fixes for this, so yes a developer is aware of this!

Yogesh India
14. 12. 29. 오전 10:30

This doesn't seem to work for me. I see a broken image in inbox in chrome but nothing in firefox. method track_mail_open(self, mail_id, **post) never gets. How should image blank.gif appear in my inbox. is it okay to appear broken image ?

Oocademy, Yenthe Van Ginneken 벨기에
14. 12. 29. 오전 10:59

@Yogesh if you get a broken image preview it means there is still something wrong / you did something wrong. Are you running your Odoo on ONE database and did you follow all my instructions?

Yogesh India
14. 12. 29. 오전 11:09

Yes I read carefully multiple times. Running database with --db-filter option. I can see this is being append with body of mail but can't find where blank.gif exists.

Yogesh India
14. 12. 29. 오전 11:13

sorry it seems kind of spamming but its odoo removes html content and makes blank comment.

Axel Mendoza 쿠바
15. 12. 3. 오전 1:10

Hi @Yenthe, I have an issue on this today, in my installation I could see correctly the percent of opened emails but I cannot see the email address of who open the email because the email field in the statistic is gone after the email is send. Any workaround on this?

Oocademy, Yenthe Van Ginneken 벨기에
15. 12. 3. 오전 1:58

Hi @Axel I guess you could counterpart this by writing the e-mailadres away on the model on the moment it is being sent? By default there doesn't seem to be anything to keep track of the e-mail anyway.

Dhiraj Palekar India
17. 7. 26. 오후 1:08

For Odoo v9 and above:

Odoo generally sets web url parameter to localhost:8069.

Just set your "web.base.url" parameter value to <your ubuntu server address> ex: <>  located at Settings >> Technical >> Parameters >> System Parameters and it should work fine. Hope it helps you. Thanks!

Keep Informed
4 팔로워
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now