Skip to content
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 #2361

Open
wants to merge 25 commits into
base: 16.0
Choose a base branch
from

Conversation

Hardik-OSI
Copy link
Contributor

No description provided.

@rousseldenis
Copy link
Contributor

/ocabot migration sale_delivery_state

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Feb 14, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Feb 14, 2023
97 tasks
@OCA-git-bot
Copy link
Contributor

The migration issue (#2215) has been updated to reference the current pull request.
however, a previous pull request was referenced : #2280.
Perhaps you should check that there is no duplicate work.
CC : @atchuthan

@rousseldenis
Copy link
Contributor

@Hardik-OSI It seems this is not needed anymore. See #2280 (comment)

@rousseldenis
Copy link
Contributor

@rousseldenis
Copy link
Contributor

@Hardik-OSI

@flotho
Copy link
Member

flotho commented Aug 25, 2023

Hi any chance to close this PR in favor of the standard Odoo ?

@yostashiro
Copy link
Member

I made this comment OCA/purchase-workflow#1831 (comment) on the purchase counterpart, and I think it holds true on the sales side as well. IMO, there is a certain point in keeping this module.

@flotho
Copy link
Member

flotho commented Aug 31, 2023

Hi @yostashiro ,

Thanks for your answer , so obviously there is more in this module than in the core, so it's normal to keep it.
Yet I would recommend to inherit from the native field delivery_status instead of creating a new one, otherwise once installed you'll have 2 modules providing 2 fields with mostly the same definition and potentialy not the same logic. It could be a mess to interpret and maintain.
What do you think of this proposal ?
Regards

@sebastienbeau
Copy link
Member

Hi after looking at odoo code. We will still need this module for two reason

  • support of service
  • support of several delivery step. (if you activate the "2 step" delivery on your warehouse) then native odoo code will set the state to partial when you validate a pick (even if you didn't deliver anything)

Regarding the fact of using or not the same name of the field. Like @yostashiro, I am prefer to add a new fields so we do not add a mandatory dependency on "sale_stock".

@Hardik-OSI are you still interested on this PR or I can rebased it and adapt it to be able to merge it ?

Thanks (and sorry for being so long for the review)

@sebastienbeau
Copy link
Member

I have done the rebased here: #2770

@sebastienbeau
Copy link
Member

@flotho after thinking twice, it's not a good idea to add a new field (user will never know which field to used in advanced filter and group by)

I have refactored the module so we can re-use the native odoo field. see here : #2770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.