details:   https://code.tryton.org/tryton/commit/9e0a83850cde
branch:    default
user:      Korbinian Preisler <[email protected]>
date:      Thu Apr 16 23:33:34 2026 +0200
description:
        Add missing rule argument to post inbound email action

        Closes #14779
diffstat:

 modules/inbound_email/ir.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7c1f80fc2322 -r 9e0a83850cde modules/inbound_email/ir.py
--- a/modules/inbound_email/ir.py       Wed Apr 08 14:31:55 2026 +0200
+++ b/modules/inbound_email/ir.py       Thu Apr 16 23:33:34 2026 +0200
@@ -53,7 +53,7 @@
                 body.splitlines()))
 
     @classmethod
-    def post_inbound_email(cls, inbound_email):
+    def post_inbound_email(cls, inbound_email, rule):
         parser = email.parser.BytesParser(policy=email.policy.default)
         message = parser.parsebytes(inbound_email.data)
         return cls.post_from_email(message)

Reply via email to