Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
fd9e8c0
Added Mass Editing v9
JayVora-SerpentCS Dec 23, 2015
76cdd51
Merge branch '9.0' of https://github.com/OCA/server-tools into 9.0
sudhir-serpentcs Mar 19, 2016
cc680a6
[IMP] Improved the coding standard as per API and PEP8.
sudhir-serpentcs Mar 19, 2016
178a2e6
[ADD] Added README and index file.
sudhir-serpentcs Mar 23, 2016
8f73689
[IMP] Improved the indentation of the code as per travis test suggest…
sudhir-serpentcs Mar 23, 2016
c979af8
Merge branch '9.0' of https://github.com/OCA/server-tools into 9.0
sudhir-serpentcs Apr 29, 2016
c466f6b
[IMP] Improved the README.rst
sudhir-serpentcs Apr 29, 2016
e7b2e64
Update mass_object.py
JayVora-SerpentCS May 27, 2016
440628c
Delete index.html
JayVora-SerpentCS May 29, 2016
03748aa
Merge branch '9.0' of https://github.com/OCA/server-tools into 9.0
sudhir-serpentcs May 31, 2016
c25ae9b
Merge branch '9.0' of https://github.com/OCA/server-tools into 9.0
sudhir-serpentcs Jun 1, 2016
e49eb07
[ADD] Added unit test cases for MassEditing module.
sudhir-serpentcs Jun 1, 2016
ab1a1fa
Merge branch '9.0' of https://github.com/JayVora-SerpentCS/server-too…
sudhir-serpentcs Jun 1, 2016
e4c4bd6
Corrected as per @api.multi
JayVora-SerpentCS Jul 21, 2016
cfdd84e
Correction for the travis test
JayVora-SerpentCS Jul 21, 2016
32e5bfb
Correction for the travis test
JayVora-SerpentCS Jul 21, 2016
aed18c5
Merge remote-tracking branch 'upstream/9.0' into 9.0
JayVora-SerpentCS Aug 23, 2016
fb54339
Merge branch '9.0' of https://github.com/JayVora-SerpentCS/server-too…
sudhir-serpentcs Aug 23, 2016
4dbdec4
[IMP] Improved the code as per review comments, improved copyrights, …
sudhir-serpentcs Aug 23, 2016
059000b
[ADD] Added Unit test case for m2m fields.
sudhir-serpentcs Aug 23, 2016
f85c4c5
[ADD] Further added unit test case for unlink and multiple fields.
sudhir-serpentcs Aug 23, 2016
00bed74
[ADD] Added unit test case for model_id onchange.
sudhir-serpentcs Aug 23, 2016
8477e05
[IMP] Fixed the issue of eval in unit test case.
sudhir-serpentcs Aug 23, 2016
752c569
[ADD] Added unit test case for uninstall hook.
sudhir-serpentcs Aug 23, 2016
36b43b3
[ADD] Added unit test case for uninstall hook.
sudhir-serpentcs Aug 23, 2016
d31b3d6
[ADD] Added unit test case for wizard's fields_view_get method.
sudhir-serpentcs Aug 23, 2016
01e83c0
[IMP] Improved the unit test case to cover more lines of code of fiel…
sudhir-serpentcs Aug 24, 2016
9274605
[IMP] Improved the unit test case to cover more lines of code of fiel…
sudhir-serpentcs Aug 24, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions mass_editing/ChangeLog.txt
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
===============================================================================
Version Change Log (mass_editing)
===============================================================================
1.3 * March 11,2013 : Serpent Consulting Services
* Improved and optimized the code of mass_editing
1.6 * June 01,2016 : Serpent Consulting Services
* Added Unit Test Cases

1.2 * Feb 14,2013 : Serpent Consulting Services
* Corrected code as per the review by Community
1.5 * March 23,2016 : Serpent Consulting Services
* Added README and index.html file.

1.1 * Feb 12,2013 : Serpent Consulting Services
* Added the module
1.4 * March 19,2016 : Serpent Consulting Services
* Improved and migrated the code as per API and OCA standards.

1.3 * March 11,2013 : Serpent Consulting Services
* Improved and optimized the code of mass_editing

1.2 * Feb 14,2013 : Serpent Consulting Services
* Corrected code as per the review by Community

1.1 * Feb 12,2013 : Serpent Consulting Services
* Added the module
109 changes: 109 additions & 0 deletions mass_editing/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
.. image:: https://img.shields.io/badge/license-LGPLv3-blue.svg
:target: https://www.gnu.org/licenses/lgpl.html
:alt: License: LGPL-3

============
Mass Editing
============

This module provides the following features:

* You can add, update or remove the values of more than one records on the fly at the same time.

* You can configure mass editing for any Odoo model.

* The video explaining the features and how-to for OpenERP Version 6 is here http://t.co/wukYMx1A

