← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 856516] Re: Context passed when editing a many2one field is not persistent

 

Hello Kevin Deldycke,

Thank you for pointing out this problem.

Your issue has been fixed into stable 6.0 by revision
http://bazaar.launchpad.net/~openerp/openobject-client-
web/6.0/revision/4697

revision : 4697

Regards,
OpenERP Support.

** Changed in: openobject-client-web
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/856516

Title:
  Context passed when editing a many2one field is not persistent

Status in OpenERP Web Client:
  Fix Released

Bug description:
  In the web client of OpenERP 6.0, while editing a many2one field you
  are presented with a list. The default content of this list can be
  altered by setting a context in the XML defining the field. The
  problem is that the passed context is rightly set when the view is
  initialized but is not persistent.

  This bug was originally uncovered while developing proprietary modules
  for our customer, but it can easily be reproduced with a vanilla
  OpenERP.

  Here are the step to reproduce the issue:
   1. Install the generic "Accounting and Financial Management" v1.1 module
   2. Log-in to your web client
   3. Go to Accounting > Suppliers > Supplier Invoices
   4. Create a new Supplier Invoice
   5. Create in it a new Invoice Line
   6. Create in the latter a new Account Tax line
   7. The default Search Account Tax view has 4 items in it
   8. Then click the search button and the list will display all Account Tax available

  The last step demonstrate the bug, as we expect there to still have
  the default 4 items we get when we opened this view for the first
  time.

  This behavior can be explained by the lost of the initial context that
  was set on the "invoice_line_tax_id" field definition of the
  "view_invoice_line_form" found in the
  "account/account_invoice_view.xml" file.

  This bug was produced in a combination of these versions:
   * OpenERP server: lp:openobject-server/6.0 at rev. 3419
   * OpenERP web client: lp:openobject-client-web/6.0 at rev. 4660
   * Firefox 5.0
   * Ubuntu 11.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/856516/+subscriptions


References