Closed dvdl16 closed 3 months ago
Relevant?
File "apps/woocommerce_fusion/woocommerce_fusion/tasks/sync_items.py", line 260, in sync_wc_product_with_erpnext_item
self.update_woocommerce_product(self.woocommerce_product, self.item)
self = <woocommerce_fusion.tasks.sync_items.SynchroniseItem object at 0x72f6c50a3850>
File "apps/woocommerce_fusion/woocommerce_fusion/tasks/sync_items.py", line 291, in update_woocommerce_product
wc_product.save()
self = <woocommerce_fusion.tasks.sync_items.SynchroniseItem object at 0x72f6c50a3850>
wc_product = <WooCommerceProduct: www.somesite.co~1099>
item = ERPNextItemToSync(item=<Item: Gift Voucher>, item_woocommerce_server_idx=1)
wc_product_dirty = True
File "apps/frappe/frappe/model/document.py", line 337, in save
return self._save(*args, **kwargs)
self = <WooCommerceProduct: www.somesite.co~1099>
args = ()
kwargs = {}
File "apps/frappe/frappe/model/document.py", line 376, in _save
self._validate()
self = <WooCommerceProduct: www.somesite.co~1099>
ignore_permissions = None
ignore_version = None
File "apps/frappe/frappe/model/document.py", line 574, in _validate
self._validate_mandatory()
self = <WooCommerceProduct: www.somesite.co~1099>
File "apps/frappe/frappe/model/document.py", line 911, in _validate_mandatory
raise frappe.MandatoryError(
self = <WooCommerceProduct: www.somesite.co~1099>
missing = [('regular_price', 'Error: Value missing for WooCommerce Product: Regular Price')]
idx = 'regular_price'
msg = 'Error: Value missing for WooCommerce Product: Regular Price'
frappe.exceptions.MandatoryError: [WooCommerce Product, www.somesite.co~1099]: regular_price
Current Behavior
Can not synchronise a Gift Card WooCommerce Product
Steps To Reproduce
Expected Behavior
Product should sync successfully
Anything else?
Environment and Versions
Operating System
Windows
What browsers are you seeing the problem on?
No response