odoo-usability icon indicating copy to clipboard operation
odoo-usability copied to clipboard

purchase_stock_usability: Reception status on PO and PO lines

Open clementmbr opened this issue 4 years ago • 2 comments

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 avatar Nov 02 '21 08:11 clementmbr

replace #149

clementmbr avatar Nov 02 '21 08:11 clementmbr

@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 avatar Nov 02 '21 08:11 clementmbr