Public release from ruodoo-project: 19.0 - 2026-05-10 21:19:01 UTC
This commit is contained in:
10
web_debranding/models/ir_module_module.py
Normal file
10
web_debranding/models/ir_module_module.py
Normal file
@ -0,0 +1,10 @@
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class IrModuleModule(models.Model):
|
||||
_inherit = "ir.module.module"
|
||||
|
||||
@api.model
|
||||
def search(self, domain, offset=0, limit=None, order=None):
|
||||
domain = [("to_buy", "=", False)] + domain
|
||||
return super().search(domain, offset, limit, order)
|
||||
Reference in New Issue
Block a user