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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
1 deletions
-
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: |
|
|