the patch was working locally. But, in was failing on travis. The strange thing was that the patch running in travis was looking for woocommerce_settings in the path 'frappe.core.doctype.woocommerce_settings.woocommerce_settings'
possible fix for travis patch error "Error: No module named woocommerce_settings.woocommerce_settings)"