Multi-company budget for a multi-company report - add a company field to budget lines
Issues :
To have a mis report with a budget column available for companies A and B. The budget must be adapted according to the company in which you are working. We are therefore obliged to use a budget that is configured without a company. Because if you set a budget associated with company A, you will only see data in the budget column when you are connected to company A and not when you are connected to company B.
Currently, there are no companies on the budget lines. So if you configure a budget without a company and put it in the budget column of the report, you will always see the same amount, whether you are logged in to company A or company B. This is not intended, as the budget is different depending on the company.
Solution: Add a company field to the budget lines. It must take the value of the company on the budget (if defined) and if it is not defined on the budget, then it must be defined manually on the lines. In the report, if a column has a budget, the amount displayed in the budget column must be the sums of the budget lines associated with the query companies in the report, i.e. query_companys_ids.
This is for Budgets by KPI, correct?
Related #589
Yes it's for budgets by KPI
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
This was done in #630