← Back to team overview

openerp-expert-accounting team mailing list archive

[Bug 912631] [NEW] [stock] product.product method get_product_accounts just check the first level category_id in stock_valuation

 

You have been subscribed to a public bug by Amit Parik (OpenERP) (amp-openerp):

[stock] product.product method get_product_accounts just check the first
level category_id

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.

** Affects: openobject-addons
     Importance: Wishlist
     Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3)
         Status: Confirmed

-- 
[stock] product.product method get_product_accounts just check the first level category_id in stock_valuation
https://bugs.launchpad.net/bugs/912631
You received this bug notification because you are a member of OpenERP Accounting Experts, which is subscribed to the bug report.


Follow ups