-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] account_cashbox: Remove obsolete unique constraint from account…
…_cashbox_session due to new constraint added in db574bf#diff-fd2084468cbef678a2cb52e2257b09797d716c4ef6031d237b29f544ff6c0d77L40 closes #531 Signed-off-by: Filoquin adhoc <maq@adhoc.com.ar>
- Loading branch information
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from openupgradelib import openupgrade | ||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
env.cr.execute("ALTER TABLE account_cashbox_session DROP CONSTRAINT IF EXISTS account_cashbox_session_uniq_name") |