Fiscal year is not correctly found in accounting reports with multi-company setup
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) | Status tracked in Trunk | |||||
7.0 |
Fix Released
|
Undecided
|
OpenERP Publisher's Warranty Team | |||
Trunk |
Confirmed
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
To replicate: (using version 7.0-20130313-
- Create a new DB
- Install Accounting & Finance app & run the wizard for a default chart of accounts/currency setup
- Go to Users > Adminstrator and update the access rights to the following: Multi-Companies
- Refresh and then go to Settings > Companies and create a new company, 'Company B'
- Go to Settings > Configuration > Accounting, then under 'Chart of Accounts' choose Company B. Under that choose "Configurable Account Chart Template" as the template and click 'Apply'
- Go to Accounting > Reporting > Generic Reporting > Partners > Aged Partner Balance. Select '0 Company B' as the chart of accounts. Click 'Print'
- To following error occurs:
"ValidateError
Error occurred while validating the field(s) chart_account_
This is because it is getting the fiscalyear_id of 'Your Company' and so the validation in account_
It looks to me as if the domain filter on fiscal years only accounts for multiple companies if the active_model is 'account.account', which it won't be if the report is being run from the Reporting menu!
This is crippling our company's implementation right now and would appreciate it being looked into.
Related branches
- Martin Trigaux (OpenERP) (community): Approve
-
Diff: 38 lines (+9/-2)2 files modifiedaccount/wizard/account_report_aged_partner_balance_view.xml (+2/-1)
account/wizard/account_report_common.py (+7/-1)
- Martin Trigaux (OpenERP): Pending requested
-
Diff: 129 lines (+26/-8)6 files modifiedaccount/project/wizard/account_analytic_chart_view.xml (+5/-5)
account/report/account_financial_report.py (+1/-0)
account/report/account_financial_report.rml (+6/-1)
account/wizard/account_financial_report.py (+3/-2)
account/wizard/account_report_common.py (+1/-0)
project/project.py (+10/-0)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: maintenance |
One of your customer faced this bug and I have posted it to OpenERP support team. rmu-openerp is working on it.