Skip to content

Commit

Permalink
[IMP] fiscal_company_account : allow to set profit / loss account on …
Browse files Browse the repository at this point in the history
…account journal for a different company
  • Loading branch information
legalsylvain committed Jan 28, 2025
1 parent 8bbaf16 commit 62340a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fiscal_company_account/models/account_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ class AccountJournal(models.Model):

suspense_account_id = fields.Many2one(check_company=False)

profit_account_id = fields.Many2one(check_company=False)

loss_account_id = fields.Many2one(check_company=False)

def _get_journal_dashboard_data_batched(self):
# Modify Context to add domain based on allowed companies
# when making request on account.move
Expand Down

0 comments on commit 62340a2

Please sign in to comment.