We sync our Magento Shop with Odoo (https://github.com/OCA/connector-magento) and we import orders from Magento and track our inventory with Odoo. I would like to achieve the following:
1) When we import a new Sales Order where the inventory for the ordered products is not enough, i would like Odoo to automatically create a Purchase Order
2) When we import a new Sales Order where the inventory is sufficient, i would like Odoo to automatically complete the Order
3) When we import a new Sales Order where the inventory for some ordere products is not enough, i would like Odoo to reserve the stock that is available and create for the remaining products Purchase Orders.
How do I configure that?