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

purchase_stock_usability: Reception status on PO and PO lines #154

Open
wants to merge 3 commits into
base: 14.0
Choose a base branch
from

Conversation

clementmbr
Copy link
Member

Some clients may want to follow the Reception status at PO line level in addition to PO level. So I moved the status computation to the purchase.order.line model.
It does not change the previous behavior, just add the possibility to display this Reception Status on PO line tree or PO tree.

cc @rvalyi @alexis-via

@clementmbr
Copy link
Member Author

replace #149

@clementmbr
Copy link
Member Author

@alexis-via I've just found your module purchase_reception_status in OCA purchase-workflow ! https://github.com/OCA/purchase-workflow/tree/14.0/purchase_reception_status

You should have told me when I submitted #149 ! ;)
I'm sorry I didn't check it before...

So in your module the status is based on quantities received whereas here I just copied the sale_stock_usability and used the stock.picking's status to compute it... I don't know if I have a preference. What's your opinion about it ?

Should I make a PR on your OCA module to submit this status computation at PO line level ?

Thanks !

@clementmbr clementmbr changed the title Reception status computed at PO line level instead of PO purchase_stock_usability: Reception status on PO and PO lines Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant