mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-21 09:22:05 +02:00
19.0 vanilla
This commit is contained in:
parent
ba20ce7443
commit
768b70e05e
2357 changed files with 1057103 additions and 712486 deletions
|
|
@ -0,0 +1,15 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class MailTrackingValue(models.Model):
|
||||
_inherit = 'mail.tracking.value'
|
||||
|
||||
@api.ondelete(at_uninstall=True)
|
||||
def _except_audit_log(self):
|
||||
self.mail_message_id._except_audit_log()
|
||||
|
||||
def write(self, vals):
|
||||
self._except_audit_log()
|
||||
return super().write(vals)
|
||||
Loading…
Add table
Add a link
Reference in a new issue