Magento version is 2.1/2.2 or Magento Version 2.3 but not using MSI
While not using the 2.3 or MSI, It means your inventory stock is managed using a single source location in Magento. So import that location stock into odoo’s one warehouse location. For that configure the odoo warehouse in Magento > Configuration > Settings > Import Stock Warehouse.
After clicking on the Execute button, Inventory Adjustments record created and also validate that record automatically, So stock will be imported after this process is completed.