13 lines
380 B
Python
13 lines
380 B
Python
# -*- coding: utf-8 -*-
|
|
# Phase 6 (Sub 11) — drop legacy MRP column from fp_racking_inspection.
|
|
|
|
import logging
|
|
_logger = logging.getLogger(__name__)
|
|
|
|
|
|
def migrate(cr, version):
|
|
if not version:
|
|
return
|
|
cr.execute("ALTER TABLE fp_racking_inspection DROP COLUMN IF EXISTS production_id")
|
|
_logger.info("Sub 11: dropped production_id from fp_racking_inspection")
|