create invoice: change journal should change company too
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
- OpenERP Core Team: Pending requested
-
Diff: 14 lines (+2/-0)1 file modifiedaccount/account_invoice.py (+2/-0)
- OpenERP Core Team: Pending requested
-
Diff: 108 lines (+26/-12)2 files modifiedaccount/account_invoice.py (+11/-4)
hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py (+15/-8)
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 |
fixed in trunk r7649