From 75e965f4b0e9150f7610e9f818ca2f833432d6f5 Mon Sep 17 00:00:00 2001 From: Olivier Colson Date: Wed, 16 May 2018 10:27:08 +0200 Subject: [PATCH] [FIX] purchase: valuation tests: use reconcilable accounts for in and out accounts in anglosaxon accounting --- addons/purchase/tests/test_stockvaluation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/purchase/tests/test_stockvaluation.py b/addons/purchase/tests/test_stockvaluation.py index 1471fafbba1..8e6b656558c 100644 --- a/addons/purchase/tests/test_stockvaluation.py +++ b/addons/purchase/tests/test_stockvaluation.py @@ -21,11 +21,13 @@ class TestStockValuation(TransactionCase): 'name': 'Stock Input', 'code': 'StockIn', 'user_type_id': self.env.ref('account.data_account_type_current_assets').id, + 'reconcile': True, }) self.stock_output_account = Account.create({ 'name': 'Stock Output', 'code': 'StockOut', 'user_type_id': self.env.ref('account.data_account_type_current_assets').id, + 'reconcile': True, }) self.stock_valuation_account = Account.create({ 'name': 'Stock Valuation', @@ -286,11 +288,13 @@ class TestStockValuationWithCOA(AccountingTestCase): 'name': 'Stock Input', 'code': 'StockIn', 'user_type_id': self.env.ref('account.data_account_type_current_assets').id, + 'reconcile': True, }) self.stock_output_account = Account.create({ 'name': 'Stock Output', 'code': 'StockOut', 'user_type_id': self.env.ref('account.data_account_type_current_assets').id, + 'reconcile': True, }) self.stock_valuation_account = Account.create({ 'name': 'Stock Valuation',