Skip to content
Snippets Groups Projects
Commit fcc1e8e3 authored by David (dafr)'s avatar David (dafr)
Browse files

[FIX] purchase: recompute qty_received_method


qty_received_method is not recomputed if the product type change, and can lead to issues on existing purchases when trying to generate a Vendor Bill.

# HOW TO REPRODUCE:
- Create product P, type: Service, Control Policy: 'On Received Qty'
- Create PO for 1 unit of P (do not confirm)
- Update type of P to Storable
- Confirm PO, Receive Products
=> Qty Received is 0, not able to generate Bill

closes odoo/odoo#122199

X-original-commit: 193f1d8c
Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent afbd59e5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment