From e620329121796b3b02426fde92e4bc9aa00fbd39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 14 Apr 2010 00:05:23 +0200 Subject: [PATCH] Add missing 'add_remove' attribute to view attributes --- tryton/gui/window/view_form/view/form_gtk/parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/view/form_gtk/parser.py b/tryton/gui/window/view_form/view/form_gtk/parser.py index ff8dd143ce..7e0df865b7 100644 --- a/tryton/gui/window/view_form/view/form_gtk/parser.py +++ b/tryton/gui/window/view_form/view/form_gtk/parser.py @@ -517,7 +517,8 @@ class ParserForm(ParserInterface): container.empty_add(int(attrs.get('colspan', 1))) continue for attr_name in ('relation', 'domain', 'selection', - 'relation_field', 'string', 'views', 'invisible'): + 'relation_field', 'string', 'views', 'invisible', + 'add_remove'): if attr_name in fields[name].attrs and \ not attr_name in attrs: attrs[attr_name] = fields[name].attrs[attr_name]