← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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 ==

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
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:
  New

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 ==


Follow ups

References