* The video explaining the features and how-to for OpenERP Version 7 is here : http://www.youtube.com/watch?v=9BH0o74A748&feature=youtu.be

* For more details/customization/feedback contact us on contact@serpentcs.com

Installation
============

No external library is used.

Configuration
=============

To configure this module, you need to:

* Go to *Settings / Mass Editing / Mass Editing* and configure the object and fields for Mass Editing.

Usage
=====

This module allows to add, update or remove the values of more than one records on the fly at the same time.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/149/9.0

As shown in figure you have to configure the object and fields for mass editing.

* Select the object and add the fields of that object on which you want to apply mass editing.

.. image:: /mass_editing/static/description/mass_editing-1.png
:width: 70%

* *Add Action*: As shown in figure click on *Add Sidebar Button* to add mass editing option in *Action* option in action.

.. image:: /mass_editing/static/description/mass_editing-2.png
:width: 70%

* *Go for Mass Editing*: As shown in figure, select the records which you want to modify and click on *Action* to open mass editing popup.

.. image:: /mass_editing/static/description/mass_editing-3.png
:width: 70%

* Select *Set / Remove* action and write down the value to set or remove the value for the given field.

.. image:: /mass_editing/static/description/mass_editing-4.png
:width: 70%

* This way you can set / remove the values of the fields.

.. image:: /mass_editing/static/description/mass_editing-5.png
:width: 70%

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
server-tools/issues/new?body=module:%20
server-tools%0Aversion:%20
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

* Oihane Crucelaegui <oihanecrucelaegi@gmail.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.

24 changes: 4 additions & 20 deletions mass_editing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# This module uses OpenERP, Open Source Management Solution Framework.
# Copyright (C):
# 2012-Today Serpent Consulting Services (<http://www.serpentcs.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
#
##############################################################################
# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
from . import tests
from .hooks import uninstall_hook
59 changes: 17 additions & 42 deletions mass_editing/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,51 +1,26 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# This module uses OpenERP, Open Source Management Solution Framework.
# Copyright (C):
# 2012-Today Serpent Consulting Services (<http://www.serpentcs.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
#
##############################################################################
# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Mass Editing",
"version": "8.0.1.3.0",
"author": "Serpent Consulting Services,Odoo Community Association (OCA)",
"contributors": [
"Oihane Crucelaegui <oihanecrucelaegi@gmail.com>",
'name': 'Mass Editing',
'version': '9.0.1.0.0',
'author': 'Serpent Consulting Services Pvt. Ltd., '
'Odoo Community Association (OCA)',
'contributors': [
'Oihane Crucelaegui <oihanecrucelaegi@gmail.com>',
'Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>',
],
"category": "Tools",
"website": "http://www.serpentcs.com",
"license": "GPL-3 or any later version",
"description": """
This module provides the functionality to add, update or remove the values
of more than one records on the fly at the same time.
You can configure mass editing for any OpenERP model.
The video explaining the features and how-to for OpenERP Version 6
is here http://t.co/wukYMx1A
The video explaining the features and how-to for OpenERP Version 7 is
here : http://www.youtube.com/watch?v=9BH0o74A748&feature=youtu.be
For more details/customization/feedback contact us on
contact@serpentcs.com.
""",
'category': 'Tools',
'website': 'http://www.serpentcs.com',
'license': 'GPL-3 or any later version',
'summary': 'Mass Editing',
'uninstall_hook': 'uninstall_hook',
'depends': ['base'],
'data': [
"security/ir.model.access.csv",
'security/ir.model.access.csv',
'views/mass_editing_view.xml',
],
'installable': False,
'application': True,
'installable': True,
'application': False,
'auto_install': False,
}
12 changes: 12 additions & 0 deletions mass_editing/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).


def uninstall_hook(cr, registry):
cr.execute("""SELECT id FROM ir_act_window
WHERE res_model = 'mass.editing.wizard'""")
for res in cr.dictfetchall():
value = 'ir.actions.act_window,%s' % res.get('id')
cr.execute("DELETE FROM ir_values WHERE value = '%s'" % value)
return True
8 changes: 4 additions & 4 deletions mass_editing/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -124,25 +124,25 @@ msgid "Remove the contextual action to use this template on related documents"
msgstr ""

#. module: mass_editing
#: field:mass.object,ref_ir_act_window:0
#: field:mass.object,ref_ir_act_window_id:0
msgid "Sidebar Action"
msgstr "Sidebar-Aktion"

#. module: mass_editing
#: view:mass.object:mass_editing.view_mass_object_form
#: field:mass.object,ref_ir_value:0
#: field:mass.object,ref_ir_value_id:0
msgid "Sidebar Button"
msgstr "Sidebar-Button"

