From 06e1476e3ba4470e5b07657f2e57eff05d23c6a5 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 12 Sep 2014 09:57:56 +0200 Subject: [PATCH] [FIX]stock_account: missing default value for Inventory Valuation --- addons/stock_account/product.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/stock_account/product.py b/addons/stock_account/product.py index 73f321679e4..ba4083a14e0 100644 --- a/addons/stock_account/product.py +++ b/addons/stock_account/product.py @@ -54,6 +54,10 @@ class product_template(osv.osv): "there is a specific valuation account set on the destination location. When not set on the product, the one from the product category is used."), } + _defaults = { + 'valuation': 'manual_periodic', + } + def get_product_accounts(self, cr, uid, product_id, context=None): """ To get the stock input account, stock output account and stock journal related to product.