[FIX]stock_account: missing default value for Inventory Valuation

This commit is contained in:
Denis Ledoux
2014-09-12 09:57:56 +02:00
parent 87d458f0d7
commit 06e1476e3b
+4
View File
@@ -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.