← Back to team overview

openerp-india team mailing list archive

[Bug 996453] Re: Multi Company Accounts Problem

 

** Attachment added: "Multi_company.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/996453/+attachment/3141072/+files/Multi_company.ogv

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

Title:
  Multi Company Accounts Problem

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  First of all, excuse any language mistake. English is not my mother
  language.

  After several days of tries, finally I think this is a bug.

  We are trying to set up an OpenERP installation for a multi-company
  environment.

  We have installed the next modules: "Sales", "Purchases", "Accounting
  and Finance" and "Stock". We have also installed the "Multi-Company
  AddOn".

  There are 3 different companies operating as one. The differences in
  operations are just in accounting, but they share customers,
  suppliers, products and even stock. Users share their work among
  companies, so every user can perform business process (purchases and
  sales) for the three different companies.

  The main problem is that a user cannot create an invoice for one
  company which is not assigned to him/her in settings. The process is
  not intuitive, or I am missing something

  I mean:
  - User Admin has the "Multi Companies" checkbox checked. Company Alpha is assigned for User Admin. User Admin has the other companies allowed.
  - Supplier used has no company assigned in master data. Product used has no company assigned in master data.
  - User Admin creates a purchase order for Company Alpha. Everything is ok.
  - When Purchase Order is validated ("Convert to Purchase Order" button), a draft purchase invoice is created. You can access to this draft invoice and approve it. Everything is ok.
  - User Admin creates a purchase order for company "Company Bravo", selecting it in the combo list in purchase order. You validate it, so a draft purchase invoice is created. The problem is: you cannot validate the draft invoice for Case Bravo, because the purchase order has Company Alpha's accounts assigned. I mean accounts: 410000, 600000 and 472000 (Spanish Location). I get the next error: "Error occurred while validating the field(s) company_id: Company must be the same for its related account and period"
  - The workaround that I found is: you must change manually all accounts in draft invoice: Account (in header) and for each row in draft: Account and Tax Account. Obviously, it is not a valid solution for users in daily operation.

  I think that accounts assigned in sales order and purchase orders
  should depend on company assigned in every document, just before
  creating the document.

  Any suggestion?

  Thanks in advance.

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


References