← Back to team overview

openerp-community-reviewer team mailing list archive

lp:~savoirfairelinux-openerp/server-env-tools/mass_editing_contact_partner into lp:server-env-tools

 

elhadji.dem@xxxxxxxxxxxxxxxxxxxx has proposed merging lp:~savoirfairelinux-openerp/server-env-tools/mass_editing_contact_partner into lp:server-env-tools.

Requested reviews:
  Server Environment And Tools Core Editors (server-env-tools-core-editors)

For more details, see:
https://code.launchpad.net/~savoirfairelinux-openerp/server-env-tools/mass_editing_contact_partner/+merge/199364

[ADD] add pot and po files in mass_editing_contact_partner
-- 
https://code.launchpad.net/~savoirfairelinux-openerp/server-env-tools/mass_editing_contact_partner/+merge/199364
Your team Server Environment And Tools Core Editors is requested to review the proposed merge of lp:~savoirfairelinux-openerp/server-env-tools/mass_editing_contact_partner into lp:server-env-tools.
=== added directory 'mass_editing/i18n'
=== added file 'mass_editing/i18n/fr.po'
--- mass_editing/i18n/fr.po	1970-01-01 00:00:00 +0000
+++ mass_editing/i18n/fr.po	2013-12-17 22:19:23 +0000
@@ -0,0 +1,133 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# 	* mass_editing
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-12-16 19:02+0000\n"
+"PO-Revision-Date: 2013-12-16 14:07-0500\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+"X-Generator: Poedit 1.5.4\n"
+
+#. module: mass_editing
+#: model:ir.actions.act_window,name:mass_editing.action_mass_object_form
+#: model:ir.ui.menu,name:mass_editing.menu_mass_editing
+#: model:ir.ui.menu,name:mass_editing.menu_mass_object_view
+msgid "Mass Editing"
+msgstr "Edition en masse"
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid ""
+"Display a button in the sidebar of related documents to open a composition "
+"wizard"
+msgstr ""
+"Afficher un bouton dans la barre latérale de documents connexes pour ouvrir "
+"l'assistant de composition"
+
+#. module: mass_editing
+#: model:ir.model,name:mass_editing.model_mass_editing_wizard
+msgid "mass.editing.wizard"
+msgstr "mass.editing.wizard"
+
+#. module: mass_editing
+#: field:mass.object,name:0
+msgid "Name"
+msgstr "Nom"
+
+#. module: mass_editing
+#: code:addons/mass_editing/mass_editing.py:114
+#, python-format
+msgid "Deletion of the action record failed."
+msgstr "Suppression de l'enregistrement de l'action a échoué."
+
+#. module: mass_editing
+#: model:ir.model,name:mass_editing.model_ir_model_fields view:mass.object:0
+#: field:mass.object,field_ids:0
+msgid "Fields"
+msgstr "Champs"
+
+#. module: mass_editing
+#: code:addons/mass_editing/mass_editing.py:80
+#, python-format
+msgid "Mass Editing (%s)"
+msgstr "Edition en masse (%s)"
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid "Object"
+msgstr "Objet"
+
+#. module: mass_editing
+#: model:ir.model,name:mass_editing.model_mass_object
+msgid "mass.object"
+msgstr "mass.object"
+
+#. module: mass_editing
+#: field:mass.object,model_list:0
+msgid "Model List"
+msgstr "Liste de modéle"
+
+#. module: mass_editing
+#: code:addons/mass_editing/mass_editing.py:57 sql_constraint:mass.object:0
+#, python-format
+msgid "Name must be unique!"
+msgstr "Le nom doit être unique!"
+
+#. module: mass_editing
+#: field:mass.object,ref_ir_act_window:0
+msgid "Sidebar Action"
+msgstr "Action barre latérale"
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid "Remove sidebar button"
+msgstr "Retirez le bouton de la barre latérale"
+
+#. module: mass_editing
+#: field:mass.object,ref_ir_value:0
+msgid "Sidebar Button"
+msgstr "Bouton barre latérale"
+
+#. module: mass_editing
+#: field:mass.object,model_id:0
+msgid "Model"
+msgstr "Modèle"
+
+#. module: mass_editing
+#: code:addons/mass_editing/mass_editing.py:114
+#, python-format
+msgid "Warning"
+msgstr "Attention"
+
+#. module: mass_editing
+#: help:mass.object,ref_ir_act_window:0
+msgid ""
+"Sidebar action to make this template available on "
+"records                                                  of the related "
+"document model"
+msgstr ""
+"L'action barre latérale pour faire de ce modèle disponible sur les "
+"enregistrements du modèle de document associé"
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid "Add sidebar button"
+msgstr "Ajouter le bouton de la barre latérale"
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid "Advanced"
+msgstr "Avancé"
+
+#. module: mass_editing
+#: help:mass.object,ref_ir_value:0
+msgid "Sidebar button to open the sidebar action"
+msgstr "Bouton latéral pour ouvrir l'action de la barre latérale"

