fix: Remove debugger
This commit is contained in:
parent
8844fdbf23
commit
1a9d2684e2
@ -207,12 +207,6 @@ class SalesOrder(SellingController):
|
|||||||
from erpnext.accounts.doctype.pricing_rule.utils import update_coupon_code_count
|
from erpnext.accounts.doctype.pricing_rule.utils import update_coupon_code_count
|
||||||
update_coupon_code_count(self.coupon_code,'cancelled')
|
update_coupon_code_count(self.coupon_code,'cancelled')
|
||||||
|
|
||||||
def cancel(self):
|
|
||||||
import pdb
|
|
||||||
|
|
||||||
pdb.set_trace()
|
|
||||||
super(SalesOrder, self).cancel()
|
|
||||||
|
|
||||||
def update_project(self):
|
def update_project(self):
|
||||||
if frappe.db.get_single_value('Selling Settings', 'sales_update_frequency') != "Each Transaction":
|
if frappe.db.get_single_value('Selling Settings', 'sales_update_frequency') != "Each Transaction":
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user