Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEV]mass_editing: Migrated 10.0 to 11.0 #1129

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 23 additions & 0 deletions mass_editing/ChangeLog.txt
@@ -0,0 +1,23 @@
===============================================================================
Version Change Log (mass_editing)
===============================================================================
1.7 * January 14,2018 : Codeware Computer Trading LLC
* Migrated v10 to v11

1.6 * June 01,2016 : Serpent Consulting Services
* Added Unit Test Cases

1.5 * March 23,2016 : Serpent Consulting Services
* Added README and index.html file.

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
110 changes: 110 additions & 0 deletions mass_editing/README.rst
@@ -0,0 +1,110 @@
.. 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>
* Jairo Llopis <jairo.llopis@tecnativa.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.

8 changes: 8 additions & 0 deletions mass_editing/__init__.py
@@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
# © 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
30 changes: 30 additions & 0 deletions mass_editing/__manifest__.py
@@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# © 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': '11.0.1.7.0',
'author': 'Serpent Consulting Services Pvt. Ltd., '
'Tecnativa, '
'Odoo Community Association (OCA),'
'Codeware Computer Trading LLC',
'contributors': [
'Oihane Crucelaegui <oihanecrucelaegi@gmail.com>',
'Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>',
'Jay Vora <jay.vora@serpentcs.com>',
'Codeware Computer Trading LLC <info@codewareuae.com>',
],
'category': 'Tools',
'website': 'http://www.serpentcs.com, http://www.codewareuae.com',
'license': 'GPL-3 or any later version',
'summary': 'Mass Editing',
'uninstall_hook': 'uninstall_hook',
'depends': ['base'],
'data': [
'security/ir.model.access.csv',
'views/mass_editing_view.xml',
],
'installable': True,
'application': False,
'auto_install': False,
}
12 changes: 12 additions & 0 deletions mass_editing/hooks.py
@@ -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
187 changes: 187 additions & 0 deletions mass_editing/i18n/am.po
@@ -0,0 +1,187 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mass_editing
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:53+0000\n"
"PO-Revision-Date: 2016-09-10 02:53+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: am\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: mass_editing
#: code:addons/mass_editing/models/mass_object.py:101
#, python-format
msgid "%s (copy)"
msgstr ""

#. module: mass_editing
#: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form
msgid "Add Sidebar Button"
msgstr ""

#. module: mass_editing
#: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form
msgid "Advanced"
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_create_uid
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_create_uid
msgid "Created by"
msgstr "Creado por"

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_create_date
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_create_date
msgid "Created on"
msgstr "Creado en"

#. module: mass_editing
#: code:addons/mass_editing/models/mass_object.py:89
#, python-format
msgid "Deletion of the action record failed."
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_display_name
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_display_name
msgid "Display Name"
msgstr ""

#. module: mass_editing
#: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form
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_ir_model_fields
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_field_ids
#: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form
msgid "Fields"
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_id
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_id
msgid "ID"
msgstr "ID"

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard___last_update
#: model:ir.model.fields,field_description:mass_editing.field_mass_object___last_update
msgid "Last Modified on"
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_write_uid
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard_write_date
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. 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
#: code:addons/mass_editing/models/mass_object.py:58
#, python-format
msgid "Mass Editing (%s)"
msgstr ""

#. module: mass_editing
#: model:ir.model,name:mass_editing.model_mass_object
msgid "Mass Editing Object"
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_id
msgid "Model"
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_model_list
msgid "Model List"
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,help:mass_editing.field_mass_object_model_id
msgid ""
"Model is used for Selecting Fields. This is editable until Sidebar menu is "
"not created."
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_name
msgid "Name"
msgstr ""

#. module: mass_editing
#: code:addons/mass_editing/models/mass_object.py:34
#: sql_constraint:mass.object:0
#, python-format
msgid "Name must be unique!"
msgstr ""

#. module: mass_editing
#: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form
#: model:ir.ui.view,arch_db:mass_editing.view_mass_object_tree
msgid "Object"
msgstr ""

#. module: mass_editing
#: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form
msgid "Remove Sidebar Button"
msgstr ""

#. module: mass_editing
#: model:ir.ui.view,arch_db:mass_editing.view_mass_object_form
msgid "Remove the contextual action to use this template on related documents"
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_ref_ir_act_window_id
msgid "Sidebar action"
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,help:mass_editing.field_mass_object_ref_ir_act_window_id
msgid ""
"Sidebar action to make this template available on records of the related "
"document model."
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_object_ref_ir_value_id
msgid "Sidebar button"
msgstr ""

#. module: mass_editing
#: model:ir.model.fields,help:mass_editing.field_mass_object_ref_ir_value_id
msgid "Sidebar button to open the sidebar action."
msgstr ""

#. module: mass_editing
#: model:ir.model,name:mass_editing.model_mass_editing_wizard
msgid "mass.editing.wizard"
msgstr ""