[FIX] stock: from from_date domain
Commit c2c9d6d143 changed the inequality sign unintentionally.
This commit change it to the right value
closes odoo/odoo#64334
X-original-commit: 217d9201deea06d36a7417f54360cb695f70212d
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Co-authored-by: Juppe <johan.totterman@sprintit.fi>
This commit is contained in:
co-authored by
Juppe
parent
49be9e4904
commit
2d0a413f82
@@ -143,7 +143,7 @@ class Product(models.Model):
|
||||
domain_move_in_done = list(domain_move_in)
|
||||
domain_move_out_done = list(domain_move_out)
|
||||
if from_date:
|
||||
date_date_expected_domain_from = [('date', '<=', from_date)]
|
||||
date_date_expected_domain_from = [('date', '>=', from_date)]
|
||||
domain_move_in += date_date_expected_domain_from
|
||||
domain_move_out += date_date_expected_domain_from
|
||||
if to_date:
|
||||
|
||||
Reference in New Issue
Block a user