Skip to content
Snippets Groups Projects
Commit 75d2cdd5 authored by konykon's avatar konykon
Browse files

Add the multi-company security rules for the landing.page model

parent 70d264c7
No related branches found
No related tags found
4 merge requests!138Hotfix setup name error,!134Release v14.0.1.1.6,!129Draft: Release v14.0.1.1.5,!111Feature/Landing page
<?xml version="1.0"?>
<odoo>
<record model="ir.rule" id="landing_page_company_rule">
<field name="name">Landing Page multi-company</field>
<field name="model_id" ref="energy_communities.model_landing_page"/>
<field name="global" eval="True"/>
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
</record>
<record model="ir.rule" id="subscription_request_company_rule">
<field name="name">Subscription Request multi-company</field>
<field name="model_id" ref="cooperator.model_subscription_request"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment