[FIX] stock_request_*: add expected_date implicit on tests to avoid errors

This commit is contained in:
hveficent
2019-08-28 10:36:03 +02:00
committed by João Marques
parent 0981f17ff1
commit 910b0a1563
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
{
"name": "Stock Request Analytic",
"summary": "Internal request for stock",
"version": "12.0.1.0.0",
"version": "12.0.1.0.1",
"license": "LGPL-3",
"website": "https://github.com/stock-logistics-warehouse",
"author": "Eficent, "

View File

@@ -43,7 +43,7 @@ class TestStockRequestAnalytic(test_stock_request.TestStockRequest):
self.pizza.route_ids = [(6, 0, self.demand_route.ids)]
def prepare_order_request_analytic(self, aa, company):
expected_date = fields.Date.today()
expected_date = fields.Datetime.now()
vals = {
'company_id': company.id,
'warehouse_id': self.warehouse.id,