Skip to content

Commit

Permalink
[NEW] Remove enterprise upgrade from 'project config settings'
Browse files Browse the repository at this point in the history
  • Loading branch information
mstuttgart committed Mar 10, 2017
1 parent abd2781 commit 0d90a8a
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -7,7 +7,6 @@


class ResConfigSettings(models.TransientModel):

_inherit = 'res.config.settings'

@api.model
Expand Down Expand Up @@ -71,6 +70,12 @@ def fields_view_get(self, view_id=None, view_type='form', toolbar=False,
"@widget='upgrade_boolean']]",
]

elif page_name == 'project settings':
queries += [
"//label[@for='id']",
"//field[@name='module_project_forecast']/ancestor::div[2]",
]

elif page_name == 'mrp settings':
queries += [
"//group[3]",
Expand Down

0 comments on commit 0d90a8a

Please sign in to comment.