Browse Source

[FIX] b_purchase: Post migration script

pull/91/head
Rémy Taymans 5 years ago
parent
commit
9dc49da9dc
  1. 2
      beesdoo_purchase/migrations/9.0.1.1.0/post-migrate.py

2
beesdoo_purchase/migrations/9.0.1.1.0/post-migrate.py

@ -7,6 +7,6 @@ def migrate(cr, version):
""" """
UPDATE purchase_order UPDATE purchase_order
SET supervisor_id = create_uid SET supervisor_id = create_uid
WHERE supervisor_id IS NULL
WHERE supervisor_id IS NULL OR supervisor_id = 1
""" """
) )
Loading…
Cancel
Save