← 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

 

Conceptually I like this - would simplify category maintenance as could
hold accounting rules at top level then only as required for differences
at lower levels. Would help when setting up lots of pricing categories
in a multi-company situation (eg 40 categories x 12 companies).

Will this work for anglo-saxon or extra code required?

-- 
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