Care

return (abs(previousstockvalue - flt(sle.stockvalue))) flt(row.qty) / abs(flt(sle.qty))

Install Care

bench get-app https://github.com/mohsinalimat/care

Add the Frappe Gems badge to your README

Maintain Care? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=mohsinalimat%2Fcare)](https://frappegems.com/gems/apps/mohsinalimat/care)

About Care

## Care Auto perform pos invoice #### License MIT Core Changes for this App ## Gross Profit Report Bug. erpnext/erpnext/accounts/report/gross_profit/gross_profit.py (564) return (abs(previous_stock_value - flt(sle.stock_value))) * flt(row.qty) / abs(flt(sle.qty)) _______________________________________
Status Updater Issue Path: apps/erpnext/erpnext/controllers/status_updater.py
Line: :233
Comment the code.
#if hasattr(d, "qty") and d.qty > 0 and self.get("is_return"):
#frappe.throw(_("For an item {0}, quantity must be negative number").format(d.item_code))

Related Other apps for Frappe & ERPNext

  • Erpnext — Free and Open Source Enterprise Resource Planning (ERP)
  • Helpdesk — Modern, Streamlined, Free and Open Source Customer Service Software
  • Print Designer — Visual print designer for Frappe / ERPNext
  • Ctr — CTR模型代码和学习笔记总结
  • Whitelabel — Whitelabel ERPNext
  • Fossunited — fossunited.org
  • Helm — Helm Chart Repository for Frappe/ERPNext
  • Frappe Attachments S3 — A frappe app to upload file attachments in doctypes to s3.