-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! [FIX] tg_website_sale_affiliate: remove partner unique constraint
- Loading branch information
Showing
2 changed files
with
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": """Affiliate Program customizations for Tribal Gathering""", | ||
"version": "14.0.0.1.0", | ||
"version": "14.0.0.1.1", | ||
"author": "IT-Projects LLC, Eugene Molotov", | ||
"support": "[email protected]", | ||
"website": "https://github.com/it-projects-llc/tg-addons", | ||
|
7 changes: 7 additions & 0 deletions
7
tg_website_sale_affiliate/migrations/14.0.0.1.1/post-remove-constraint.py
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,7 @@ | ||
def migrate(cr, installed_version): | ||
cr.execute( | ||
""" | ||
ALTER TABLE sale_affiliate | ||
DROP CONSTRAINT IF EXISTS sale_affiliate_partner_id_unique | ||
""" | ||
) |