← Back to team overview

openerp-india team mailing list archive

[Bug 783961] Re: dead reference to sales order in opportunity causes permission error

 

I still get this bug on 6.0.3.  Shouldn't it be merged to the 6.0 branch
as well ??

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/783961

Title:
  dead reference to sales order in opportunity causes permission error

Status in OpenERP Server:
  Fix Released

Bug description:
  Summary : I get a dead reference to a sales order after deleting the
  sales order created from an opportunity. It makes the opportunity list
  unusable on the GTK client, and a dead reference on the web client.

  Here is how to reproduce on 6.0.2 with the GTK client :

  - Install a fresh database with demo data, Extended interface, CRM, and Sales Management
  - put the "demo" user in the "Sales Manager" group
  - connect as demo user
  - change the interface to "Extended" in the prefs
  - Create and save a new opportunity.
  - click on "Convert to quote", choose any customer
  - Now delete the newly created Sales Order.

  => On the GTK client I get this message (for ex. when returning to the
  opportunity list).

  AccessError

  Operation prohibited by access rules, or performed on an already
  deleted document (Operation: read, Document type: Sales Order).

  => On the web client I get this in the Extra Info tab of the
  opportunity:  Reference :  == Access Denied ==

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/783961/+subscriptions