Gerlin Matos
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
7 additions and
8 deletions
-
base_account_budget/models/account_budget.py
|
|
@ -40,9 +40,8 @@ class AccountBudgetPost(models.Model): |
|
|
|
'account.budget.post')) |
|
|
|
|
|
|
|
def _check_account_ids(self, vals): |
|
|
|
for val in vals: |
|
|
|
if 'account_ids' in val: |
|
|
|
account_ids = val['account_ids'] |
|
|
|
if 'account_ids' in vals: |
|
|
|
account_ids = vals['account_ids'] |
|
|
|
else: |
|
|
|
account_ids = self.account_ids |
|
|
|
if not account_ids: |
|
|
|