← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 777850] Re: account_followup uses SQL query for getting data, cirmumventing security rules

 

@Amit

Have setup the access rule as you described.. but no change... still an
empty list for follow-ups.. and can't edit/create new follow-up
configuration...

Btw: The Button "Add" doesn't do anything on original and patched
"account_followup/wizard/account_followup_print.py".

Tested this also in latest Chrome and always... empty cache or disable
it ;)..

Also tested in GTK client, where the Button works and i get the list of
invoices to follow-up.. :).. but shouldn't they automatically listed?

Maybe a problem in webclient?

Made a little video to demonstrate..
http://dl.dropbox.com/u/5636258/openerp-follow-up-sent.ogv (~12MB)

Hope this helps
thomi

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

Title:
  account_followup uses SQL query for getting data, cirmumventing
  security rules

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  this happens in v6 and trunk

  Hi. 
  Currently account_followup uses SQL queries to get invoice and partners to sent followups to. This doesn't take security rules into account, which is wrong. And ORM way would do the right thing here. 

  For example a very bad effect of this is that in a multicompany
  situation any user sees the open invoices of other companies, which
  shouldn't be.

  The interesting stuff happens here:
  http://bazaar.launchpad.net/~openerp/openobject-
  addons/trunk/view/head:/account_followup/wizard/account_followup_print.py

  Thanks!


References