Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
anoopmb
/
frappe
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Merge pull request
#3482
from rohitwaghchaure/deleted_document_issue
[Fix] System manager not able to restore the deleted document
version-14
Makarand Bauskar
8 anni fa
committed by
GitHub
parent
eda35fbe6e
db928600da
commit
c044f9034c
2 ha cambiato i file
con
2 aggiunte
e
2 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+1
-1
frappe/core/doctype/deleted_document/deleted_document.js
+1
-1
frappe/core/doctype/deleted_document/deleted_document.py
+ 1
- 1
frappe/core/doctype/deleted_document/deleted_document.js
Vedi File
@@ -13,7 +13,7 @@ frappe.ui.form.on('Deleted Document', {
method: 'frappe.core.doctype.deleted_document.deleted_document.restore',
args: {name: frm.doc.name},
callback: function(r) {
//
frm.reload_doc();
}
});
});
+ 1
- 1
frappe/core/doctype/deleted_document/deleted_document.py
Vedi File
@@ -23,6 +23,6 @@ def restore(name):
deleted.new_name = doc.name
deleted.restored = 1
deleted.
sav
e()
deleted.
db_updat
e()
frappe.msgprint('Document Restored')
Scrivi
Anteprima
Caricamento…
Annulla
Salva