fix: allow submit delivery note when the sales order was billed... (#34910)
This commit is contained in:
parent
c36dc3dc57
commit
3be1ab9b8d
@ -271,6 +271,9 @@ class DeliveryNote(SellingController):
|
|||||||
def check_credit_limit(self):
|
def check_credit_limit(self):
|
||||||
from erpnext.selling.doctype.customer.customer import check_credit_limit
|
from erpnext.selling.doctype.customer.customer import check_credit_limit
|
||||||
|
|
||||||
|
if self.per_billed == 100:
|
||||||
|
return
|
||||||
|
|
||||||
extra_amount = 0
|
extra_amount = 0
|
||||||
validate_against_credit_limit = False
|
validate_against_credit_limit = False
|
||||||
bypass_credit_limit_check_at_sales_order = cint(
|
bypass_credit_limit_check_at_sales_order = cint(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user