OCA / reporting-engine

Odoo Alternative Reporting Engine
https://odoo-community.org/project/tools-maintainers-30
GNU Affero General Public License v3.0
335 stars 795 forks source link

BI_VIEW_EDITOR for multi-company #879

Closed micihn closed 5 months ago

micihn commented 6 months ago

So, if there is a multi-company, the report will show from all companies. I don't know any way to filter this except to manage the filters from developer mode.

I think it's good to have a multi-companies security from the module, so the user can't delete the filter and see all records from all companies.

victor-champonnois commented 5 months ago

I agree this would be nice to have. The alternative so far is to use bi_sql_editor, that has multicompany support

legalsylvain commented 5 months ago

Hi @micihn you can create a dedicated ir.rule. this should do the job.