mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
fix: Remove debugger
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user