mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 05:59:18 +00:00
Merge branch 'master' of github.com:webnotes/erpnext into wsgi
Conflicts: accounts/doctype/account/account.py accounts/doctype/gl_entry/gl_entry.py accounts/doctype/period_closing_voucher/period_closing_voucher.py stock/doctype/delivery_note/delivery_note.py stock/doctype/landed_cost_wizard/landed_cost_wizard.py stock/doctype/purchase_receipt/purchase_receipt.py stock/doctype/stock_ledger/stock_ledger.py stock/doctype/warehouse/warehouse.py stock/stock_ledger.py
This commit is contained in:
@@ -116,10 +116,12 @@ class DocType:
|
||||
"""update planned qty in bin"""
|
||||
args = {
|
||||
"item_code": self.doc.production_item,
|
||||
"warehouse": self.doc.fg_warehouse,
|
||||
"posting_date": nowdate(),
|
||||
"planned_qty": flt(qty)
|
||||
}
|
||||
get_obj('Warehouse', self.doc.fg_warehouse).update_bin(args)
|
||||
from stock.utils import update_bin
|
||||
update_bin(args)
|
||||
|
||||
@webnotes.whitelist()
|
||||
def get_item_details(item):
|
||||
|
||||
Reference in New Issue
Block a user