#6311 (Can't make service reports on Jane)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
The toolbar doesn't show any actions (update_plan, execute_plan, toggle_selections):
![]()
Kinder
Kommentare
- 1 Jahr, 1 Monat ago von Luc Saffre about #6311 (Can't make service reports on Jane) : Jane is back after the upgrade
- 1 Jahr, 1 Monat ago von Luc Saffre about #6311 (Can't make service reports on Jane) : I will upgrade Jane soon because I assume that Laura wants a service report.
- 1 Jahr, 1 Monat ago von Luc Saffre about #6311 (Can't make service reports on Jane) : It has to do with the fact that get_default_action() of an AbstractTable with a default_record_id makes a copy of the detail_action.action. It does this because the two detail windows of invoicing.Plans and invoicing.MyPlan differ: they have different titles. That's why we have one detail_layout but...
- 1 Jahr, 1 Monat ago von Sharif Mehedi Antwort auf Sharif Mehedi about #6311 (Can't make service reports on Jane) : This comment holds true from the following doctest: >>> sdas = [a for a in invoicing.MyPlan._actions_list if a.action.__class__.__name__ == "ShowDetail"] >>> len(sdas) 1 >>> invoicing.MyPlan.detail_action.action is sdas[0].action False
- 1 Jahr, 1 Monat ago von Sharif Mehedi about #6311 (Can't make service reports on Jane) (1 Antwort) : The detail action in the invoicing.MyPlan._actions_list and invoicing.MyPlan.detail_action are not the same ShowDetail instance. Why?
- 1 Jahr, 1 Monat ago von Sharif Mehedi about #6311 (Can't make service reports on Jane) : Somehow the full_name of the invoicing.MyPlan.detail_action varies in two places, where they shouldn't.
- 1 Jahr, 1 Monat ago von Luc Saffre about #6311 (Can't make service reports on Jane) : I haven't tried to generate service reports for months, so it's possible that this is caused by some older change. I guess some bug in the react renderer. The special thing about invoicing.MyPlan is that it has a default_record_id.
- 1 Jahr, 1 Monat ago von Luc Saffre about #6311 (Can't make service reports on Jane) : How to reproduce: Sign in as robin in noi1r, select Sales --> My invoicing plan. It shows the plan, but the toolbar has no actions. In noi1e the same thing works, the update_plan, execute_plan etc actions are there and whey work.
- 1 Jahr, 1 Monat ago von Luc Saffre about #6311 (Can't make service reports on Jane) : Created new Ticket #6311 (Can't make service reports on Jane).