Giter Site home page Giter Site logo

phamos-eu / it_management Goto Github PK

View Code? Open in Web Editor NEW
62.0 11.0 65.0 920 KB

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.

Home Page: https://phamos.eu/module/it_management

License: GNU General Public License v3.0

Python 53.95% JavaScript 46.05%
erpnext cmdb inventory inventory-management itil

it_management's People

Contributors

barredterra avatar canlann avatar dulhaver avatar joelios avatar lajidey avatar lajidey-foss avatar lasalesi avatar majubewi avatar ppereira1 avatar robinrosenstock avatar templis avatar wojosc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

it_management's Issues

Add new DocType "Software"

Please add new DocType Software. Software will replace the Item field in Licence and in Software Instance. Software Products will be managed in IT Management. Software Licences will be Items which are ERPNext standard.

grafik

Inheriting status in Configuration Items

Configuration Items have a status field. This status field should have an effect on all Software Instances which are connected to the Configuration Item. Behind the Software Instance there are mostly User Accounts which also have a status. These though should not have the same status as the Configuration Item or the Software Instance, as these are still used some where else and are not always offline when the Configuration Item or the Software Instance is taken offline.

We should think about some kind of "status clean-up" process when Configuration Items are set to obsolet or storage.

Customization Sales Invoive Items

On DocType Sales Invoice the Sales Invoice Item Table should show "decription" in Grid view to be editable right from Sales Invoice without having to go into the Item itself. Changes have to be made to Sales Invoice Item Table and need to be placed in separate App.

Add DocType Hardware

Please add new DocType Hardware. Hardware will replace the Item field in Configuration Item. Hardware will be managed in IT Management and have a link field to the actual Items for procurement purpose which are ERPNext standard.
grafik

Make Button

All DocTypes listed in the "Make" button from Issue schould also appear in Task and Project.

minor changes in IT Service Report

Needs field Project and Task (coming from IT Ticket) -> need to be passed on to Timesheet. Add field type status which is also played back to IT Ticket.

Customization Project in Sales Invoice

When creating a Sales Invoice with a linked Project it will pull all open Time Sheets linked to the Project. When removing the Time Sheets from the List and hitting save it will re-pull all the Time Sheets. This makes it impossible to Invoice e.g. Hardware on an open project.

I think this should also go into core...

Anpassungen an IT Service Report und Add Activity

Bei beiden DocTypes soll die Tabelle übertragen werden. Funktioniert bei IT Service Report bereits.

Bei beiden DocTypes soll das dahinterliegende Time Sheet gebucht (Status Gebucht statt Entwurf) werden.

Status fields

All DocTypes in IT Management should have the following Status available:

{
"bold": 1,
"fieldname": "status",
"fieldtype": "Select",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Status",
"no_copy": 1,
"options": "Implementing\nRunning\nIssue\nStorage\nObsolet"
},

These should later be color-coded and should be manipulated when e.g. there is an Issue that is not closed; when there is a Task or Projekt that is not closed or cancelled; and maybe some others.

merging IT Ticket to Issue

To make the app closer to core I suggest to merge IT Ticket into Issue. Most fields are already the same and a lot of usefull funktions are already implemented in Issue (like deleting the assignment when closed).

Let's discuss this over a meeting.

"Fetch from" mehrfach verwenden

@joelios ist es möglich, dass "fetch from" auch mit UND/ODER zu verwenden. Ich würde das auch gern in Time Sheet verwenden, so das er es entweder aus dem Projekt, oder aber aus der Anfrage zieht...

Kill autofetching Time Sheets

In ERPNext when creating Sales Invoices and linking a Project it will auto-fetch all remaining Time Sheets from the project. Even when deleting these manually from the Sales Invoice they will be re-fetched on "Save".
We would like to have this turned off completely.

Contact Card in Issue not working

We used to have a contact card which would show the e-mailadress and phone number of the contact:
https://github.com/alyf-de/it_management/blob/master/it_management/it_management/doctype/it_ticket/it_ticket.js

render_contact: function (frm) {
		if (frm.doc.contact && frm.doc.hasOwnProperty('__onload')) {
			frappe.contacts.render_address_and_contact(frm);
			// hide "New Contact" Button
			$('.btn-contact').hide();
		} else {
			cur_frm.fields_dict.contact_html.html();
		}
	},

This does not work right now.

Add DocType IT Backup

Please add docType IT Backup.

If you have any good ideas on how to link to Configuration Items, Solutions or maybe even Software Instances let me know.
grafik

Dashboard needs fix

it_management/it_management/doctype/it_software/it_software_dashboard.py

dashboard throws error since implementation. It's visible, but it does not work.

Dashboard von Solution soll IT-Backup link bekommen

Wir brauchen genau wie bei den Config Items einen Link im Dashboard der Solutions
Wenn es geht, wäre es gut, wenn der Link nur dann im Dashboard auftaucht, wenn es sich um eine Backup Solution handelt.

Solution Type

Der Solution Type überschreibt immer wieder Inhalte welche ich nachträglich in einer Solution eingetragen habe.

IT Checklist

The possibilty to create a new DocType IT Checklist from a IT Management Table.

Case:
We create a checklist in Issue which shows a customer onboarding. Once this is done and approved it would be nice if I were able to merge the created IT Management Table which could then be a submittable DocType which I can use via "get from" for future reference.

We would use this for customer onboard, install configurations etc.

Materialanfrage in Vorgang und Anfrage

in den DocTypes Vorgang und Anfrage soll der DocType Materialanfrage im Dashboard zu finden sein.

Im Idealfall soll diese dann nach oben über Anfrage->Vorgang->Projekt vereerbt werden.

installation on vanilla production VM doesn't work

hi! I wanted to check out it_management app. So downloaded latest erpnext production build from http://build.erpnext.com/ERPNext-Production.ova
Running it in latest Virtualbox. In virtualbox's terminal I enter command
bench get-app https://github.com/tueit/it_management.git

and get following error:
VirtualBox_ERPNext-Production-20190616131532_15_03_2020_23_15_44

seemingly there's no directory apps in default home dir. So I tried creating it myself but then other errors popup...
VirtualBox_ERPNext-Production-20190616131532_15_03_2020_23_17_11

Please let me know what I'm doing wrong and how to solve this?

Bug in commit 4144194

bad json: /home/frappe/frappe-bench/apps/it_management/it_management/it_management/doctype/solution/solution.json

File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
   "__main__", mod_spec)
 File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
   exec(code, run_globals)
 File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>
   main()
 File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
   click.Group(commands=commands)(prog_name='bench')
 File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/click/core.py", line 764, in __call__
   return self.main(*args, **kwargs)
 File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/click/core.py", line 717, in main
   rv = self.invoke(ctx)
 File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
   return _process_result(sub_ctx.command.invoke(sub_ctx))
 File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
   return _process_result(sub_ctx.command.invoke(sub_ctx))
 File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/click/core.py", line 956, in invoke
   return ctx.invoke(self.callback, **ctx.params)
 File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/click/core.py", line 555, in invoke
   return callback(*args, **kwargs)
 File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
   return f(get_current_context(), *args, **kwargs)
 File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 25, in _func
   ret = f(frappe._dict(ctx.obj), *args, **kwargs)
 File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 233, in migrate
   migrate(context.verbose, rebuild_website=rebuild_website, skip_failing=skip_failing)
 File "/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py", line 50, in migrate
   frappe.model.sync.sync_all(verbose=verbose)
 File "/home/frappe/frappe-bench/apps/frappe/frappe/model/sync.py", line 19, in sync_all
   sync_for(app, force, verbose=verbose, reset_permissions=reset_permissions)
 File "/home/frappe/frappe-bench/apps/frappe/frappe/model/sync.py", line 56, in sync_for
   reset_permissions=reset_permissions, for_sync=True)
 File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 46, in import_file_by_path
   docs = read_doc_from_file(path)
 File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 86, in read_doc_from_file
   doc = json.loads(f.read())
 File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
   return _default_decoder.decode(s)
 File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
   obj, end = self.raw_decode(s, idx=_w(s, 0).end())
 File "/usr/lib/python3.5/json/decoder.py", line 355, in raw_decode
   obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 11 column 3 (char 217)

