← Back to team overview

credativ team mailing list archive

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

 

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/912631

Title:
  [stock] product.product method get_product_accounts just check the
  first level category_id in stock_valuation

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/912631/+subscriptions


References