File tree 2 files changed +11
-4
lines changed
mail_optional_follower_notification
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 6
6
"author" : "ACSONE SA/NV," "Odoo Community Association (OCA)" ,
7
7
"website" : "https://github.com/OCA/mail" ,
8
8
"category" : "Social Network" ,
9
- "version" : "17 .0.1.1 .0" ,
9
+ "version" : "18 .0.1.0 .0" ,
10
10
"license" : "AGPL-3" ,
11
11
"depends" : ["mail" ],
12
12
"data" : [
Original file line number Diff line number Diff line change 4
4
<field name =" model" >mail.compose.message</field >
5
5
<field name =" inherit_id" ref =" mail.email_compose_message_wizard_form" />
6
6
<field name =" arch" type =" xml" >
7
- <xpath expr =" //span [@name='document_followers_text ']" position =" before " >
7
+ <xpath expr =" //field [@name='email_from ']" position =" after " >
8
8
<field
9
9
name =" notify_followers"
10
10
invisible =" composition_mode == 'mass_mail'"
11
11
/>
12
- </xpath >
13
- <xpath expr =" //span[@name='document_followers_text']" position =" after" >
14
12
<span
15
13
name =" no_followers_text"
14
+ colspan =" 2"
16
15
invisible =" notify_followers"
17
16
style =" color: red;"
18
17
> - Warning : Followers will not be notified but they can access the notification directly from the document (if they are allowed to)</span >
19
18
</xpath >
19
+ <xpath
20
+ expr =" //widget[@name='mail_composer_recipient_list']"
21
+ position =" attributes"
22
+ >
23
+ <attribute
24
+ name =" invisible"
25
+ >not model or composition_mode == 'mass_mail' or not notify_followers</attribute >
26
+ </xpath >
20
27
</field >
21
28
</record >
22
29
</odoo >
You can’t perform that action at this time.
0 commit comments