Skip to Content
Menu
This question has been flagged
1 Reply
43 Views

I have 2 companies that each have their own sales report. But right now both companies see both reports. How can I make report A invisible for company B, and Report B invisible for company A.

Ever since the upgrade for building reports it has made it very hard for me.

Avatar
Discard
Best Answer

Hi Michael,

Reports don’t have company restrictions by default, but you can handle it in two ways:

  1. Security groups
    • Create a group for each company.
    • Assign the group to the users of that company.
    • In Technical → Reporting → Reports, open your report and set the group that should see it.
  2. Company condition in QWeb (if you’re editing the template)
    • Add a condition like:

      <t t-if="user.company_id.id == 1"> … report content … </t>

    This way only the matching company sees that report.

The cleanest way is via groups per company so users of company A don’t even see the menu/report for company B.

Hope this helps!

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 24
2819
0
Nov 19
8
1
Feb 25
3636
1
Apr 24
1776
2
Mar 24
4725