Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Invoicing

Entity: mail.message

Compute Method: _compute_account_audit_log_activated

View 18.0
Inputs Method Outputs
  • message_type
  • account_audit_log_move_id
  • account_audit_log_account_id
  • account_audit_log_tax_id
  • account_audit_log_partner_id
  • account_audit_log_company_id
+ for message in self:
+             message.account_audit_log_activated = message.message_type == 'notification' and (
+                 message.account_audit_log_move_id
+                 or message.account_audit_log_account_id
+                 or message.account_audit_log_tax_id
+                 or message.account_audit_log_partner_id
+                 or message.account_audit_log_company_id
+             )
  • account_audit_log_activated

Back to entity