-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
16.0 mig sale delivery state #2770
Conversation
Make it optional to work with module `delivery` without adding it as a dependency
Co-authored-by: Simone Orsi <[email protected]>
@rousseldenis @lmignon needed for having clean state on shopinvader |
39cdfc8
to
25ed927
Compare
25ed927
to
0d875dc
Compare
@yostashiro seem to be good idea, I going to change it today |
17ab6e0
to
5ed05ed
Compare
5ed05ed
to
aabc76a
Compare
@flotho @yostashiro the PR is ready for the review. I will squash my commit before merging it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review only
@flotho @yostashiro ping, thanks in advance for your feedback |
@Kev-Roche can you review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sebastienbeau Would you consider adding a migration script?
|
||
This module do not add the "views" for the field "delivery_status". | ||
If you have the sale_stock module installed please installed "sale_stock_delivery_state". | ||
If not install the module "sale_delivery_state_view". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This module do not add the "views" for the field "delivery_status". | |
If you have the sale_stock module installed please installed "sale_stock_delivery_state". | |
If not install the module "sale_delivery_state_view". | |
When the 'sale_stock' module is installed, the glue module 'sale_stock_delivery_state' should also be installed; this module is designed to override the compute method of the delivery status field from 'sale_stock'. |
@yostashiro I have added a post-init-hook. This should solve
It's ok for you ? |
@sebastienbeau Thanks for the update. I think |
@yostashiro When migrating a database to V16, as the field "delivery_status" have changed of name ("delivery_state" before), |
@sebastienbeau Ah, I see. Missed that point. Thanks for the explanation! |
Thanks for the review let's merge it /ocabot merge path |
Hi @sebastienbeau. Your command failed:
Ocabot commands
More information
|
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at e8df2b1. Thanks a lot for contributing to OCA. ❤️ |
Hey @pedrobaeza @sebastienbeau @yostashiro @HaraldPanten @etobella The discusion: OCA/purchase-workflow#2081 |
I prefer Odoo native feature, but there's a lot of people in OCA, and they can think different. At least a mention in the README should be done about the differences between this module and the standard. Or maybe they didn't know about the core feature? |
I think they knew about the native Odoo feature, but the decision was to keep the OCA one, because it's more complete than de native one. |
Following the discussion here : #2361
As Odoo have introduced the state "delivery_status" in V16, we believed that the module was useless.
But as the native implementation is broken so we still need this module.
see comment here : #2361 (comment)
In order to not add any extra new fields, the feature is split in 3 modules
It's sad to have to do 3 modules for this, but we do not have choice...