Skip to content

Commit b515d1e

Browse files
committed
[FIX] sale: Fix domain for optional products
There was a missing comma and Travis doesn't check this part.
1 parent d253e32 commit b515d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/sale/migrations/13.0.1.1/post-migration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def check_optional_products(env):
7070
env.cr.execute("SELECT COUNT(*) FROM product_optional_rel")
7171
if env.cr.fetchone()[0] > 0:
7272
module = env["ir.module.module"].search(
73-
[("name", "=" "sale_product_configurator")]
73+
[("name", "=", "sale_product_configurator")]
7474
)
7575
if module.state == "uninstalled":
7676
module.write({"state": "to install"})

0 commit comments

Comments
 (0)