Browse Source

Merge pull request #916 from multidadosti-erp/develop-mass-mail-upgrade-button

[FIX] Remove mass mail upgrade button
pull/1084/head
Pedro M. Baeza 7 years ago
committed by GitHub
parent
commit
71b23d8687
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      res_config_settings_enterprise_remove/models/res_config_settings.py

8
res_config_settings_enterprise_remove/models/res_config_settings.py

@ -85,7 +85,13 @@ class ResConfigSettings(models.TransientModel):
queries += [ queries += [
"//label[@for='module_inter_company_rules']", "//label[@for='module_inter_company_rules']",
"//div[@name='inter_company']", "//div[@name='inter_company']",
# "//field[@name='module_project_forecast']/ancestor::div[2]",
]
elif page_name == 'Configure Mass Mailing':
queries += [
"//group[@name='mass_mailing_group']/"
"label[@for='module_mass_mailing_themes']",
"//group[@name='mass_mailing_group']/div",
] ]
for query in queries: for query in queries:

Loading…
Cancel
Save