forked from Techsystech/web
[MIG] web_ir_actions_act_multi: Migration to 14.0
parent
7799c74bce
commit
f909a67648
|
@ -0,0 +1 @@
|
|||
from . import models
|
|
@ -13,6 +13,6 @@
|
|||
"author": "Modoolar, " "CorporateHub, " "Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/web",
|
||||
"depends": ["web"],
|
||||
"data": ["views/web_ir_actions_act_multi.xml"],
|
||||
"data": ["security/ir.model.access.csv", "views/web_ir_actions_act_multi.xml"],
|
||||
"installable": True,
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
from . import ir_actions
|
|
@ -0,0 +1,15 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class IrActionsActMulti(models.Model):
|
||||
_name = "ir.actions.act_multi"
|
||||
_description = "Action Mulit"
|
||||
_inherit = "ir.actions.actions"
|
||||
_table = "ir_actions"
|
||||
|
||||
type = fields.Char(default="ir.actions.act_multi")
|
||||
|
||||
def _get_readable_fields(self):
|
||||
return super()._get_readable_fields() | {"actions"}
|
|
@ -0,0 +1,2 @@
|
|||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
crud_ir_actions_act_multi,access_ir_actions_act_multi,model_ir_actions_act_multi,,1,1,1,1
|
|
Loading…
Reference in New Issue