mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 20:05:09 +00:00
Merge branch 'hotfix'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
__version__ = '6.27.24'
|
||||
__version__ = '6.27.25'
|
||||
@@ -3,8 +3,9 @@
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
from frappe.utils import cint
|
||||
from erpnext.stock.stock_balance import repost
|
||||
|
||||
def execute():
|
||||
if frappe.db.get_value("Stock Settings", None, "allow_negative_stock"):
|
||||
if cint(frappe.db.get_value("Stock Settings", None, "allow_negative_stock")):
|
||||
repost(only_actual=True)
|
||||
Reference in New Issue
Block a user