Skip to content
Snippets Groups Projects
Commit 066cfc95 authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[IMP] website_[blog|event|forum|sale|slide]: make website specific


Set up env & tools for module website multiwebsite (blog, event, sale..)
website_id in modelConverter and ir_rule

add _compute_domain_keys to have a different cache per website
  or rules would not be correctly website_dependant
  eg: blog 1 on website 1, blog 2 on website 2
      access blog 1 from website 1 => can access -> normal
      access blog 1 from website 2 => can access -> should crash because (ir rule)

split mixing website.published.mixin and website.published.multi.mixin to have
website_id only on last one.
 multi mixing will:
     - override website_published compute to take current_website into account (not in backend)
     - force website when clicking on published in backend

- website blog, website_sale, website_event, website_forum, website_slides are now multi website

Co-authored-by: default avatarDerie Romain <rde@odoo.com>
Co-authored-by: default avatarKersten Jérémy <jke@odoo.com>
parent 8300155c
No related branches found
No related tags found
No related merge requests found
Showing
with 200 additions and 87 deletions
Loading
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