commit | 3a609108aeee2d6fe379c8117e91fc7cd7c64681 | [log] [tgz] |
---|---|---|
author | Saurabh <bhosalesaurabh8@gmail.com> | Tue Jan 09 11:25:54 2018 +0530 |
committer | Saurabh <bhosalesaurabh8@gmail.com> | Tue Jan 23 17:23:26 2018 +0530 |
tree | 5dd402b7c8943fa3f19aa3e4b8adc1d6699b9a86 | |
parent | 32695a938f6a78fabc192a0f1772e4c53e17ead8 [diff] |
Codacy changes
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index 6562075..bf6ad49 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
@@ -305,7 +305,7 @@ if pos: self.allow_print_before_pay = pos.allow_print_before_pay - + if not for_validate and not self.customer: self.customer = pos.customer