Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC

This commit is contained in:
CI Publish Bot
2026-11-01 22:54:30 +00:00
commit 26250aa580
2492 changed files with 664277 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
from odoo import models
class AccountMove(models.Model):
_name = "account.move"
_inherit = ["account.move", "directive.mixin"]
def action_audit_response(self, payload: dict):
"""
Вызывается агентом-аудитором.
"""
for move in self:
move.message_post(
body=f"Audit Bot: Обнаружен риск, 30/100.<br/>"
f"Директива #{payload.get('directive_id')} завершена с предупреждением."
)