Skip to content

Commit

Permalink
remove __init__ in contrommer
Browse files Browse the repository at this point in the history
  • Loading branch information
hiousi committed Oct 13, 2017
1 parent cb1d898 commit 01bae44
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Expand Up @@ -391,7 +391,7 @@
"issingle": 0,
"istable": 1,
"max_attachments": 0,
"modified": "2017-08-24 17:11:44.506267",
"modified": "2017-10-13 18:26:25.386906",
"modified_by": "Administrator",
"module": "Simplified Production Process",
"name": "Simplified Production Items",
Expand Down
Expand Up @@ -113,7 +113,7 @@
"issingle": 0,
"istable": 1,
"max_attachments": 0,
"modified": "2017-08-24 15:33:26.975390",
"modified": "2017-10-13 18:26:31.787434",
"modified_by": "Administrator",
"module": "Simplified Production Process",
"name": "Simplified Production Material Request",
Expand Down
Expand Up @@ -176,7 +176,7 @@
"issingle": 0,
"istable": 1,
"max_attachments": 0,
"modified": "2017-08-24 14:57:03.467639",
"modified": "2017-10-13 18:26:37.370338",
"modified_by": "Administrator",
"module": "Simplified Production Process",
"name": "Simplified Production Sales Orders",
Expand Down
Expand Up @@ -634,7 +634,7 @@
"issingle": 1,
"istable": 0,
"max_attachments": 0,
"modified": "2017-08-24 17:47:00.266720",
"modified": "2017-10-13 18:26:14.122044",
"modified_by": "Administrator",
"module": "Simplified Production Process",
"name": "Simplified Production Tool",
Expand Down Expand Up @@ -690,4 +690,4 @@
"sort_order": "DESC",
"track_changes": 0,
"track_seen": 0
}
}
Expand Up @@ -15,9 +15,6 @@
from erpnext.stock.stock_ledger import get_previous_sle, NegativeStockError

class SimplifiedProductionTool(Document):
def __init__(self, arg1, arg2=None):
super(SimplifiedProductionTool, self).__init__(arg1, arg2)
self.item_dict = {}

def clear_table(self, table_name):
self.set(table_name, [])
Expand Down

1 comment on commit 01bae44

@ishanloya
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to do this too and it helped. Thanks

Please sign in to comment.