mis-builder icon indicating copy to clipboard operation
mis-builder copied to clipboard

[14.0] MIS Budget: Invalid field account.move.line.payment_state in leaf ('payment_state', '=', 'paid')

Open davidwul opened this issue 2 years ago • 17 comments

When filtering the move (actual serie), if we add a comparison column with budget, rendering the report faild. Even if the filed is not budgetable. This fails if the budget lines model does not hold the field filtered on the actual lines. (could be journal_id, state, journal_id, payment_state, etc.)

Module

mis_builder_budget

To Reproduce

14.0

Steps to reproduce the behavior:

  1. create a report with a KPI that is filtered on a field not present in the budget line model (e.g. debp[55%][('journal_id.code', '=', 'BNK1')] )
  2. add budget and budget line
  3. preview the report

davidwul avatar Feb 12 '23 22:02 davidwul

If you are using mis budgets by account, then this is not a bug. Indeed, I don't think we can realistically add all account.move.line fields to budget items. If you need budgeting on reports with such filters, you should consider mis budgets by kpis.

sbidoul avatar Feb 12 '23 22:02 sbidoul

Yes, I understand that it makes no sens to add all fields present on move.line on budget lines. I was expecting if the field is not on budget line that it would be ignored. But that might be not realistic or too complicated. (I'm not a dev per se) But at least, if the kpi is not budgetable the error should not occurs. I would consider this as a bug in that case.

davidwul avatar Feb 13 '23 06:02 davidwul

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Apr 02 '23 12:04 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Apr 30 '23 12:04 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar May 28 '23 12:05 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Jun 25 '23 12:06 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Jul 23 '23 12:07 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Aug 20 '23 12:08 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Sep 17 '23 12:09 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Oct 15 '23 12:10 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Nov 12 '23 12:11 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Dec 10 '23 12:12 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Jan 07 '24 12:01 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Feb 04 '24 12:02 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Mar 03 '24 12:03 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Mar 31 '24 12:03 github-actions[bot]

This issue needs more information and there hasn't been any activity recently, 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 think this is a mistake, please ask a PSC member to remove the "needs more information" label.

github-actions[bot] avatar Apr 28 '24 12:04 github-actions[bot]