Hi all, hello @pokoli
I’m new to Tryton and also something new to Python, and new in this Forum.
So first of all, thanks for your work on this great open source software!
When trying to use Tryton and the WooCommerce Connector (using a container, see Dockerfile code mentioned above), I stumbled across an error message when trying to delete a product which was added to, and removed from WooCommerce Shop before:
“A value is required for field ‘Product Template’ in ‘Product Variant’.” - and the product is not deleted.
The error seems to be related with the foreign key
web_shop-product_product_product_fkey of the web_shop-product_product table
When removing a product in Tryton, in my case, it is deleted from the table product_product.
But the web_shop-product_product_product_fkey seems to impede this once a product is added to this table.
After deleting this fkey, the product which was added to, and removed from the WooCommerce Shop can be deleted in Tryton without error.
But - removing this fkey would result in inactive product registers in the web_shop-product_product table, which don’t exist any more in the product_product table.
What do you think about this?
Thanks in advance and all the best!