mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_request_*: add expected_date implicit on tests to avoid errors
This commit is contained in:
@@ -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, "
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user