Merge pull request #83 from expsa/zainab_fix_account

Update account_account.py
This commit is contained in:
zainab2097 2024-07-08 09:34:41 +03:00 committed by GitHub
commit 0a6a5f6004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@
'version': '1.0',
# any module necessary for this one to work correctly
'depends': ['account', 'odex25_account_reports'],
'depends': ['account', 'odex25_account_reports','mail'],
# always loaded
'data': [

View File

@ -45,6 +45,8 @@ class AccountChartTemplate(models.Model):
class AccountAccount(models.Model):
_inherit = "account.account"
_inherit = ['mail.thread']
_parent_name = "parent_id"
_parent_store = True