mirror of
https://github.com/bringout/oca-website.git
synced 2026-04-21 05:12:09 +02:00
Initial commit: OCA Website packages (16 packages)
This commit is contained in:
commit
0578ef7638
660 changed files with 37334 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
# Copyright 2024 Tecnativa - David Vidal
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
# We're adding cookiebot_enabled to the website so it's easier to disable the
|
||||
# cookiebot scripts temporarily
|
||||
env["website"].search([("cookiebot_dgid", "!=", False)]).cookiebot_enabled = True
|
||||
Loading…
Add table
Add a link
Reference in a new issue