File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 55
55
],
56
56
"description" : " Inherit Existing Odoo Model"
57
57
},
58
+ "odoo_new_wizard" : {
59
+ "prefix" : " owiz" ,
60
+ "body" : [
61
+ " from odoo import fields, models" ,
62
+ " \n\n class ${1:ModuleName}(models.TransientModel):" ,
63
+ " \t _name = '${2:module.name}'" ,
64
+ " \t _description = '${3:New Description}'" ,
65
+ " \n\t name = fields.Char(string='Name')" ,
66
+ " $0"
67
+ ],
68
+ "description" : " Create New Odoo Wizard"
69
+ },
70
+ "odoo_inherit_wizard" : {
71
+ "prefix" : " owizi" ,
72
+ "body" : [
73
+ " from odoo import models" ,
74
+ " \n\n class ${1:ModuleName}(models.TransientModel):" ,
75
+ " \t _inherit = '${2:module.name}'" ,
76
+ " $0"
77
+ ],
78
+ "description" : " Inherit Existing Odoo Wizard"
79
+ },
58
80
"odoo_test_model" : {
59
81
"prefix" : " omodt" ,
60
82
"body" : [
You can’t perform that action at this time.
0 commit comments