Errors after install

Hello,
i have just installed the it_management but get some errors:

erpnext@deb10:/srv/bench/erpnext$ bench --site erp.aytech.local install-app it_management

Installing it_management...
Updating DocTypes for it_management : [========================================]
Updating customizations for User Account
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/srv/bench/erpnext/apps/frappe/frappe/utils/bench_helper.py", line 97, in
main()
File "/srv/bench/erpnext/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
click.Group(commands=commands)(prog_name='bench')
File "/srv/bench/erpnext/env/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/srv/bench/erpnext/env/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/srv/bench/erpnext/env/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/srv/bench/erpnext/env/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/srv/bench/erpnext/env/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/srv/bench/erpnext/env/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/srv/bench/erpnext/env/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/srv/bench/erpnext/apps/frappe/frappe/commands/init.py", line 25, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/srv/bench/erpnext/apps/frappe/frappe/commands/site.py", line 175, in install_app
install_app(app, verbose=context.verbose)
File "/srv/bench/erpnext/apps/frappe/frappe/installer.py", line 97, in install_app
sync_customizations(name)
File "/srv/bench/erpnext/apps/frappe/frappe/modules/utils.py", line 96, in sync_customizations
sync_customizations_for_doctype(data, folder)
File "/srv/bench/erpnext/apps/frappe/frappe/modules/utils.py", line 152, in sync_customizations_for_doctype
validate_fields_for_doctype(doctype)
File "/srv/bench/erpnext/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 669, in validate_fields_for_doctype
validate_fields(frappe.get_meta(doctype, cached=False))
File "/srv/bench/erpnext/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 964, in validate_fields
check_link_table_options(meta.get("name"), d)
File "/srv/bench/erpnext/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 728, in check_link_table_options
frappe.throw(
("{0}: Options must be a valid DocType for field {1} in row {2}").format(docname, d.label, d.idx), WrongOptionsDoctypeLinkError)
File "/srv/bench/erpnext/apps/frappe/frappe/init.py", line 382, in throw
msgprint(msg, raise_exception=exc, title=title, indicator='red')
File "/srv/bench/erpnext/apps/frappe/frappe/init.py", line 361, in msgprint
_raise_exception()
File "/srv/bench/erpnext/apps/frappe/frappe/init.py", line 315, in _raise_exception
raise raise_exception(msg)
frappe.core.doctype.doctype.doctype.WrongOptionsDoctypeLinkError: User Account: Options must be a valid DocType for field Type in row 2
erpnext@deb10:/srv/bench/erpnext$

But i logged in to erpnext and have the Modul and try to use it.
Next i get an error when i try to save my first Solution:
pymysql.err.InternalError: (1054, "Unknown column 'tabIssue.dynamic_name' in 'where clause'")

My Innstalled Apps:
Installed Apps
ERPNext: v12.x.x-develop () (develop)
Frappe Framework: v12.x.x-develop () (develop)
IT Management: v0.0.1 (master)

Something is not set correct, but i dont know what - did i have to update my tables? If yes, where can i get the sql-update script?

am grateful for every tip

Filter on IT Management Table

There should be a filter-funktion vor the IT Management Table. This could look something like the "add multiple" in the table from Sales Order. And would be nice if it had more fields like when using the "get items from" button also in Sales Order (top right corner).

Doctype User Group needs some attention

If you create a new User Group the title is something generic: 947300cebf and should be Groupname (eg. CEO)
2020-02-18 17_15_57-Window
Also there should be the possibility to link User Accounts from the Doctype User Accounts furthermore it would be nice to add the User Group also in the User Account Doctype

add IT Management Table to Issue

please add IT Management Table to Issue. Add new Section IT Management after section Details. Content of this table should also be transfered to IT when created.

On creation of IT Ticket we need a quick entry with:

  • Project (Projects)
  • Customer
  • Contact
  • Assignee (ToDo)
  • Due Date (ToDo)

Add field (Typ Link) with IT Ticket in Issue
Change Issue status to closed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.