mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
fixes in purchase invoice
This commit is contained in:
@@ -377,7 +377,6 @@ class DocType(SellingController):
|
||||
self.values.append({
|
||||
'item_code' : d['item_code'],
|
||||
'warehouse' : wh,
|
||||
'transaction_date' : getdate(self.doc.modified).strftime('%Y-%m-%d'),
|
||||
'posting_date' : self.doc.posting_date,
|
||||
'posting_time' : self.doc.posting_time,
|
||||
'voucher_type' : 'Delivery Note',
|
||||
|
||||
@@ -776,8 +776,6 @@ def make_return_jv(stock_entry):
|
||||
|
||||
from accounts.utils import get_balance_on
|
||||
for r in result:
|
||||
if not r.get("account"):
|
||||
print result
|
||||
jv_list.append({
|
||||
"__islocal": 1,
|
||||
"doctype": "Journal Voucher Detail",
|
||||
|
||||
Reference in New Issue
Block a user