ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Unable to save and submit the Purchase Order


#1

In ERP next I added a couple of items, I was getting that error but I changed some text boxes and it went though. Now I’m trying to add our stock levels to inventory I tried a stock entry and that had an error, now I’m trying a purchase order but the purchase receipt only errors too.

Error Snapshots:

Appreciate your help on this


#2
  1. If you are on develop branch, you could get errors and you can report them on GitHub

  2. Do you have any workflow set, you can share screenshots if you do.


#3

Not able to get the question completely. Are you not able to create purchase order or purchase receipt ? Did you had field level customization ?


#4

Can you share the traceback on the purchase order and purchase receipt errors as well as the steps to replicate the issue?

Thanks!


#5

App Versions
{
“erpnext”: “10.1.37”,
“frappe”: “10.1.36”
}
Route
Form/Purchase Receipt/PREC-00002
Error Report
Traceback (most recent call last):
File “/home/bench/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 841, in submit
self._submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 830, in _submit
self.save()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 311, in _save
self.run_post_save_methods()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 901, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py”, line 137, in on_submit
self.make_gl_entries()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py”, line 25, in make_gl_entries
warehouse_account = get_warehouse_account_map()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 22, in get_warehouse_account_map
d.account = get_warehouse_account(d, warehouse_account)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 36, in get_warehouse_account
account = warehouse_account.get(warehouse.parent_warehouse).account
AttributeError: ‘NoneType’ object has no attribute ‘account’

