307e6a8825
(cherry picked from commit f788117b3ea9be83c54e169a1535ded0722f229c)
8 lines
272 B
Python
8 lines
272 B
Python
from __future__ import unicode_literals
|
|
import frappe
|
|
|
|
def execute():
|
|
woocommerce_settings = frappe.get_doc("Woocommerce Settings")
|
|
if woocommerce_settings.enable_sync:
|
|
woocommerce_settings.creation_user = woocommerce_settings.modified_by
|
|
woocommerce_settings.save() |