← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Branch linked: lp:~openerp-dev/openobject-server/trunk-bug-783961-ysa

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

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

Status in OpenERP Server:
  In Progress

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


References