初始提交

This commit is contained in:
2026-11-04 19:58:07 +08:00
commit 53b7d22429
829 changed files with 469986 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
from odoo import fields, models
class MailMessage(models.Model):
_inherit = 'mail.message'
message_type = fields.Selection(
selection_add=[('transaction_details', "Transaction Details")],
ondelete={'transaction_details': lambda recs: recs.write({'message_type': 'comment'})},
)