pre-drop-is_unsubscribed.py 188 Bytes
Newer Older
François C. committed
1 2 3 4 5 6 7 8 9
# -*- coding: utf-8 -*-


def drop_is_unsubscribed(cr):
    cr.execute("""ALTER TABLE res_partner DROP COLUMN is_unsubscribed;""")


def migrate(cr, version):
    drop_is_unsubscribed(cr)