[MERGE] [IMP] mail: invite wizard: the option of sending an email when inviting someone

is now checked by default.

bzr revid: tde@openerp.com-20131125111253-926t4d8brmd90el9
This commit is contained in:
Thibault Delavallée 2013-11-25 12:12:53 +01:00
commit 38f3c1c1f2
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,10 @@ class invite_wizard(osv.osv_memory):
help="If checked, the partners will receive an email warning they have been "
"added in the document's followers."),
}
_defaults = {
'send_mail' : True,
}
def add_followers(self, cr, uid, ids, context=None):
for wizard in self.browse(cr, uid, ids, context=context):