From f93963eac1df85066d1dbd7d375169ae4545ac66 Mon Sep 17 00:00:00 2001 From: oscars8a Date: Tue, 26 Nov 2019 17:12:02 +0100 Subject: [PATCH] [FIX] HTML to Html field constructor --- snippets/python.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/python.json b/snippets/python.json index 3a5cd11..df542d9 100644 --- a/snippets/python.json +++ b/snippets/python.json @@ -118,7 +118,7 @@ "odoo_field_html": { "prefix": "ofhtml", "body": [ - "${1:new_field} = fields.HTML(string='${2}')", + "${1:new_field} = fields.Html(string='${2}')", "$0" ], "description": "Add new field of type HTML"