Skip to content

Commit

Permalink
Merge pull request OCA#5 from AlceConsorcio/11.0-mig-mass_editing
Browse files Browse the repository at this point in the history
[MIG] mass_editing: Migration to 11.0
  • Loading branch information
pedrobaeza authored Mar 19, 2018
2 parents da7cfdc + 6cda892 commit 3c36a56
Show file tree
Hide file tree
Showing 87 changed files with 13,413 additions and 0 deletions.
105 changes: 105 additions & 0 deletions mass_editing/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-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.

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/11.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-ux/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-ux/issues/new?body=module:%20
server-ux%0Aversion:%20
11.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 <[email protected]>
* Serpent Consulting Services Pvt. Ltd. <[email protected]>
* Jay Vora <[email protected]>
* Jairo Llopis <[email protected]>
* Juan Negrete <[email protected]>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://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 https://odoo-community.org.
7 changes: 7 additions & 0 deletions mass_editing/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# © 2016 Serpent Consulting Services Pvt. Ltd. ([email protected])
# 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
22 changes: 22 additions & 0 deletions mass_editing/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# © 2016 Serpent Consulting Services Pvt. Ltd. ([email protected])
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Mass Editing',
'version': '11.0.1.0.0',
'author': 'Serpent Consulting Services Pvt. Ltd., '
'Tecnativa, '
'Odoo Community Association (OCA)',
'category': 'Tools',
'website': 'http://www.serpentcs.com',
'license': 'AGPL-3',
'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,
}
10 changes: 10 additions & 0 deletions mass_editing/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# © 2016 Serpent Consulting Services Pvt. Ltd. ([email protected])
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).


def uninstall_hook(cr, registry):
"""Delete the actions that were created with mass_editing when
the module is uninstalled"""
cr.execute("""DELETE FROM ir_act_window
WHERE res_model = 'mass.editing.wizard'""")
return True
187 changes: 187 additions & 0 deletions mass_editing/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mass_editing
#
# Translators:
# OCA Transbot <[email protected]>, 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 <[email protected]>, 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 ""
Loading

0 comments on commit 3c36a56

Please sign in to comment.