diff options
| author | Tiffany Chang (tic) <tic@odoo.com> | 2020-08-28 09:56:44 +0000 |
|---|---|---|
| committer | Tiffany Chang (tic) <tic@odoo.com> | 2020-09-09 12:06:02 +0000 |
| commit | 4f1b6a0a8fd8778975c24d53693cdfb5c7724f93 (patch) | |
| tree | c2963cf25f819ff1b84c54e1565eca529d670e0b /setup/package.py | |
| parent | 282b7abd7e1c195cfe8199c52447ff7eff8e8abc (diff) | |
[FIX] stock: make orderpoint qtys depend on move product_uom_qty
Orderpoint qtys were not updating when an already saved stock.move has
its demand updated. This was leading to new orderpoints being created
when there is already an existing one. This commit fixes this bug by
adding the missing dependency.
Steps to reproduce:
- Create a product
- Create a delivery with the product > Mark As Todo
- Go to replenishment report (product should be added)
- Go back to same delivery > unlock > increase the existing move line
demand amount
- Return to replenishment report.
product now has 2 orderpoints instead of just 1.
Additionally this commit fixes a column mislabeling in the "Reordering
Rules" tree so that it now matches the "Replenishment" tree
closes odoo/odoo#57349
Task: 2327726
X-original-commit: 1429a7d3029fff1c6cac8fbe98b00eb931d43604
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'setup/package.py')
0 files changed, 0 insertions, 0 deletions
