oca-payment/packages/odoo-bringout-oca-payment-payment_mode/account_payment_mode/migrations/16.0.2.0.0/post-migrate.py
Ernad Husremovic 99c650f4f5 Initial commit: OCA payment modules from bank-payment
- account_payment_mode: Payment methods configuration
- account_payment_partner: Link payment modes to partners
- account_payment_order: Create and manage payment orders
- account_payment_order_grouped_output: Consolidated accounting entries

Source: OCA/bank-payment branch 16.0
License: AGPL-3.0

🤖 assisted by claude
2025-11-12 15:26:06 +01:00

11 lines
316 B
Python

# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openupgradelib import openupgrade
@openupgrade.migrate()
def migrate(env, version):
"""Migrate note field from Text to Html"""
openupgrade.convert_field_to_html(
env.cr, "account_payment_mode", "note", "note", False, True
)