From 632602d1d28c9c4e981f90727397cb4ef72f516e Mon Sep 17 00:00:00 2001 From: Michael Dahl Date: Fri, 3 Feb 2023 17:03:42 +0100 Subject: [PATCH] FIX odoo import --- snippets/python.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/python.json b/snippets/python.json index 33cc66f..4d03af1 100644 --- a/snippets/python.json +++ b/snippets/python.json @@ -268,7 +268,7 @@ "odoo_import_odoo": { "prefix": "oimp", "body": [ - "from odoo.exceptions import _, api, fields, models", + "from odoo import _, api, fields, models", "$0" ], "description" : "Add Odoo import"