-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Description
Module
Auditlog
Describe the bug
Maximum recursion error when creating new accounts
To Reproduce
Create a new rule for the account.account module
Check "Log Creates", "Log Writes" and "Full Log" in the new rule
Steps to reproduce the behavior:
- Go to Accounting -> Configuration -> Chart of Account
- Create a new account with code
- Foreve loading and "RecursionError: maximum recursion depth exceeded"
Expected behavior
It should be able to save
Additional context
In Odoo, there are 2 methods in the AccountAccount class called _compute_code and _inverse_code.
Auditlog module keeps triggering these 2 methods and causing an infinite loop.
Reactions are currently unavailable