mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
Merge branch 'develop'
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"app_name": "ERPNext",
|
"app_name": "ERPNext",
|
||||||
"app_version": "3.7.0",
|
"app_version": "3.7.1",
|
||||||
"base_template": "app/portal/templates/base.html",
|
"base_template": "app/portal/templates/base.html",
|
||||||
"modules": {
|
"modules": {
|
||||||
"Accounts": {
|
"Accounts": {
|
||||||
|
|||||||
@@ -4,7 +4,10 @@
|
|||||||
import webnotes
|
import webnotes
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
webnotes.conn.auto_commit_on_many_writes = 1
|
||||||
from utilities.repost_stock import repost_stock
|
from utilities.repost_stock import repost_stock
|
||||||
for d in webnotes.conn.sql("""select distinct production_item, fg_warehouse
|
for d in webnotes.conn.sql("""select distinct production_item, fg_warehouse
|
||||||
from `tabProduction Order` where docstatus>0""", as_dict=1):
|
from `tabProduction Order` where docstatus>0""", as_dict=1):
|
||||||
repost_stock(d.production_item, d.fg_warehouse)
|
repost_stock(d.production_item, d.fg_warehouse)
|
||||||
|
|
||||||
|
webnotes.conn.auto_commit_on_many_writes = 0
|
||||||
Reference in New Issue
Block a user