Search 1.9 billion lines of Odoo code on GitHub

multi_company_consolidation

Author: ACSONE SA/NV
License: AGPL-3
Branch: 14-account-wallet-merged
Repository: acsone/acsone-addons
Dependencies: account
Languages: Python (170, 80.6%), XML (15, 7.1%), and reStructuredText (26, 12.3%)
Other branches: 10.0, 10.0-abi_master, 10.0-add-cagnotte_delivery-dro, 10.0-add-cagnotte_sale-dro, 10.0-add-cagnotte_sale_discount_display_amount-dro, 10.0-add_partner_to_notify-bwi, 10.0-bai-cdd-account_accountant_revert_menu, 10.0-brb_master, 10.0-cagnotte-cpi, 10.0-easy_debug_backend-jne, 10.0-imp-cagnotte-dro, 10.0-lih_master, 10.0-liser_master, 10.0-lns_master, 10.0-mig-global_resource_leave-ape, 10.0-mig-hr_contract_signature-ape, 10.0-mig-hr_holidays_working_time, 10.0-mig-resource_calendar_multi_week-ape, 10.0-mig_hr_employee_contract_job_tbi, 10.0-mig_hr_employee_current_contract_mgs, 10.0-mig_hr_timesheet_sheet_usability_tbi, 10.0-mig_pos_cagnotte_coupon-bwi, 10.0-mig_resource_calendar_half_day_mgs, 10.0-migration_resource_calendar_half_day_mgs, 10.0-oba_master, 10.0-paypal-cpi, 10.0-paypal-drt, 10.0-workflow-task-lmi, 13.0-slg_master, 14-account_wallet-fix, 14-account_wallet-xbo, 14-account_wallet_sale-xbo, 14.0, 14.0-abi_master, 14.0-account_wallet_journal_cash, 14.0-add-new-pos-account_wallet_no_negative-dro, 14.0-add-pos_account_wallet_coupon_balance-dro, 14.0-add-pos_account_wallet_coupon_no_negative-dro, 14.0-fix-pos_account_wallet_coupon-bank-dro, 14.0-fix-workflow-dro, 14.0-imp-account_wallet_coupon_pay-dro, 14.0-mig-account_partner-dro, 14.0-mig-account_wallet_coupon-dro, 14.0-mig-account_wallet_sale_delivery-dro, 14.0-pos-wallet-cpi, 14.0-pos_wallet_coupon-cpi, 16.0, 8.0, 8.0-ADD_project_member_ext-lmi, 8.0-abi_master, 8.0-add-employe-contract-job-aa-ape, 8.0-add-hr-timesheet-no-closed-project, 8.0-add-hr_holidays_working_time-aa-ape, 8.0-add-resource_calendar_half_day-ape, 8.0-brs_master, 8.0-cagnotte-lga, 8.0-export_translation_all_module-jne, 8.0-exq_master, 8.0-fix-pep8-ape, 8.0-fix-unpickel-issue-on-frozen-dict-ola, 8.0-fix_63_mail_related_multipart-jne, 8.0-lih_master, 8.0-move-hr_timesheet_no_closed_project_task-ape, 8.0-one2many_groups-jne, 8.0-rule-on-task-ape, 8.0-settings-improvements, 8.0-split_port_embedded_jne, 8.0-workflow-task-cache-ape, 8.0-workflow-task-sbi, 9.0, 9.0-brb_master, 9.0-easy_debug_backend-jne, 9.0-slg_master, 9.0-workflow-taks-filter-search-field-lmi, 9.0-workflow-task-sbi, abi_master, brb_master, exq_master, lih_master, lis_master, new-hr_holidays_leaves_revaluation-jne, new-hr_holidays_working_time_leaves_revaluation-jne, wallet-documentation, and website_event_photo
Other repositories: MadsackMediaStore/acsone-addons, Nowheresly/acsone-addons, OdooBulgaria/acsone-addons, Upsyd/acsone-addons, alanljj/acsone-addons, bodi000/acsone-addons, garzadekoster/acsone-addons, gitlabuser/acsone-addons, iceship/acsone-addons, initOS/acsone-addons, ismaelcj/acsone-addons, jalaludin/acsone-addons, likaiyuan/acsone-addons, microcom/acsone-addons, mozaik-association/acsone-addons, nucleoosystem/acsone-addons, petrus-v/acsone-addons, salvatoretrimarchi/acsone-addons, tate11/acsone-addons, tymiles003/acsone-addons, and xamulap/acsone-addons

<img alt="License" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> <a name="account-reports-multi-company-consolidation"></a> <h2>Account reports multi company consolidation</h2> <p>This module add a flag on account.fiscalyear to mark periods that are used for multi-company consolidation.</p> <p>This flag is used in accounts query processing (debit, credit, balance) to enable queries across fiscal years of different companies.</p> <p>Be carefull, this module redefines 2 functions from base:</p> <ul> <li><p class="first"><cite>_get_balance</cite> from 'account.financial.report':</p> <pre> <code>&quot;&quot;&quot; Re-implementation of _get_balance for performance by pre-fetching the accounts. This method behaves like the original except it restricts the query to the chart_account_id that is present in the context if any. This is correct, as mixing accounts from different account charts does not make sense: when necessary this is done through consolidation children, which works with this method.&quot;&quot;&quot;</code> </pre> </li> <li><p class="first"><cite>_get_lines</cite> from 'report.account.report_financial':</p> <pre> <code>&quot;&quot;&quot; Override the official account_financial_report algorithm for performance - pre-fetch accounts - limit account details to the selected account chart Plus: prefix consolidation children accounts with the account plan name&quot;&quot;&quot;</code> </pre> </li> </ul> <a name="credits"></a> <h2>Credits</h2> <a name="contributors"></a> <h3>Contributors</h3> <ul class="simple"> <li>Stéphane Bidoul &lt;<a class="reference external" href="mailto:stephane.bidoul&#64;acsone.eu">stephane.bidoul&#64;acsone.eu</a>&gt;</li> <li>Laetitia Gangloff &lt;<a class="reference external" href="mailto:laetitia.gangloff&#64;acsone.eu">laetitia.gangloff&#64;acsone.eu</a>&gt;</li> <li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;</li> </ul> <a name="maintainer"></a> <h3>Maintainer</h3> <a class="reference external image-reference" href="http://www.acsone.eu"><img alt="ACSONE SA/NV" src="https://www.acsone.eu/logo.png" /></a> <p>This module is maintained by the ACSONE SA/NV.</p>