Remove window_name on Action Window
issue5611 review22071002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Remove window_name on Action Window
|
||||
* Return the calling keyword in ActionKeyword.get_keywords
|
||||
* Add customizable login process
|
||||
* Allow to customize the substitutions used on sequence
|
||||
|
||||
@@ -688,8 +688,6 @@ class ActionActWindow(ActionMixin, ModelSQL, ModelView):
|
||||
help='Default limit for the list view')
|
||||
action = fields.Many2One('ir.action', 'Action', required=True,
|
||||
ondelete='CASCADE')
|
||||
window_name = fields.Boolean('Window Name',
|
||||
help='Use the action name as window name')
|
||||
search_value = fields.Char('Search Criteria',
|
||||
help='Default search criteria for the list view')
|
||||
pyson_domain = fields.Function(fields.Char('PySON Domain'), 'get_pyson')
|
||||
@@ -731,6 +729,9 @@ class ActionActWindow(ActionMixin, ModelSQL, ModelView):
|
||||
# Migration from 3.0: auto_refresh removed
|
||||
table.drop_column('auto_refresh')
|
||||
|
||||
# Migration from 4.0: window_name removed
|
||||
table.drop_column('window_name')
|
||||
|
||||
@staticmethod
|
||||
def default_type():
|
||||
return 'ir.action.act_window'
|
||||
@@ -743,10 +744,6 @@ class ActionActWindow(ActionMixin, ModelSQL, ModelView):
|
||||
def default_limit():
|
||||
return 0
|
||||
|
||||
@staticmethod
|
||||
def default_window_name():
|
||||
return True
|
||||
|
||||
@staticmethod
|
||||
def default_search_value():
|
||||
return '[]'
|
||||
|
||||
@@ -30,8 +30,6 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="search_value" colspan="3"/>
|
||||
<label name="limit"/>
|
||||
<field name="limit"/>
|
||||
<label name="window_name"/>
|
||||
<field name="window_name"/>
|
||||
</page>
|
||||
<page name="keywords">
|
||||
<field name="keywords" colspan="4"/>
|
||||
|
||||
Reference in New Issue
Block a user