diff options
| author | Tiffany Chang (tic) <tic@odoo.com> | 2020-08-26 09:56:03 +0000 |
|---|---|---|
| committer | Tiffany Chang (tic) <tic@odoo.com> | 2020-08-26 14:45:25 +0000 |
| commit | 57919cec81fb65b7e8774cce7cfa079793e53138 (patch) | |
| tree | df6300d13986e15690ded3a701153a4b7a40143c /addons/web/static/src/xml/fields.xml | |
| parent | d50c7f5c88eaef56c757849a64d63f92bd73f2f2 (diff) | |
[FIX] purchase(_stock): make orderpoint qtys depend on POs
Before this commit, `stock.warehouse.orderpoint` `_compute_qty` didn't
depend on `purchase.order.line` (POL). This means when a relevant POL
was edited/cancelled, then the `qty_forecast` wouldn't correctly update.
To reproduce:
- Create a product w/ a vendor and buy route active,
- Go to replenishment report, create a reordering rule, and hit
order for product (RFQ should be created)
- Cancel the RFQ and go back to replenishment report
The product should reappear in the list view, but does not because it's
`qty_forecast` has not updated and therefore has not updated
corresponding `qty_to_order` value.
Note string rename of `purchase_line_warn` 'Purchase Order Line' =>
'Purchase Order Line Warning' is due to repeat label use issue. It is
better to rename the poorly labeled `purchase_line_warn` than to give a
hacky label for new One2many field.
closes odoo/odoo#56605
Task: 2285912
Closes: odoo/odoo#56580
X-original-commit: e903a45b37f81e8eec215a49a3eafaea64fc99d1
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/xml/fields.xml')
0 files changed, 0 insertions, 0 deletions
