Skip to content

Commit

Permalink
fixup! [FIX] tg_website_sale_affiliate: remove partner unique constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
em230418 committed Mar 4, 2024
1 parent aad1165 commit efcc21c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tg_website_sale_affiliate/__manifest__.py
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",
Expand Down
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
"""
)

0 comments on commit efcc21c

Please sign in to comment.