Skip to content
Snippets Groups Projects
Commit a9cbd2a2 authored by William Henrotin's avatar William Henrotin
Browse files

[FIX] {sale_}purchase{_stock}: select sellers depending on date


Commit 72a17baf force the PO `date_order` to be >= at ` today() to
ensure the select_seller method take the right seller price. This
introduces an error in the MPS module that may need to create PO in the
past.

Instead, this commit patch the call to `_select_seller` to take at least
`today()`

closes odoo/odoo#134130

Opw: 3167094
X-original-commit: b06b0a77
Signed-off-by: default avatarArnold Moyaux (arm) <arm@odoo.com>
Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent 91a93cd6
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