← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 757937] Re: account_anglo_saxon does not generates the corresponding journal entries if stock account defined in stocklocation

 

Hi Amit, I understand your view. I'll try to explain more, why I think
it's a problem

I'm with the following business case, the company has several warehouses
around the country, but all products are the same at a national level.

So, if one shop in other city sells a product, for regulation aspects
the local warehouse should account the move, (that's way the
account_anglo_saxon module is used). It works fine if the
stock_input_account/output is defined in the product or category
product, but as both of them have only one stock_input_account/output so
it takes that definition and the journal has a wrong stock_account (it
is not the warehouse from the real sale).

The wonderful aspect of locations is that they provide you the
flexibility to organize your hierarchy of locations and warehouses. As
the stock_input/output_account does exists in the location definition,
it should use it when the move is done with that location.

I've tried the following, just entering the stock_input/output_account
in the location definition and void in product and category product,
this way you have no account entrie for the move.

If you enter the stock_input/output_account in the product or category
product and not in the stock_location, it works fine, as expected.

The point is that if the location does have the
stock_input/output_account it should, as I understand, also work,
because you are doing there, accounting based in stock location,

Best regards,
Juan Pablo

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/757937

Title:
  account_anglo_saxon does not generates the corresponding journal
  entries if stock account defined in stocklocation

Status in OpenERP Modules (addons):
  Opinion

Bug description:
  1) having set the stock location input in the locations definition,
  account_anglo_saxon doesn't use them, it seems to be waiting form the
  product or product_category stock accounts definitions

  2) The sales generates a journal entrie without the stock locations
  entries. (It does well if defined in the product_category)

  3) To take the locations definition from the location (our customer
  wants the entries dependant on the physical location)

  4) Ubuntu 10.0.4 LTS, Postgres 8.4, Python 2.6
  5) OpenERP server revno: 3395, gtk-client: 1831, web-client: 4569, addons: 4513, extra-addons: 5376

  Regards,
  Juan Pablo



References