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:
committed by
Patrick Wilson
parent
ee5ba721c7
commit
53cdfd2d5a
@@ -10,7 +10,7 @@ class TestStockRequestSubmit(test_stock_request.TestStockRequest):
|
|||||||
super(TestStockRequestSubmit, self).setUp()
|
super(TestStockRequestSubmit, self).setUp()
|
||||||
|
|
||||||
def test_stock_request_submit(self):
|
def test_stock_request_submit(self):
|
||||||
expected_date = fields.Date.today()
|
expected_date = fields.Datetime.now()
|
||||||
vals = {
|
vals = {
|
||||||
'company_id': self.main_company.id,
|
'company_id': self.main_company.id,
|
||||||
'warehouse_id': self.warehouse.id,
|
'warehouse_id': self.warehouse.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user