=== added file 'mass_editing/i18n/mass_editing.pot'
--- mass_editing/i18n/mass_editing.pot	1970-01-01 00:00:00 +0000
+++ mass_editing/i18n/mass_editing.pot	2013-12-17 22:19:23 +0000
@@ -0,0 +1,129 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# 	* mass_editing
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-12-16 19:00+0000\n"
+"PO-Revision-Date: 2013-12-16 14:01-0500\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+"X-Generator: Poedit 1.5.4\n"
+
+#. module: mass_editing
+#: model:ir.actions.act_window,name:mass_editing.action_mass_object_form
+#: model:ir.ui.menu,name:mass_editing.menu_mass_editing
+#: model:ir.ui.menu,name:mass_editing.menu_mass_object_view
+msgid "Mass Editing"
+msgstr ""
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid ""
+"Display a button in the sidebar of related documents to open a composition "
+"wizard"
+msgstr ""
+
+#. module: mass_editing
+#: model:ir.model,name:mass_editing.model_mass_editing_wizard
+msgid "mass.editing.wizard"
+msgstr ""
+
+#. module: mass_editing
+#: field:mass.object,name:0
+msgid "Name"
+msgstr ""
+
+#. module: mass_editing
+#: code:addons/mass_editing/mass_editing.py:114
+#, python-format
+msgid "Deletion of the action record failed."
+msgstr ""
+
+#. module: mass_editing
+#: model:ir.model,name:mass_editing.model_ir_model_fields view:mass.object:0
+#: field:mass.object,field_ids:0
+msgid "Fields"
+msgstr ""
+
+#. module: mass_editing
+#: code:addons/mass_editing/mass_editing.py:80
+#, python-format
+msgid "Mass Editing (%s)"
+msgstr ""
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid "Object"
+msgstr ""
+
+#. module: mass_editing
+#: model:ir.model,name:mass_editing.model_mass_object
+msgid "mass.object"
+msgstr ""
+
+#. module: mass_editing
+#: field:mass.object,model_list:0
+msgid "Model List"
+msgstr ""
+
+#. module: mass_editing
+#: code:addons/mass_editing/mass_editing.py:57 sql_constraint:mass.object:0
+#, python-format
+msgid "Name must be unique!"
+msgstr ""
+
+#. module: mass_editing
+#: field:mass.object,ref_ir_act_window:0
+msgid "Sidebar Action"
+msgstr ""
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid "Remove sidebar button"
+msgstr ""
+
+#. module: mass_editing
+#: field:mass.object,ref_ir_value:0
+msgid "Sidebar Button"
+msgstr ""
+
+#. module: mass_editing
+#: field:mass.object,model_id:0
+msgid "Model"
+msgstr ""
+
+#. module: mass_editing
+#: code:addons/mass_editing/mass_editing.py:114
+#, python-format
+msgid "Warning"
+msgstr ""
+
+#. module: mass_editing
+#: help:mass.object,ref_ir_act_window:0
+msgid ""
+"Sidebar action to make this template available on "
+"records                                                  of the related "
+"document model"
+msgstr ""
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid "Add sidebar button"
+msgstr ""
+
+#. module: mass_editing
+#: view:mass.object:0
+msgid "Advanced"
+msgstr ""
+
+#. module: mass_editing
+#: help:mass.object,ref_ir_value:0
+msgid "Sidebar button to open the sidebar action"
+msgstr ""

