← Back to team overview

openerp-community-reviewer team mailing list archive

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

 

Public bug reported:

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.

** Affects: ocb-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Community Backports, which is subscribed to OpenERP Community Backports
(Addons).
https://bugs.launchpad.net/bugs/1356340

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

Status in OpenERP Community Backports (Addons):
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/1356340/+subscriptions


Follow ups

References