Skip to content
Snippets Groups Projects
Commit 06e1476e authored by Denis Ledoux's avatar Denis Ledoux
Browse files

[FIX]stock_account: missing default value for Inventory Valuation

parent 87d458f0
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment