print followup fails when can't read partner with id=1
Bug #789215 reported by
Leonardo Pistone
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP Publisher's Warranty Team |
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!
Related branches
lp://staging/~openerp-dev/openobject-addons/6.0-bug-777850-ado
- Leonardo Pistone (community): Needs Fixing
- Jay Vora (Serpent Consulting Services) (community): Approve
- Priyesh (OpenERP): Pending requested
-
Diff: 87 lines (+28/-30)1 file modifiedaccount_followup/wizard/account_followup_print.py (+28/-30)
Changed in openobject-addons: | |
status: | Incomplete → Confirmed |
importance: | Undecided → Low |
status: | Confirmed → In Progress |
milestone: | none → 6.0.3 |
To post a comment you must log in.
Leonardo,
We completely agree that when queries are used statically, they do not respect record rules.
Can you share the traceback of this issue please?
It will lead to identify the problem well.
Thank you for finding out such issues.
This is really appreciable that you have been guiding the way to make the module stronger !