Juan Negrete
7 years ago
committed by
Aitor Bouzas
13 changed files with 85 additions and 225 deletions
-
20mass_editing/ChangeLog.txt
-
29mass_editing/README.rst
-
1mass_editing/__init__.py
-
10mass_editing/__manifest__.py
-
10mass_editing/hooks.py
-
129mass_editing/i18n/mass_editing.pot
-
1mass_editing/models/__init__.py
-
7mass_editing/models/ir_model_fields.py
-
26mass_editing/models/mass_object.py
-
1mass_editing/tests/__init__.py
-
59mass_editing/tests/test_mass_editing.py
-
3mass_editing/views/mass_editing_view.xml
-
14mass_editing/wizard/mass_editing_wizard.py
@ -1,20 +0,0 @@ |
|||||
=============================================================================== |
|
||||
Version Change Log (mass_editing) |
|
||||
=============================================================================== |
|
||||
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 |
|
@ -1,12 +1,10 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) |
# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) |
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
|
||||
def uninstall_hook(cr, registry): |
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, )) |
|
||||
|
"""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 |
return True |
@ -1,129 +0,0 @@ |
|||||
# 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: 2014-03-14 17:40+0000\n" |
|
||||
"PO-Revision-Date: 2014-03-14 17:40+0000\n" |
|
||||
"Last-Translator: <>\n" |
|
||||
"Language-Team: \n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: \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:_description:0 |
|
||||
#: 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:_description:0 |
|
||||
#: 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:_description:0 |
|
||||
#: model:ir.model,name:mass_editing.model_mass_object |
|
||||
msgid "mass.object" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mass_editing |
|
||||
#: field:mass.object,model_ids: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_id: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_id: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_id: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_id:0 |
|
||||
msgid "Sidebar button to open the sidebar action" |
|
||||
msgstr "" |
|
||||
|
|
@ -1,4 +1,3 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) |
# © 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) |
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
||||
|
|
||||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue