File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed
Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 44 "name" : "Website Whatsapp" ,
55 "summary" : "Whatsapp integration" ,
66 "category" : "Website" ,
7- "version" : "16 .0.1.0.1 " ,
7+ "version" : "18 .0.1.0.0 " ,
88 "website" : "https://github.com/OCA/website" ,
99 "author" : "Studio73, Odoo Community Association (OCA)" ,
1010 "maintainers" : ["ioans73" ],
Original file line number Diff line number Diff line change 44 <field name =" model" >res.config.settings</field >
55 <field name =" inherit_id" ref =" website.res_config_settings_view_form" />
66 <field name =" arch" type =" xml" >
7- <xpath expr =" //div[@id='website_email_marketing']" position =" inside" >
8- <div
9- class =" col-12 col-lg-6 o_setting_box"
10- id =" website_whatsapp_setting"
11- >
12- <div class =" o_setting_left_pane" >
7+ <xpath expr =" //block[@id='website_email_marketing']" position =" inside" >
8+ <setting class =" col-12 col-lg-6" id =" website_whatsapp_setting" >
9+ <div >
1310 <field name =" whatsapp_enabled" />
1411 </div >
15- <div class = " o_setting_right_pane " >
12+ <div >
1613 <label for =" whatsapp_enabled" />
1714 <span
1815 class =" fa fa-lg fa-globe"
1916 title =" Values set here are website-specific."
2017 groups =" website.group_multi_website"
2118 />
22- <div
23- class =" content-group"
24- attrs =" {'invisible': [('whatsapp_enabled', '=', False)]}"
25- >
19+ <div class =" content-group" invisible =" not whatsapp_enabled" >
2620 <div class =" text-muted" >
2721 You must add the mobile number with the country prefix
2822 </div >
3327 />
3428 <field
3529 name =" whatsapp_number"
36- attrs = " {'required': [(' whatsapp_enabled', '=', True)]} "
30+ required = " whatsapp_enabled"
3731 />
3832 </div >
3933 <div class =" row" >
5246 </div >
5347 </div >
5448 </div >
55- </div >
49+ </setting >
5650 </xpath >
5751 </field >
5852 </record >
You can’t perform that action at this time.
0 commit comments