-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
[14.0][IMP] shopfloor_reception improve confirmation #717
[14.0][IMP] shopfloor_reception improve confirmation #717
Conversation
Hi @JuMiSanAr, @mmequignon, |
@@ -240,6 +240,7 @@ export const reception_states = function () { | |||
picking_id: this.state.data.picking.id, | |||
selected_line_id: this.line_being_handled.id, | |||
location_name: location.text, | |||
// FIXME if it is always set to true, it is not really used ? |
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.
don't we fix it here?
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.
Actually not. This is not the same endpoint that is called. So this one has not been changed.
Because the frontend always return true, I did not see the point of updating it, maybe the question is should it be removed ?
@@ -1406,7 +1406,7 @@ def set_quantity(self): | |||
}, | |||
"quantity": {"type": "float"}, | |||
"barcode": {"type": "string"}, | |||
"confirmation": {"type": "boolean"}, | |||
"confirmation": {"type": "string"}, |
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.
I think this should be now nullable
"confirmation": {"type": "string"}, | |
"confirmation": {"type": "string", "required": False, "nullable": True}, |
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.
cc @jbaudoux
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.
I think so, yes.
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.
I don't think this was required, but did the change anyway.
3e8a284
to
34cc1c0
Compare
@mt-software-de Can you provide a second approval on this one? |
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.
LGTM
/ocabot merge minor |
What a great day to merge this nice PR. Let's do it! |
@jbaudoux your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-717-by-jbaudoux-bump-minor. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
@TDu can you rebase? |
34cc1c0
to
c2cec2d
Compare
@TDu Can you check failing test? Could not be related to this PR |
https://github.com/OCA/wms/actions/runs/6954309475/job/18920884227?pr=717#step:8:3980
|
@jbaudoux Test fixed |
This PR has the |
/ocabot merge minor |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 00708a2. Thanks a lot for contributing to OCA. ❤️ |
No description provided.