=== added directory 'mass_editing_contact_partner'
=== added file 'mass_editing_contact_partner/__init__.py'
--- mass_editing_contact_partner/__init__.py	1970-01-01 00:00:00 +0000
+++ mass_editing_contact_partner/__init__.py	2013-12-17 22:19:23 +0000
@@ -0,0 +1,25 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    This module copyright (C) 2013 Savoir-faire Linux
+#    (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== added file 'mass_editing_contact_partner/__openerp__.py'
--- mass_editing_contact_partner/__openerp__.py	1970-01-01 00:00:00 +0000
+++ mass_editing_contact_partner/__openerp__.py	2013-12-17 22:19:23 +0000
@@ -0,0 +1,50 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    This module copyright (C) 2013 Savoir-faire Linux
+#    (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+##############################################################################
+
+{
+    'name': 'Mass Editing for Contact Partner',
+    'version': '0.1',
+    'category': 'Tools',
+    'description': """
+Mass Editing for Contact Partner
+================================
+This module allows to remove :
+* set and Remove options in the wizard
+
+Contributors
+------------
+* El Hadji Dem (elhadji.dem@xxxxxxxxxxxxxxxxxxxx)
+    """,
+    'author': 'Savoir-faire Linux',
+    'website': 'http://www.savoirfairelinux.com',
+    'license': 'AGPL-3',
+    'depends': ['mass_editing', ],
+    'external_dependencies': {},
+    'data': [
+    ],
+    'demo': [],
+    'test': [],
+    'installable': True,
+    'auto_install': False,
+    'images': [],
+}
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== added directory 'mass_editing_contact_partner/i18n'
=== added file 'mass_editing_contact_partner/i18n/fr.po'
--- mass_editing_contact_partner/i18n/fr.po	1970-01-01 00:00:00 +0000
+++ mass_editing_contact_partner/i18n/fr.po	2013-12-17 22:19:23 +0000
@@ -0,0 +1,21 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-12-16 19:13+0000\n"
+"PO-Revision-Date: 2013-12-16 14:13-0500\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+"X-Generator: Poedit 1.5.4\n"
+
+#. module: mass_editing_contact_partner
+#: model:ir.model,name:mass_editing_contact_partner.model_mass_editing_wizard
+msgid "mass.editing.wizard"
+msgstr "mass.editing.wizard"

=== added file 'mass_editing_contact_partner/i18n/mass_editing_contact_partner.pot'
--- mass_editing_contact_partner/i18n/mass_editing_contact_partner.pot	1970-01-01 00:00:00 +0000
+++ mass_editing_contact_partner/i18n/mass_editing_contact_partner.pot	2013-12-17 22:19:23 +0000
@@ -0,0 +1,21 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-12-16 19:11+0000\n"
+"PO-Revision-Date: 2013-12-16 14:12-0500\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+"X-Generator: Poedit 1.5.4\n"
+
+#. module: mass_editing_contact_partner
+#: model:ir.model,name:mass_editing_contact_partner.model_mass_editing_wizard
+msgid "mass.editing.wizard"
+msgstr ""

=== added directory 'mass_editing_contact_partner/wizard'
=== added file 'mass_editing_contact_partner/wizard/__init__.py'
--- mass_editing_contact_partner/wizard/__init__.py	1970-01-01 00:00:00 +0000
+++ mass_editing_contact_partner/wizard/__init__.py	2013-12-17 22:19:23 +0000
@@ -0,0 +1,25 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    This module copyright (C) 2013 Savoir-faire Linux
+#    (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import mass_editing_wizard
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== added file 'mass_editing_contact_partner/wizard/mass_editing_wizard.py'
--- mass_editing_contact_partner/wizard/mass_editing_wizard.py	1970-01-01 00:00:00 +0000
+++ mass_editing_contact_partner/wizard/mass_editing_wizard.py	2013-12-17 22:19:23 +0000
@@ -0,0 +1,192 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    This module copyright (C) 2013 Savoir-faire Linux
+#    (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from openerp.osv import orm, fields
+import openerp.tools as tools
+from lxml import etree
+
+
+class mass_editing_wizard(orm.Model):
+    _name = 'mass.editing.wizard'
+    _inherit = 'mass.editing.wizard'
+    _columns = {
+    }
+
+    def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
+        result = super(mass_editing_wizard, self).fields_view_get(cr,
+                                                                  uid,
+                                                                  view_id,
+                                                                  view_type,
+                                                                  context,
+                                                                  toolbar,
+                                                                  submenu)
+        if context.get('mass_editing_object'):
+            mass_object = self.pool.get('mass.object')
+            editing_data = mass_object.browse(cr,
+                                              uid,
+                                              context.get('mass_editing_object'),
+                                              context)
+            all_fields = {}
+            xml_form = etree.Element('form', {'string': tools.ustr(editing_data.name), 'version': '7.0'})
+            xml_group = etree.SubElement(xml_form, 'group', {'colspan': '4'})
+            etree.SubElement(xml_group, 'label', {
+                'string': '',
+                'colspan': '2'
+            })
+            xml_group = etree.SubElement(xml_form, 'group', {'colspan': '4'})
+            model_obj = self.pool.get(context.get('active_model'))
+            field_info = model_obj.fields_get(cr, uid, [], context)
+            for field in editing_data.field_ids:
+                if field.ttype == "many2many":
+                    all_fields[field.name] = field_info[field.name]
+                    all_fields["selection__" + field.name] = {'type': 'selection',
+                                                              'string': field_info[field.name]['string'],
+                                                              'selection': [
+                                                                  ('add', 'Add')
+                                                              ]
+                                                              }
+                    xml_group = etree.SubElement(xml_group, 'group', {'colspan': '4'})
+                    etree.SubElement(xml_group,
+                                     'separator', {'string': field_info[field.name]['string'], 'colspan': '2'})
+                    etree.SubElement(xml_group,
+                                     'field', {'name': "selection__" + field.name,
+                                               'colspan': '2', 'nolabel': '1'
+                                               })
+                    etree.SubElement(xml_group, 'field',
+                                     {'name': field.name, 'colspan': '4',
+                                      'nolabel': '1',
+                                      'attrs': "{'invisible':[('selection__" + field.name + "','=','remove_m2m')]}"})
+                elif field.ttype == "many2one":
+                    all_fields["selection__" + field.name] = {'type': 'selection',
+                                                              'string': field_info[field.name]['string'],
+                                                              'selection': [('set', 'Set'), ('remove', 'Remove')]}
+                    all_fields[field.name] = {'type': field.ttype,
+                                              'string': field.field_description,
+                                              'relation': field.relation}
+                    etree.SubElement(xml_group, 'field', {'name': "selection__" + field.name, 'colspan': '2'})
+                    etree.SubElement(xml_group, 'field', {
+                        'name': field.name,
+                        'nolabel': '1',
+                        'colspan': '2',
+                        'attrs': "{'invisible':[('selection__" + field.name + "','=','remove')]}"})
+                elif field.ttype == "char":
+                    all_fields["selection__" + field.name] = {
+                        'type': 'selection',
+                        'string': field_info[field.name]['string'],
+                        'selection': [
+                            ('set', 'Set'),
+                            ('remove', 'Remove')
+                        ]}
+                    all_fields[field.name] = {'type': field.ttype,
+                                              'string': field.field_description,
+                                              'size': field.size or 256}
+                    etree.SubElement(xml_group, 'field', {
+                        'name': "selection__" + field.name,
+                        'colspan': '2',
+                        'colspan': '2'})
+                    etree.SubElement(xml_group, 'field', {
+                        'name': field.name,
+                        'nolabel': '1',
+                        'attrs': "{'invisible':[('selection__" + field.name + "','=','remove')]}",
+                        'colspan': '2'})
+                elif field.ttype == 'selection':
+                    all_fields["selection__" + field.name] = {
+                        'type': 'selection',
+                        'string': field_info[field.name]['string'],
+                        'selection': [
+                            ('set', 'Set'),
+                            ('remove', 'Remove')
+                        ]}
+                    etree.SubElement(xml_group, 'field', {
+                        'name': "selection__" + field.name,
+                        'colspan': '2'})
+                    etree.SubElement(xml_group, 'field', {
+                        'name': field.name,
+                        'nolabel': '1',
+                        'colspan': '2',
+                        'attrs': "{'invisible':[('selection__" + field.name + "','=','remove')]}"})
+                    all_fields[field.name] = {
+                        'type': field.ttype,
+                        'string': field.field_description,
+                        'selection': field_info[field.name]['selection']}
+                else:
+                    all_fields[field.name] = {
+                        'type': field.ttype,
+                        'string': field.field_description}
+                    all_fields["selection__" + field.name] = {
+                        'type': 'selection',
+                        'string': field_info[field.name]['string'],
+                        'selection': [('set', 'Set'), ('remove', 'Remove')]}
+                    if field.ttype == 'text':
+                        xml_group = etree.SubElement(xml_group, 'group', {'colspan': '6'})
+                        etree.SubElement(xml_group, 'separator', {
+                                         'string': all_fields[field.name]['string'],
+                                         'colspan': '2'})
+                        etree.SubElement(xml_group, 'field', {
+                            'name': "selection__" + field.name,
+                            'colspan': '2', 'nolabel': '1'
+                        })
+                        etree.SubElement(xml_group, 'field', {
+                            'name': field.name,
+                            'colspan': '4',
+                            'nolabel': '1',
+                            'attrs': "{'invisible':[('selection__" + field.name + "','=','remove')]}"
+                        })
+                    else:
+                        all_fields["selection__" + field.name] = {
+                            'type': 'selection',
+                            'string': field_info[field.name]['string'],
+                            'selection': [
+                                ('set', 'Set'),
+                                ('remove', 'Remove')
+                            ]}
+                        etree.SubElement(xml_group, 'field', {
+                            'name': "selection__" + field.name,
+                            'colspan': '2',
+                        })
+                        etree.SubElement(xml_group, 'field', {
+                            'name': field.name,
+                            'nolabel': '1',
+                            'attrs': "{'invisible':[('selection__" + field.name + "','=','remove')]}",
+                            'colspan': '2',
+                        })
+            etree.SubElement(xml_form, 'separator', {
+                'string': '',
+                'colspan': '4'
+            })
+            xml_group3 = etree.SubElement(xml_form, 'footer', {})
+            etree.SubElement(xml_group3, 'button', {
+                'string': 'Close',
+                'icon': "gtk-close",
+                'special': 'cancel'
+            })
+            etree.SubElement(xml_group3, 'button', {
+                'string': 'Apply',
+                'icon': "gtk-execute",
+                'type': 'object',
+                'name': "action_apply"})
+            root = xml_form.getroottree()
+            result['arch'] = etree.tostring(root)
+            result['fields'] = all_fields
+        return result
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:


Follow ups