# Add the products that have no stock.move and type <> 'service' to initiate the
# "manage stock" = True in Magento. That allow to not wait the first stock.move before showing it
# in the website
#
# Look for product with no move cr.execute("SELECT magento_sku From product_product WHERE \ product_product.magento_sku is not null AND\ product_product.type <> 'service' AND\ product_product.id not in (SELECT distinct(stock_move.product_id) FROM stock_move);")
Add this into the export_inventory of sale.shop...
Tips:
# Add the products that have no stock.move and type <> 'service' to initiate the
cr.execute( "SELECT magento_sku From product_product WHERE \
product_ product. magento_ sku is not null AND\
product_ product. type <> 'service' AND\
product_ product. id not in (SELECT distinct( stock_move. product_ id) FROM stock_move);")
# "manage stock" = True in Magento. That allow to not wait the first stock.move before showing it
# in the website
#
# Look for product with no move
Add this into the export_inventory of sale.shop...
My2Cents