#. module: mass_editing
#: help:mass.object,ref_ir_act_window:0
#: help:mass.object,ref_ir_act_window_id:0
msgid ""
"Sidebar action to make this template available on records "
"of the related document model"
msgstr ""

#. module: mass_editing
#: help:mass.object,ref_ir_value:0
#: help:mass.object,ref_ir_value_id:0
msgid "Sidebar button to open the sidebar action"
msgstr "Siebar-Button zum Öffnen einer Sidebar-Aktion"

Expand Down
8 changes: 4 additions & 4 deletions mass_editing/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -124,25 +124,25 @@ msgid "Remove the contextual action to use this template on related documents"
msgstr ""

#. module: mass_editing
#: field:mass.object,ref_ir_act_window:0
#: field:mass.object,ref_ir_act_window_id:0
msgid "Sidebar Action"
msgstr "Acción del menú contextual"

#. module: mass_editing
#: view:mass.object:mass_editing.view_mass_object_form
#: field:mass.object,ref_ir_value:0
#: field:mass.object,ref_ir_value_id:0
msgid "Sidebar Button"
msgstr "Botón del menú contextual"

#. module: mass_editing
#: help:mass.object,ref_ir_act_window:0
#: help:mass.object,ref_ir_act_window_id:0
msgid ""
"Sidebar action to make this template available on records "
"of the related document model"
msgstr ""

#. module: mass_editing
#: help:mass.object,ref_ir_value:0
#: help:mass.object,ref_ir_value_id:0
msgid "Sidebar button to open the sidebar action"
msgstr "Botón del menú contextual para abrir la acción del menú contextual"

Expand Down
8 changes: 4 additions & 4 deletions mass_editing/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -125,25 +125,25 @@ msgid "Remove the contextual action to use this template on related documents"
msgstr ""

#. module: mass_editing
#: field:mass.object,ref_ir_act_window:0
#: field:mass.object,ref_ir_act_window_id:0
msgid "Sidebar Action"
msgstr ""

#. module: mass_editing
#: view:mass.object:mass_editing.view_mass_object_form
#: field:mass.object,ref_ir_value:0
#: field:mass.object,ref_ir_value_id:0
msgid "Sidebar Button"
msgstr ""

#. module: mass_editing
#: help:mass.object,ref_ir_act_window:0
#: help:mass.object,ref_ir_act_window_id:0
msgid ""
"Sidebar action to make this template available on records "
"of the related document model"
msgstr ""

#. module: mass_editing
#: help:mass.object,ref_ir_value:0
#: help:mass.object,ref_ir_value_id:0
msgid "Sidebar button to open the sidebar action"
msgstr ""

Expand Down
8 changes: 4 additions & 4 deletions mass_editing/i18n/fr_CA.po
Original file line number Diff line number Diff line change
Expand Up @@ -125,25 +125,25 @@ msgid "Remove the contextual action to use this template on related documents"
msgstr ""

#. module: mass_editing
#: field:mass.object,ref_ir_act_window:0
#: field:mass.object,ref_ir_act_window_id:0
msgid "Sidebar Action"
msgstr "Action du menu latéral"

#. module: mass_editing
#: view:mass.object:mass_editing.view_mass_object_form
#: field:mass.object,ref_ir_value:0
#: field:mass.object,ref_ir_value_id:0
msgid "Sidebar Button"
msgstr "Bouton du menu latéral"

#. module: mass_editing
#: help:mass.object,ref_ir_act_window:0
#: help:mass.object,ref_ir_act_window_id:0
msgid ""
"Sidebar action to make this template available on records "
"of the related document model"
msgstr ""

#. module: mass_editing
#: help:mass.object,ref_ir_value:0
#: help:mass.object,ref_ir_value_id:0
msgid "Sidebar button to open the sidebar action"
msgstr ""

Expand Down
8 changes: 4 additions & 4 deletions mass_editing/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -124,25 +124,25 @@ msgid "Remove the contextual action to use this template on related documents"
msgstr ""

#. module: mass_editing
#: field:mass.object,ref_ir_act_window:0
#: field:mass.object,ref_ir_act_window_id:0
msgid "Sidebar Action"
msgstr ""

#. module: mass_editing
#: view:mass.object:mass_editing.view_mass_object_form
#: field:mass.object,ref_ir_value:0
#: field:mass.object,ref_ir_value_id:0
msgid "Sidebar Button"
msgstr ""

#. module: mass_editing
#: help:mass.object,ref_ir_act_window:0
#: help:mass.object,ref_ir_act_window_id:0
msgid ""
"Sidebar action to make this template available on records "
"of the related document model"
msgstr ""

#. module: mass_editing
#: help:mass.object,ref_ir_value:0
#: help:mass.object,ref_ir_value_id:0
msgid "Sidebar button to open the sidebar action"
msgstr ""

Expand Down
Loading