File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ def format_class(name):
6
6
return name.replace(' .' , ' ' ).title().replace(' ' , ' ' )
7
7
endglobal
8
8
9
+ snippet pdb
10
+ import pdb; pdb.set_trace();
11
+ endsnippet
12
+
9
13
snippet imodel
10
14
from odoo import models
11
15
${1}
@@ -34,9 +38,9 @@ endsnippet
34
38
35
39
snippet start
36
40
# -*- coding: utf-8 -*-
37
- # Copyright 2019 Akretion (http ://www.akretion.com).
38
- # @author Sébastien BEAU <sebastien.beau@akretion.com >
39
- # License AGPL-3.0 or later (http ://www.gnu.org/licenses/agpl).
41
+ # Copyright ` date +% Y ` Akretion (https ://www.akretion.com).
42
+ # @author ` git config user .name ` < ` git config user .email ` >
43
+ # License AGPL-3.0 or later (https ://www.gnu.org/licenses/agpl).
40
44
${1}
41
45
endsnippet
42
46
110
114
endsnippet
111
115
112
116
snippet ffl " float"
113
- ${1: fieldname } = fields.float (digits_compute=dp.get_precision('${2: PrecisionName } ')${3} )${4}
117
+ ${1: fieldname } = fields.Float (digits_compute=dp.get_precision('${2: PrecisionName } ')${3} )${4}
114
118
endsnippet
115
119
116
120
snippet fbo " boolean"
You can’t perform that action at this time.
0 commit comments