Traceback (most recent call last):
File “/home/bench/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/bench/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/bench/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/bench/frappe-bench/apps/frappe/frappe/init.py”, line 942, in call
return fn(*args, **newargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 841, in submit
self._submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 830, in _submit
self.save()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 311, in _save
self.run_post_save_methods()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 901, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py”, line 137, in on_submit
self.make_gl_entries()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py”, line 25, in make_gl_entries
warehouse_account = get_warehouse_account_map()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 22, in get_warehouse_account_map
d.account = get_warehouse_account(d, warehouse_account)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 36, in get_warehouse_account
account = warehouse_account.get(warehouse.parent_warehouse).account
AttributeError: ‘NoneType’ object has no attribute ‘account’
Request Data
{
“type”: “POST”,
“args”: {
“doc”: “{“taxes_and_charges_added”:0,“modified_by”:“Administrator”,“title”:“test”,“supplied_items”:[],“set_posting_time”:0,“base_grand_total”:10,“discount_amount”:0,“base_in_words”:”",“ignore_pricing_rule”:1,“base_discount_amount”:0,“base_total_taxes_and_charges”:0,“supplier_name”:“test”,“name”:“PREC-00002”,“is_return”:0,“taxes”:[],“base_rounding_adjustment”:0,“creation”:“2018-07-12 16:34:48.584359”,“modified”:“2018-07-12 16:34:48.584359”,“total_qty”:10,“price_list_currency”:“CAD”,“base_taxes_and_charges_added”:0,“idx”:0,“supplier”:“test”,“buying_price_list”:“Standard Buying”,“terms”:"",“base_net_total”:10,“taxes_and_charges_deducted”:0,“items”:[{“stock_qty”:10,“base_price_list_rate”:0,“image”:"",“creation”:“2018-07-12 16:34:48.584359”,“landed_cost_voucher_amount”:0,“base_amount”:10,“qty”:10,“item_tax_rate”:"{}",“rate”:1,“total_weight”:0,“owner”:“Administrator”,“cost_center”:“Main - NI”,“received_qty”:10,“stock_uom”:“Nos”,“rm_supp_cost”:0,“base_net_amount”:10,“schedule_date”:“2018-07-13”,“modified_by”:“Administrator”,“base_net_rate”:1,“discount_percentage”:0,“item_name”:“test”,“amount”:10,“net_rate”:1,“conversion_factor”:1,“warehouse”:“Stores - NI”,“docstatus”:0,“sample_quantity”:0,“uom”:“Nos”,“doctype”:“Purchase Receipt Item”,“description”:“test”,“parent”:“PREC-00002”,“item_tax_amount”:0,“base_rate”:1,“item_code”:“test”,“retain_sample”:0,“page_break”:0,“rejected_qty”:0,“include_exploded_items”:1,“price_list_rate”:0,“billed_amt”:0,“allow_zero_valuation_rate”:0,“name”:“84c4536e3e”,“idx”:1,“item_group”:“Sub Assemblies”,“modified”:“2018-07-12 16:34:48.584359”,“weight_per_unit”:0,“purchase_order”:“PO-00003”,“parenttype”:“Purchase Receipt”,“valuation_rate”:1,“purchase_order_item”:“a2f601542b”,“net_amount”:10,“is_fixed_asset”:0,“parentfield”:“items”}],“apply_discount_on”:“Grand Total”,“in_words”:"",“additional_discount_percentage”:0,“conversion_rate”:1,“owner”:“Administrator”,“posting_time”:“16:34:48.691428”,“total”:10,“is_subcontracted”:“No”,“base_total”:10,“company”:“Network Innovations”,“base_rounded_total”:0,“grand_total”:10,“language”:“en”,“doctype”:“Purchase Receipt”,“rounding_adjustment”:0,“posting_date”:“2018-07-12”,“naming_series”:“PREC-”,“currency”:“CAD”,“base_taxes_and_charges_deducted”:0,“net_total”:10,“docstatus”:0,“status”:“Draft”,“group_same_items”:0,"__onload":{“make_payment_via_journal_entry”:0},“per_billed”:0,“total_net_weight”:0,“plc_conversion_rate”:1,“total_taxes_and_charges”:0,"__last_sync_on":“2018-07-12T22:35:55.463Z”}",
“action”: “Submit”,
“cmd”: “frappe.desk.form.save.savedocs”
},
“btn”: {
“jQuery224081870901375084611”: {
“events”: {
“click”: [
{
“type”: “click”,
“origType”: “click”,
“guid”: 2500,
“namespace”: “”
}
]
}
}
},
“freeze”: true,
“url”: “/”
}
Response JSON
{
“_server_messages”: “[”{\“message\”: \“Did not save\”}"]"
}

More snapshots :-1:



#6

Below is the error that am getting while submitting purchase order.
Please help .

App Versions
{
“erpnext”: “10.1.37”,
“frappe”: “10.1.36”
}
Route
Form/Purchase Receipt/PREC-00002
Error Report
Traceback (most recent call last):
File “/home/bench/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 841, in submit
self._submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 830, in _submit
self.save()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 311, in _save
self.run_post_save_methods()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 901, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py”, line 137, in on_submit
self.make_gl_entries()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py”, line 25, in make_gl_entries
warehouse_account = get_warehouse_account_map()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 22, in get_warehouse_account_map
d.account = get_warehouse_account(d, warehouse_account)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 36, in get_warehouse_account
account = warehouse_account.get(warehouse.parent_warehouse).account
AttributeError: ‘NoneType’ object has no attribute ‘account’

Traceback (most recent call last):
File “/home/bench/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/bench/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/bench/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/bench/frappe-bench/apps/frappe/frappe/init.py”, line 942, in call
return fn(*args, **newargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 841, in submit
self._submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 830, in _submit
self.save()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 311, in _save
self.run_post_save_methods()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 901, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py”, line 137, in on_submit
self.make_gl_entries()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py”, line 25, in make_gl_entries
warehouse_account = get_warehouse_account_map()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 22, in get_warehouse_account_map
d.account = get_warehouse_account(d, warehouse_account)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 36, in get_warehouse_account
account = warehouse_account.get(warehouse.parent_warehouse).account
AttributeError: ‘NoneType’ object has no attribute ‘account’
Request Data
{
“type”: “POST”,
“args”: {
“doc”: “{“taxes_and_charges_added”:0,“modified_by”:“Administrator”,“title”:“test”,“supplied_items”:[],“set_posting_time”:0,“base_grand_total”:10,“discount_amount”:0,“base_in_words”:”",“ignore_pricing_rule”:1,“base_discount_amount”:0,“base_total_taxes_and_charges”:0,“supplier_name”:“test”,“name”:“PREC-00002”,“is_return”:0,“taxes”:[],“base_rounding_adjustment”:0,“creation”:“2018-07-12 16:34:48.584359”,“modified”:“2018-07-12 16:34:48.584359”,“total_qty”:10,“price_list_currency”:“CAD”,“base_taxes_and_charges_added”:0,“idx”:0,“supplier”:“test”,“buying_price_list”:“Standard Buying”,“terms”:"",“base_net_total”:10,“taxes_and_charges_deducted”:0,“items”:[{“stock_qty”:10,“base_price_list_rate”:0,“image”:"",“creation”:“2018-07-12 16:34:48.584359”,“landed_cost_voucher_amount”:0,“base_amount”:10,“qty”:10,“item_tax_rate”:"{}",“rate”:1,“total_weight”:0,“owner”:“Administrator”,“cost_center”:“Main - NI”,“received_qty”:10,“stock_uom”:“Nos”,“rm_supp_cost”:0,“base_net_amount”:10,“schedule_date”:“2018-07-13”,“modified_by”:“Administrator”,“base_net_rate”:1,“discount_percentage”:0,“item_name”:“test”,“amount”:10,“net_rate”:1,“conversion_factor”:1,“warehouse”:“Stores - NI”,“docstatus”:0,“sample_quantity”:0,“uom”:“Nos”,“doctype”:“Purchase Receipt Item”,“description”:“test”,“parent”:“PREC-00002”,“item_tax_amount”:0,“base_rate”:1,“item_code”:“test”,“retain_sample”:0,“page_break”:0,“rejected_qty”:0,“include_exploded_items”:1,“price_list_rate”:0,“billed_amt”:0,“allow_zero_valuation_rate”:0,“name”:“84c4536e3e”,“idx”:1,“item_group”:“Sub Assemblies”,“modified”:“2018-07-12 16:34:48.584359”,“weight_per_unit”:0,“purchase_order”:“PO-00003”,“parenttype”:“Purchase Receipt”,“valuation_rate”:1,“purchase_order_item”:“a2f601542b”,“net_amount”:10,“is_fixed_asset”:0,“parentfield”:“items”}],“apply_discount_on”:“Grand Total”,“in_words”:"",“additional_discount_percentage”:0,“conversion_rate”:1,“owner”:“Administrator”,“posting_time”:“16:34:48.691428”,“total”:10,“is_subcontracted”:“No”,“base_total”:10,“company”:“Network Innovations”,“base_rounded_total”:0,“grand_total”:10,“language”:“en”,“doctype”:“Purchase Receipt”,“rounding_adjustment”:0,“posting_date”:“2018-07-12”,“naming_series”:“PREC-”,“currency”:“CAD”,“base_taxes_and_charges_deducted”:0,“net_total”:10,“docstatus”:0,“status”:“Draft”,“group_same_items”:0,"__onload":{“make_payment_via_journal_entry”:0},“per_billed”:0,“total_net_weight”:0,“plc_conversion_rate”:1,“total_taxes_and_charges”:0,"__last_sync_on":“2018-07-12T22:35:55.463Z”}",
“action”: “Submit”,
“cmd”: “frappe.desk.form.save.savedocs”
},
“btn”: {
“jQuery224081870901375084611”: {
“events”: {
“click”: [
{
“type”: “click”,
“origType”: “click”,
“guid”: 2500,
“namespace”: “”
}
]
}
}
},
“freeze”: true,
“url”: “/”
}
Response JSON
{
“_server_messages”: “[”{\“message\”: \“Did not save\”}"]"
}


#7

Below is the error that am getting . Can you please help me on that .

App Versions
{
“erpnext”: “10.1.37”,
“frappe”: “10.1.36”
}
Route
Form/Purchase Receipt/PREC-00002
Error Report
Traceback (most recent call last):
File “/home/bench/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 841, in submit
self._submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 830, in _submit
self.save()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 311, in _save
self.run_post_save_methods()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 901, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py”, line 137, in on_submit
self.make_gl_entries()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py”, line 25, in make_gl_entries
warehouse_account = get_warehouse_account_map()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 22, in get_warehouse_account_map
d.account = get_warehouse_account(d, warehouse_account)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 36, in get_warehouse_account
account = warehouse_account.get(warehouse.parent_warehouse).account
AttributeError: ‘NoneType’ object has no attribute ‘account’

Traceback (most recent call last):
File “/home/bench/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/bench/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/bench/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/bench/frappe-bench/apps/frappe/frappe/init.py”, line 942, in call
return fn(*args, **newargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 841, in submit
self._submit()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 830, in _submit
self.save()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 311, in _save
self.run_post_save_methods()
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 901, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1040, in composer
return composed(self, method, *args, **kwargs)
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 1023, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/bench/frappe-bench/apps/frappe/frappe/model/document.py”, line 759, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py”, line 137, in on_submit
self.make_gl_entries()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py”, line 25, in make_gl_entries
warehouse_account = get_warehouse_account_map()
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 22, in get_warehouse_account_map
d.account = get_warehouse_account(d, warehouse_account)
File “/home/bench/frappe-bench/apps/erpnext/erpnext/stock/init.py”, line 36, in get_warehouse_account
account = warehouse_account.get(warehouse.parent_warehouse).account
AttributeError: ‘NoneType’ object has no attribute ‘account’
Request Data
{
“type”: “POST”,
“args”: {
“doc”: “{“taxes_and_charges_added”:0,“modified_by”:“Administrator”,“title”:“test”,“supplied_items”:[],“set_posting_time”:0,“base_grand_total”:10,“discount_amount”:0,“base_in_words”:”",“ignore_pricing_rule”:1,“base_discount_amount”:0,“base_total_taxes_and_charges”:0,“supplier_name”:“test”,“name”:“PREC-00002”,“is_return”:0,“taxes”:[],“base_rounding_adjustment”:0,“creation”:“2018-07-12 16:34:48.584359”,“modified”:“2018-07-12 16:34:48.584359”,“total_qty”:10,“price_list_currency”:“CAD”,“base_taxes_and_charges_added”:0,“idx”:0,“supplier”:“test”,“buying_price_list”:“Standard Buying”,“terms”:"",“base_net_total”:10,“taxes_and_charges_deducted”:0,“items”:[{“stock_qty”:10,“base_price_list_rate”:0,“image”:"",“creation”:“2018-07-12 16:34:48.584359”,“landed_cost_voucher_amount”:0,“base_amount”:10,“qty”:10,“item_tax_rate”:"{}",“rate”:1,“total_weight”:0,“owner”:“Administrator”,“cost_center”:“Main - NI”,“received_qty”:10,“stock_uom”:“Nos”,“rm_supp_cost”:0,“base_net_amount”:10,“schedule_date”:“2018-07-13”,“modified_by”:“Administrator”,“base_net_rate”:1,“discount_percentage”:0,“item_name”:“test”,“amount”:10,“net_rate”:1,“conversion_factor”:1,“warehouse”:“Stores - NI”,“docstatus”:0,“sample_quantity”:0,“uom”:“Nos”,“doctype”:“Purchase Receipt Item”,“description”:“test”,“parent”:“PREC-00002”,“item_tax_amount”:0,“base_rate”:1,“item_code”:“test”,“retain_sample”:0,“page_break”:0,“rejected_qty”:0,“include_exploded_items”:1,“price_list_rate”:0,“billed_amt”:0,“allow_zero_valuation_rate”:0,“name”:“84c4536e3e”,“idx”:1,“item_group”:“Sub Assemblies”,“modified”:“2018-07-12 16:34:48.584359”,“weight_per_unit”:0,“purchase_order”:“PO-00003”,“parenttype”:“Purchase Receipt”,“valuation_rate”:1,“purchase_order_item”:“a2f601542b”,“net_amount”:10,“is_fixed_asset”:0,“parentfield”:“items”}],“apply_discount_on”:“Grand Total”,“in_words”:"",“additional_discount_percentage”:0,“conversion_rate”:1,“owner”:“Administrator”,“posting_time”:“16:34:48.691428”,“total”:10,“is_subcontracted”:“No”,“base_total”:10,“company”:“Network Innovations”,“base_rounded_total”:0,“grand_total”:10,“language”:“en”,“doctype”:“Purchase Receipt”,“rounding_adjustment”:0,“posting_date”:“2018-07-12”,“naming_series”:“PREC-”,“currency”:“CAD”,“base_taxes_and_charges_deducted”:0,“net_total”:10,“docstatus”:0,“status”:“Draft”,“group_same_items”:0,"__onload":{“make_payment_via_journal_entry”:0},“per_billed”:0,“total_net_weight”:0,“plc_conversion_rate”:1,“total_taxes_and_charges”:0,"__last_sync_on":“2018-07-12T22:35:55.463Z”}",
“action”: “Submit”,
“cmd”: “frappe.desk.form.save.savedocs”
},
“btn”: {
“jQuery224081870901375084611”: {
“events”: {
“click”: [
{
“type”: “click”,
“origType”: “click”,
“guid”: 2500,
“namespace”: “”
}
]
}
}
},
“freeze”: true,
“url”: “/”
}
Response JSON
{
“_server_messages”: “[”{\“message\”: \“Did not save\”}"]"
}

More snapshots :-1:


#8

imageimage.png1547x741 33.9 KB
image