Multi Company Accounts Problem

Bug #996453 reported by Toni

This bug report was converted into a question: question #196861: Multi Company Accounts Problem.

36
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

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.

Toni (apdorta)
description: updated
Revision history for this message
Amit Parik (amit-parik) wrote :
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Toni,

This is not a bug but it's your configuration problem. For solving it you have to change the user's company and then approve or create the invoice. You have to allow all these company for user as well as you have to change company form user preference means from user form. Then you have successfully validate the invoice.

Finally for solving this issue, you have to select your company (which comapny you have to create/validate invoice) and this is the behaviour.

I have attached the video for your more information, So would you please check it.

Hope this will help.

Thanks for understanding!

Changed in openobject-addons:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.