phamos-eu / it_management

Management von IT-Bausteinen. Hierzu gehören IT-Geräte und IT-Lösungen wie Server, Rechner, Netzwerke und E-Mailserver sowie auch Backups, Dienstleistungsverträge, Accounts und Internetleistungen.
https://phamos.eu/module/it_management
GNU General Public License v3.0
70 stars 74 forks source link

Status in Childtable (IT Management Table) #88

Open wojosc opened 4 years ago

wojosc commented 4 years ago

To raise attention on open Issues on linked IT Management DocTypes we would like to introduce "lights" in the IT Management Table. grafik

We have a status field on most IT Manament items with the choice of

As we can link Issues to all DocTypes (apart from Tables) in IT Management it might be necessary to have to different types of statuses if that is possible. I am open for tipps on this matter.

The attention we wan't to raise in the end is to quickly see if an Item is beeing worked on by some one else in Issues and/or Tasks.

wojosc commented 4 years ago
grafik
wojosc commented 4 years ago

Hier die Status-Matrix zur Anfrage:

grafik

ich habe mir das noch einmal im Zusammenhang zum Config Item/Userr Account etc. aufgemalt. Zu folgendem Ergebnis bin ich gekommen:

Wenn Anfrage >0 welche != geschlossen, dann nehme Farbe der Anfrage welche die höchste Priorität besitzt (siehe vorherigem Kommentar) und setze diese als Status Farbe für das Config Item. Ein Beschreibung ist im ersten Schritt nebensächlich.

majubewi commented 4 years ago

https://discuss.erpnext.com/t/changing-status-indicator-colour/8175

https://discuss.erpnext.com/t/customizing-form-grid-for-a-child-table/22613

wojosc commented 3 years ago

@canlann

this.frm.set_indicator_formatter('task', (doc) => { return doc.status=='Open' ? 'red' : 'green' });

fyi from: https://github.com/frappe/frappe/issues/2919

majubewi commented 3 years ago

@wojosc frappe/frappe#2919 unfortunately does not refer to child tables, but to ListViews. These simply looked quite different in 2017.

reggaetuna commented 3 years ago

For Listview https://github.com/tueit/it_management/issues/194

wojosc commented 3 years ago

@canlann helpful Link on the matter? https://github.com/frappe/erpnext/pull/26062

majubewi commented 3 years ago

@wojosc helpful yes, solution for our challenge no