[7.0] uncontrolled automatic footer content on email send by OpenERP (portal, mail) with send_get_mail_body method

Bug #1100064 reported by Nicolas JEUDY
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 1

Bug Description

In mail and portal module, OpenERP add non controlled content to email automatically with the send_get_mail_body() method.

I think company using OpenERP should be able to allow or not this kind of intrusive information !

So I add a field in res.compagny model to control what we want to send to customer/supplier.
I update send_get_mail_body() to use this field value. This option is unchecked by default.

Field is use on res.company so, some company in the same database can allow auto adding content on email.

Be careful if you activate this to know what OpenERP is sending for you !
To know it, just search "send_get_mail_body" in code of your installed modules.

See attached patch.

Revision history for this message
Nicolas JEUDY (njeudy) wrote :
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

Careful: you left a pdb.set_trace() in your patch.

Revision history for this message
Nicolas JEUDY (njeudy) wrote : Re: [Bug 1100064] Re: [7.0] uncontrolled automatic footer content on email send by OpenERP (portal, mail) with send_get_mail_body method

Ok i will correct thid
Le 16 janv. 2013 09:35, "Alexandre Fayolle @ camptocamp" <
<email address hidden>> a écrit :

> Careful: you left a pdb.set_trace() in your patch.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1100064
>
> Title:
> [7.0] uncontrolled automatic footer content on email send by OpenERP
> (portal, mail) with send_get_mail_body method
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/1100064/+subscriptions
>

Revision history for this message
Nicolas JEUDY (njeudy) wrote :

New patch without pdb

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Nicolas,

Its not a bug but it's nice improvement. That would be better If you can provide the merge proposal for the same, So our core team will review it.

For now I am setting this as a wishlist and consider as a future roadmaps.

Thanks for the suggestions!

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.