mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-20 10:31:59 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright 2023 Camptocamp SA
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
|
||||
|
||||
|
||||
def migrate(cr, version):
|
||||
"""Set nonconformity stages from module data as noupdate."""
|
||||
cr.execute(
|
||||
"""
|
||||
UPDATE ir_model_data
|
||||
SET noupdate = TRUE
|
||||
WHERE module = 'mgmtsystem_nonconformity'
|
||||
AND model = 'mgmtsystem.nonconformity.stage';
|
||||
"""
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue