diff --git a/CHANGELOG b/CHANGELOG index 9b4edc16c8..0cba1ae892 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/trytond/ir/action.py b/trytond/ir/action.py index 275fde50a5..9bfb28272c 100644 --- a/trytond/ir/action.py +++ b/trytond/ir/action.py @@ -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 '[]' diff --git a/trytond/ir/view/action_act_window_form.xml b/trytond/ir/view/action_act_window_form.xml index 36d112d78f..2a5a33e4cb 100644 --- a/trytond/ir/view/action_act_window_form.xml +++ b/trytond/ir/view/action_act_window_form.xml @@ -30,8 +30,6 @@ this repository contains the full copyright notices and license terms. -->