[MERGE][REF] delivery: extract stock logic in separate module#110686
[MERGE][REF] delivery: extract stock logic in separate module#110686vava-odoo wants to merge 7 commits into
Conversation
83d1956 to
771d608
Compare
8d5d9a0 to
5fbadfa
Compare
6ddf05c to
e2494de
Compare
vava-odoo
left a comment
There was a problem hiding this comment.
Thank you @Demesmaeker !
I mostly agree on your comments. Made a lot of changes.
Only the one about po files: since I remove the bridge, I remove the entire folder in github. Can't really do otherwise.
df9ed3e to
f08cb5a
Compare
Demesmaeker
left a comment
There was a problem hiding this comment.
Hello there 🦆 , you have website_delivery_sendcloud that still depends on (and then import from) website_sale_delivery ;)
Also, in deliver_carrier from stock_delivery, it looks like you only made cosmetic changes to respect the max 100 chars line, but you missed some lines.
And finally: Internal Server Error on the runbot, couldn't test it yet
Still have a few files to check, but let's already post it =]
Feyensv
left a comment
There was a problem hiding this comment.
very quick look, didn't see anything big on the fly so only linting comments for now :D
There was a problem hiding this comment.
Hello
I started testing this task, here are some problems that I encountered that should be solved:
Installing only ecommerce:
Not a single shipping method set as "published" on the website, yet I could selectStandard DeliveryI tried to publishStandard Delivery, I couldn't. Nor any of the others, not even a newly created one.
I stopped testing there. You made a lot of changes since it was last thoroughly tested, it might be wise to do it again to avoid both obvious and tricky bugs. =]
edit: as these are known problems, I started again, sorry for that ;)
There was a problem hiding this comment.
The bugs I found were all also presents in master, improvements I could think of are for moved and untouched lines, so... lgtm, as long as someone from the stock team can also confirm/test that, and @chevalierv confirms the express checkout part. =]
ticodoo
left a comment
There was a problem hiding this comment.
Overall, nice work! I only have nitpick comments (i.e. they can all be ignored). General flows look like they all still work fine. I only tested the sale + stock parts. I didn't touch the website stuff since I don't know their flows.
Feyensv
left a comment
There was a problem hiding this comment.
quick comm, will take a func look tomorrow 👌
|
Merge method set to rebase and merge, using the PR as merge commit message. |
|
@Feyensv you may want to rebuild or fix this PR as it has failed CI. |
|
@robodoo override=ci/security |
|
@vava-odoo @Feyensv linked pull request(s) odoo/upgrade#4362 not ready. Linked PRs are not staged until all of them are ready. |
Extract the Inventory logic from the `delivery` module into a new `stock_delivery` module. This will allow to integrate the basic delivery features into the website_sale app in a one-app free database. task-3074497
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. This commit 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.
*: mondialrelay, stock_picking_batch **: delivery_mondialrelay, loyalty_delivery, picking Adapt dependency to `website_sale` directly instead of `website_sale_delivery`.
In ecommerce, the form vue of shipping methods should be improved to easily set up fixed delivery costs. This commit improves the user-experience and solves bugs on the fields displayed. task-3203210
|
@robodoo r+ |
|
@vava-odoo @Feyensv linked pull request(s) odoo/enterprise#36609 not ready. Linked PRs are not staged until all of them are ready. |



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_saleondelivery. The bridge between those two modules is therefore included in the former.Steps are:
deliverymodule into a newstock_deliverymodule;website_sale_deliveryintowebsite_sale;deliveryandwebsite_sale_delivery;website_sale_loyalty;website_sale_delivery_mondialrelaytowebsite_sale_mondialrelay.task-3074497
task-3203210
See also: