[ADD] web_button_invisible

This commit is contained in:
Ilyas
2023-09-29 15:18:49 +02:00
parent 50cc4cd30d
commit 96df04e5ab
19 changed files with 973 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Copyright 2023 ooops404
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)
from odoo import fields, models
class IrModel(models.Model):
_inherit = "ir.model"
hide_button_rule_ids = fields.One2many(
"model.button.rule",
"model_id",
)