Browse Source

[FIX] b_purchase: Post migration script

pull/114/head
Rémy Taymans 6 years ago
parent
commit
914c7432ae
  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