Skip to content

Commit 0047125

Browse files
committed
[FIX] Selection field
1 parent a30adf1 commit 0047125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/python.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"odoo_field_selection": {
143143
"prefix": "ofsel",
144144
"body": [
145-
"${1:new_field} = fields.Selection(string='${1}', selection=[('${2}', '${3}'), ('${4}', '${5}'),])",
145+
"${1:new_field} = fields.Selection(string='${2}', selection=[('${3}', '${4}'), ('${5}', '${6}'),])",
146146
"$0"
147147
],
148148
"description": "Add new field of type Selection"

0 commit comments

Comments
 (0)