Traceback (most recent call last):
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 778, in submit
self._submit()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 767, in _submit
self.save()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 307, in _save
self.run_post_save_methods()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 831, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 702, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 965, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 948, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 696, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/accounts/doctype/sales_invoice/sales_invoice.py”, line 129, in on_submit
self.update_stock_ledger()
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/controllers/selling_controller.py”, line 346, in update_stock_ledger
self.make_sl_entries(sl_entries)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/controllers/stock_controller.py”, line 265, in make_sl_entries
make_sl_entries(sl_entries, is_amended, allow_negative_stock, via_landed_cost_voucher)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/stock_ledger.py”, line 38, in make_sl_entries
update_bin(args, allow_negative_stock, via_landed_cost_voucher)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/utils.py”, line 120, in update_bin
bin.update_stock(args, allow_negative_stock, via_landed_cost_voucher)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/doctype/bin/bin.py”, line 46, in update_stock
}, allow_negative_stock=allow_negative_stock, via_landed_cost_voucher=via_landed_cost_voucher)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/stock_ledger.py”, line 107, in init
self.build()
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/stock_ledger.py”, line 119, in build
self.update_bin()
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/stock_ledger.py”, line 145, in update_bin
bin_doc.save(ignore_permissions=True)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 307, in _save
self.run_post_save_methods()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 828, in run_post_save_methods
self.run_method(“on_update”)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 702, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 965, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 950, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext_shopify/erpnext_shopify/sync_products.py”, line 585, in trigger_update_item_stock
update_item_stock(doc.item_code, shopify_settings, doc)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext_shopify/erpnext_shopify/sync_products.py”, line 606, in update_item_stock
if item.sync_qty_with_shopify:
AttributeError: ‘Item’ object has no attribute ‘sync_qty_with_shopify’
Traceback (most recent call last):
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/app.py”, line 57, in application
response = frappe.handler.handle()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/init.py”, line 935, in call
return fn(*args, **newargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 778, in submit
self._submit()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 767, in _submit
self.save()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 307, in _save
self.run_post_save_methods()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 831, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 702, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 965, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 948, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 696, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/accounts/doctype/sales_invoice/sales_invoice.py”, line 129, in on_submit
self.update_stock_ledger()
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/controllers/selling_controller.py”, line 346, in update_stock_ledger
self.make_sl_entries(sl_entries)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/controllers/stock_controller.py”, line 265, in make_sl_entries
make_sl_entries(sl_entries, is_amended, allow_negative_stock, via_landed_cost_voucher)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/stock_ledger.py”, line 38, in make_sl_entries
update_bin(args, allow_negative_stock, via_landed_cost_voucher)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/utils.py”, line 120, in update_bin
bin.update_stock(args, allow_negative_stock, via_landed_cost_voucher)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/doctype/bin/bin.py”, line 46, in update_stock
}, allow_negative_stock=allow_negative_stock, via_landed_cost_voucher=via_landed_cost_voucher)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/stock_ledger.py”, line 107, in init
self.build()
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/stock_ledger.py”, line 119, in build
self.update_bin()
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext/erpnext/stock/stock_ledger.py”, line 145, in update_bin
bin_doc.save(ignore_permissions=True)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 307, in _save
self.run_post_save_methods()
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 828, in run_post_save_methods
self.run_method(“on_update”)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 702, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 965, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/benches/bench-2017-11-17/apps/frappe/frappe/model/document.py”, line 950, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext_shopify/erpnext_shopify/sync_products.py”, line 585, in trigger_update_item_stock
update_item_stock(doc.item_code, shopify_settings, doc)
File “/home/frappe/benches/bench-2017-11-17/apps/erpnext_shopify/erpnext_shopify/sync_products.py”, line 606, in update_item_stock
if item.sync_qty_with_shopify:
AttributeError: ‘Item’ object has no attribute ‘sync_qty_with_shopify’