mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_move_force_removal: buggy migration script
Running the migration script fails with:
AttributeError: 'psycopg2.extensions.cursor' object has no attribute 'ref'
@moduon
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
users_billing = env.ref("account.group_account_invoice").users
|
||||
group = env.ref("account_move_force_removal.group_account_move_force_removal")
|
||||
|
||||
Reference in New Issue
Block a user