Allows to use new variables to be used in domain_force
field of Record Rules (ir.rule
):
website_ids
-- equal tocontext["allowed_website_ids"]
(see moduleweb_website
)websites
-- browsedwebsite_ids
For your information: Odoo provides website
variable, which is equal to current website in frontend and is empty in backend
Example of usage:
- Show a blog on specific websites only (TODO: add link to the module)
- Show an event on specific websites only (TODO: add link to the module)
- Show a product on specific websites only (TODO: add link to the module)
- This module can be merged to
web_website
module - Website rules don't work for
/mail/read_followers
method: itpp-labs#232
-
To get a guaranteed support you are kindly requested to purchase the module at odoo apps store.
Thank you for understanding!
Demo: http://runbot.it-projects.info/demo/access-addons/13.0
HTML Description: https://apps.odoo.com/apps/modules/13.0/ir_rule_website
Usage instructions: doc/index.rst
Changelog: doc/changelog.rst
Tested on Odoo 13.0 669203b6a86c1c2d8463dc34b8674b2a38010ed0