fix: not able to submit delivery note

This commit is contained in:
Rohit Waghchaure
2020-08-20 12:11:28 +05:30
parent bf7adb8b38
commit 5e32ee8457
4 changed files with 5 additions and 5 deletions

View File

@@ -1307,7 +1307,7 @@
"icon": "fa fa-file-text",
"idx": 204,
"is_submittable": 1,
"modified": "2020-08-03 13:08:19.611710",
"modified": "2020-08-20 11:08:19.611710",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Purchase Invoice",

View File

@@ -805,7 +805,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2020-07-18 12:24:41.749986",
"modified": "2020-08-20 11:24:41.749986",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice Item",

View File

@@ -94,7 +94,7 @@ class StockController(AccountsController):
"account": warehouse_account[sle.warehouse]["account"],
"against": item_row.expense_account,
"cost_center": item_row.cost_center,
"project": item_row.project or self.get('project'),
"project": item_row.get("project") or self.get("project"),
"remarks": self.get("remarks") or "Accounting Entry for Stock",
"debit": flt(sle.stock_value_difference, precision),
"is_opening": item_row.get("is_opening") or self.get("is_opening") or "No",
@@ -105,7 +105,7 @@ class StockController(AccountsController):
"account": item_row.expense_account,
"against": warehouse_account[sle.warehouse]["account"],
"cost_center": item_row.cost_center,
"project": item_row.project or self.get('project'),
"project": item_row.get("project") or self.get("project"),
"remarks": self.get("remarks") or "Accounting Entry for Stock",
"credit": flt(sle.stock_value_difference, precision),
"project": item_row.get("project") or self.get("project"),

View File

@@ -736,7 +736,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2020-04-28 14:18:33.131672",
"modified": "2020-08-20 11:18:33.131672",
"modified_by": "Administrator",
"module": "Stock",
"name": "Delivery Note Item",