[stock] product.product method get_product_accounts just check the first level category_id in stock_valuation
Bug #912631 reported by
hbto [Vauxoo] http://www.vauxoo.com
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 3 |
Bug Description
[stock] product.product method get_product_
When trying to get the accounting account for stock_[in/out] variation_account and journal_id
from a category_id this method just go up to the first level and does not check upper levels
which would avoid a lot of problems because those upper level could provide the missing parameters
lacking to accomplish stock valuation
the patch provide could avoid that, is simple is easy to use and quite possible would not break any
backward compatibility.
Changed in openobject-addons: | |
importance: | Undecided → Low |
status: | Incomplete → Confirmed |
To post a comment you must log in.
Hello,
I have checked your issue as well as your patch but I did not understand why you want this.
You mean if we don't assign a stock valuation account in product category then it will check the account of it's parent category.
I think this does not make sense.
SO would you please provide more information or proper use-case for it.
Thank you!