Browse Source

Merge pull request #966 from Tecnativa/10.0-mass_editing

[FIX][mass_editing] Allow to delete models
pull/967/head
Pedro M. Baeza 7 years ago
committed by GitHub
parent
commit
cf398f75af
  1. 1
      mass_editing/README.rst
  2. 3
      mass_editing/__manifest__.py
  3. 1
      mass_editing/models/mass_object.py

1
mass_editing/README.rst

@ -91,6 +91,7 @@ Contributors
* Oihane Crucelaegui <oihanecrucelaegi@gmail.com> * Oihane Crucelaegui <oihanecrucelaegi@gmail.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com> * Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* Jairo Llopis <jairo.llopis@tecnativa.com>
Maintainer Maintainer
---------- ----------

3
mass_editing/__manifest__.py

@ -3,8 +3,9 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{ {
'name': 'Mass Editing', 'name': 'Mass Editing',
'version': '10.0.1.0.0',
'version': '10.0.1.1.0',
'author': 'Serpent Consulting Services Pvt. Ltd., ' 'author': 'Serpent Consulting Services Pvt. Ltd., '
'Tecnativa, '
'Odoo Community Association (OCA)', 'Odoo Community Association (OCA)',
'contributors': [ 'contributors': [
'Oihane Crucelaegui <oihanecrucelaegi@gmail.com>', 'Oihane Crucelaegui <oihanecrucelaegi@gmail.com>',

1
mass_editing/models/mass_object.py

@ -11,6 +11,7 @@ class MassObject(models.Model):
name = fields.Char('Name', required=True, index=1) name = fields.Char('Name', required=True, index=1)
model_id = fields.Many2one('ir.model', 'Model', required=True, model_id = fields.Many2one('ir.model', 'Model', required=True,
ondelete="cascade",
help="Model is used for Selecting Fields. " help="Model is used for Selecting Fields. "
"This is editable until Sidebar menu " "This is editable until Sidebar menu "
"is not created.") "is not created.")

Loading…
Cancel
Save