mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-22 06:12:07 +02:00
19.0 vanilla
This commit is contained in:
parent
d1963a3c3a
commit
2d3ee4855a
7430 changed files with 2687981 additions and 2965473 deletions
11
odoo-bringout-oca-ocb-bus/bus/models/ir_attachment.py
Normal file
11
odoo-bringout-oca-ocb-bus/bus/models/ir_attachment.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class IrAttachment(models.Model):
|
||||
_name = 'ir.attachment'
|
||||
_inherit = ["ir.attachment", "bus.listener.mixin"]
|
||||
|
||||
def _bus_channel(self):
|
||||
return self.env.user
|
||||
Loading…
Add table
Add a link
Reference in a new issue