mirror of
https://github.com/bringout/oca-ocb-hw.git
synced 2026-04-23 21:22:01 +02:00
Move 7 IoT modules to oca-ocb-hw and 9 product modules to oca-product
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e4803a70af
commit
b1d16a46bf
292 changed files with 19657 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright 2021 Creu Blanca
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
_column_renames = {
|
||||
"iot_device_output": [("system_id", "communication_system_id")],
|
||||
"iot_device_output_action": [
|
||||
("system_action_id", "communication_system_action_id")
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
openupgrade.rename_columns(env.cr, _column_renames)
|
||||
Loading…
Add table
Add a link
Reference in a new issue