import merge, remove Core
This commit is contained in:
parent
2a32c0275a
commit
d98ce05460
2 changed files with 2 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ wn.ui.AppFrame = Class.extend({
|
|||
},
|
||||
|
||||
add_module_tab: function(module) {
|
||||
if(!erpnext.modules[module]) return;
|
||||
this.add_tab('<span class="small-module-icons small-module-icons-'+
|
||||
module.toLowerCase()+'"></span>'+' <span>'
|
||||
+ wn._(module) + "</span>", 0.7, function() {
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ class UpdateDocument:
|
|||
def __init__(self, in_doclist=[]):
|
||||
self.in_doclist = in_doclist
|
||||
self.doc = Document(fielddata = in_doclist[0])
|
||||
self.old_doc = None
|
||||
self.modified = self.doc.modified # make a copy
|
||||
self.doclist = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue