← Back to team overview

openerp-india team mailing list archive

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

 

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!

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, 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):
  Incomplete

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