[Multi company][7.0] Bank statement line product_id onchange method gives wrong value

Bug #1356340 reported by Kinner Vachhani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Community Backports (Addons)
New
Undecided
Unassigned

Bug Description

Hi,

[pre-requisite]
* Install multi company module
* Install account module

[Reproduce Bug]
* Create a user with all accounting rights and set company A as its main company
* Create a partner xyx with different payable and receivable accounts for different companies
* Create a bank statement for company B
* Select partner and observe account field
* Account field should set automatically payable/receivable account based on partner and type selected

A quick look in code reveals that context is not passed to onchange method and property always by default browse logged in user default company if no context is passed.

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.