Default period and account in invoices line for multi-company doesn't work

Bug #702318 reported by fooflare
10
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

version 6.0-dev revision 3256 on ubuntu10.10

Using multi-company when you create an invoice and change the company of the invoice from default installation company to a new created one (with accounting and fiscal year configured), the company_id of the period to account doesn't change when executes _check_company_id and it doesn't allow to confirm the invoice. If you select 'Force period' to the correct one it works.

Another problem after changing the company in the invoice, is that the product line changes the account from the regular (in my case 700000) to the view one (7000). I checked that products category accounting was correct. When I try to change the account into the invoice line, it opens the list accounts in blank.

Related branches

affects: openobject-server → openobject-addons
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Amós,

I have fixed first problem related to period_id in lp:~openerp-commiter/openobject-addons/trunk-dev-addons3-ara branch, It will be merged soon with trunk-dev-addons3.

For second problem related to invoice line account changing, i have checked the scenario as given by you. But it seems there is no problem appear after changing company. If you still get any problem, you can reopen it.

Revision No: <email address hidden>
Revision ID: 4665

Thank you,
ARA

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

Other bug subscribers

Remote bug watches

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