fix(woocommerce integration): possible travis fix
possible fix for travis patch error "Error: No module named woocommerce_settings.woocommerce_settings)" (cherry picked from commit a0b7ff60b8c3303a405c98eac11e71cd556ba166)
This commit is contained in:
parent
69f0ce178e
commit
63f8cda069
@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
woocommerce_settings = frappe.get_doc("Woocommerce Settings")
|
woocommerce_settings = frappe.get_single("Woocommerce Settings")
|
||||||
if woocommerce_settings.enable_sync:
|
if woocommerce_settings.enable_sync:
|
||||||
woocommerce_settings.creation_user = woocommerce_settings.modified_by
|
woocommerce_settings.creation_user = woocommerce_settings.modified_by
|
||||||
woocommerce_settings.save()
|
woocommerce_settings.save()
|
Loading…
x
Reference in New Issue
Block a user