Browse Source

July 05: [FIX] Bug Fixed 'base_accounting_kit'

pull/313/merge
Cybrosys Technologies 2 months ago
parent
commit
c7e522253c
  1. 2
      base_accounting_kit/__manifest__.py
  2. 5
      base_accounting_kit/doc/RELEASE_NOTES.md
  3. 5
      base_accounting_kit/models/account_move.py

2
base_accounting_kit/__manifest__.py

@ -21,7 +21,7 @@
#############################################################################
{
'name': 'Odoo 17 Full Accounting Kit for Community',
'version': '17.0.1.1.5',
'version': '17.0.1.1.6',
'category': 'Accounting',
'summary': """Odoo 17 Accounting, Odoo 17 Accounting Reports, Odoo17 Accounting, Odoo Accounting, Odoo17 Financial Reports, Odoo17 Asset, Odoo17 Profit and Loss, PDC, Followups, Odoo17, Accounting, Odoo Apps, Reports""",
'description': """ Odoo 17 Accounting, The module used to manage the Full

5
base_accounting_kit/doc/RELEASE_NOTES.md

@ -34,3 +34,8 @@
#### Version 17.0.1.1.5
##### UPDT
- Updated the visibility of the Effective Date in the Register Payment form.
#### 02.07.2025
#### Version 17.0.1.1.6
##### UPDT
- Trial Balance report enhanced to include transactions from selected branch companies in addition to the main company.

5
base_accounting_kit/models/account_move.py

@ -224,7 +224,10 @@ class AccountInvoiceLine(models.Model):
if state and state.lower() != 'all':
domain += [('parent_state', '=', state)]
if context.get('company_id'):
domain += [('company_id', '=', context['company_id'])]
company_branches = self.env['res.company'].browse([context['company_id']]).mapped('child_ids').ids
company_branches.append(context['company_id'])
common_ids = list(set(context['allowed_company_ids']) & set(company_branches))
domain += [('company_id', 'in', common_ids)]
elif context.get('allowed_company_ids'):
domain += [('company_id', 'in', self.env.companies.ids)]
else:

Loading…
Cancel
Save