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

Kill autofetching Time Sheets #75

Closed wojosc closed 4 years ago

wojosc commented 4 years ago

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.

joelios commented 4 years ago

Change following in Core: sales_invoice.js: grafik

sales_invoice.py: grafik

wojosc commented 4 years ago

@joelios Please implement. We will have to work with the dependency to the other Issue

wojosc commented 4 years ago

Please create DocType for "IT Management Settings" with Section Sales Invoice and create a tick-box with the option to turn off the mentioned code. Please DocType in new section "Settings" (Einstellungen) in IT Management App.

joelios commented 4 years ago

@wojosc Please check this commit carefully

joelios commented 4 years ago

@wojosc lets try again

wojosc commented 4 years ago

@joelios Funktioniert! :+1: