Tuesday, March 14, 2023
1 change · master
Code cleanup and technical improvements
eCommerce can now offer fixed-cost delivery methods without requiring the Inventory app, making basic shipping setup available in lighter SaaS configurations. Delivery features were reorganized so inventory-specific behavior lives separately, while website sales include the needed shipping setup directly.
Original PR description
It's currently impossible to set fixed delivery costs in eCommerce without installing Inventory. This is a problem for one-app free instances on our SaaS, which would need to pay for a feature that…
It's currently impossible to set fixed delivery costs in eCommerce without installing Inventory. This is a problem for one-app free instances on our SaaS, which would need to pay for a feature that should be part of the basic eCommerce features bundle. Delivery is now split from inventory/stock module to allow for a soft free integration into website_sale. This PR makes it possible to define fixed-cost delivery methods in eCommerce without installing Inventory by adding a direct dependency of `website_sale` on `delivery`. The bridge between those two modules is therefore included in the former. Steps are: - extract the Inventory logic from the `delivery` module into a new `stock_delivery` module; - move `website_sale_delivery` into `website_sale`; - adapt dependencies to `delivery` and `website_sale_delivery`; - remove bridge module with loyalty directly in `website_sale_loyalty`; - move `website_sale_delivery_mondialrelay` to `website_sale_mondialrelay`. task-3074497 task-3203210 See also: - https://github.com/odoo/enterprise/pull/36609 - https://github.com/odoo/upgrade/pull/4362