diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-03-11 10:02:10 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-03-17 11:48:35 +0000 |
| commit | b463c956b414f483a9e5f9b20bd08b97b435fe8e (patch) | |
| tree | 0d0b6a2af60699c79a655201597c97161fbf51a6 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 21f786636740aba1d03d38a07d98bbf83fb05aa9 (diff) | |
[FIX] purchase: invoice status
1. Create a product A with 'Control Policy' set to 'On received
quantities'
2. Create a PO for 10 units
=> status is `no`
3. Validate the PO
=> status is `no`
4. Receive 5 units
=> status is `to invoice`
5. Invoice 5 units
=> status is `invoiced`
6. Receive the remaining quantity
=> status is `to invoice`
7. Invoice the remaining quantity
=> status is `invoiced`
There is an inconsistency between steps 3 and 5: there is pending
material to receive, but the status is different.
This is due to the fact the `order.invoice_ids` is checked, while it
shouldn't affect the computation of the status.
The status should be `no` in steps 3 and 5.
opw-2206447
closes odoo/odoo#47802
X-original-commit: 15330712d2ea3c16c57e01c236c783a6febd1376
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
