← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 789215] Re: print followup fails when can't read partner with id=1

 

Jay, here is a DB that I created with the following steps:

1. new DB, demo data install only accounting
2. add user "demo" to groups "accounting/manager" (do to followups) and "accounting/invoice" (to make invoices)
3. as demo, create and validate an invoice, date 1/1/2011
4. as admin, set the security rule [('id','<>',1)] to partner
5. as demo, send followups

get the usual error.

Also, from *your* database, I get an error even if I create a new
invoice (date 1/1/2011) and send followups.

Thanks!

** Attachment added: "lep_20110608_20110608_16_31.sql"
   https://bugs.launchpad.net/openobject-addons/+bug/789215/+attachment/2160645/+files/lep_20110608_20110608_16_31.sql

-- 
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/789215

Title:
  print followup fails when can't read partner with id=1

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  observed in v6 
  to reproduce, make sure that a user can't read partner with id = 1 (like assign it to another company, or set a security rule on res_partner to [('id','<>',1)].

  Printing of a followup on any partner then fails.

  thanks!


References