Replies: 1 comment
-
PluginThis could be potentially implemented with a plugin without adjusting the existing behaviour. This would be the "simplest" approach as we do not have to consider how to retain current behaviour and UX Optional FieldAn optional "update_total_quantity" field in the "receive items" serializer could potentially be implemented, allowing user to select dynamically if a particular line item total quantity should be updated |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way that I can manipulate the logic of stock reception to be kind of a one shot one deal? What I mean by that is if we are supposed to receive ,let’s say 10 units, but we finally receive less than that, like 9 , is where can I tweak the code to make it fully received received 9/9 instead of 9/10, In order to close the line item as fully received even if its 9/9. Problem we encounter right now is that the real quantity we are receiving always differs from reality.
long story short, in models.py from order, i would like this action to automatically close the line item to be received (line.received += quantity would become the total quantity no matter what), so it would automatically modify the initial quantity of the po as well and fully receive the lineitem:
Beta Was this translation helpful? Give feedback.
All reactions