create invoice: change journal should change company too

Bug #1047884 reported by Stéphane Bidoul (Acsone) on 2012-09-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

Hello,

When creating an invoice in a multi company context, changing the default journal to the journal of another company should change the company automatically (in the Other Info tab).

This is for 6.1 and probably trunk too.

How to reproduce:
0. install modules accounting
1. create company Parent and Subsidiary as child of Parent
2. make sure Administrator has access to Parent Subsidiary, set Administrator default filter to Parent in preferences
3. rename Sales Journals to Sales Journal (parent) and Sales Journal (subsidiary) so they can be distinguished
4. create a customer in company Subsidiary
5. create a new customer invoice (the default journal is then Sales Journal of Parent)
6. change the Sales Journal to the Sales Journal of the Subsidiary -> the company in the Other Info tab does not change

This is confusing as the user does not think of going to the "other info" tab to change the company. As a result, he cannot create lines with correct accounts and cannot validate the invoice.

Best regards,

-sbi

Related branches

description: updated
description: updated
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Fabien (Open ERP) (fp-tinyerp) wrote :

fixed in trunk r7649

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

Other bug subscribers