@@ -61,46 +61,55 @@ This extension provide support to following languages (file extensions):
61
61
62
62
* Python (.py)
63
63
* XML (.xml)
64
+ * CSV (.csv)
64
65
65
66
Below is a list of all available snippets.
66
67
67
68
<details >
68
69
<summary >Python snippets</summary >
69
70
70
- | Snippet | Description |
71
- | ----------- | --------------------------------- |
72
- | ` oman ` | Create Odoo Manifest |
73
- | ` omod ` | Create New Odoo Model |
74
- | ` omodi ` | Inherit Existing Odoo Model |
75
- | ` owiz ` | Create New Odoo wizard |
76
- | ` owizi ` | Inherit Existing Odoo wizard |
77
- | ` omodt ` | Create Test to Odoo Model |
78
- | ` ofbin ` | Add new field Binary |
79
- | ` ofbool ` | Add new field Boolean |
80
- | ` ofchar ` | Add new field Char |
81
- | ` ofdate ` | Add new field Date |
82
- | ` oftime ` | Add new field DateTime |
83
- | ` offloat ` | Add new field Float |
84
- | ` ofhtml ` | Add new field HTML |
85
- | ` ofint ` | Add new field Integer |
86
- | ` oftxt ` | Add new field Text |
87
- | ` ofsel ` | Add new field Selection |
88
- | ` ofm2o ` | Add new field Many2one |
89
- | ` ofm2m ` | Add new field Many2many |
90
- | ` ofo2m ` | Add new field One2many |
91
- | ` omcreate ` | Add a method create |
92
- | ` omwrite ` | Add a method write |
93
- | ` omunlink ` | Add a method unlink |
94
- | ` omcomp ` | Add a method compute |
95
- | ` omchange ` | Add a method onchange |
96
- | ` ousercomp ` | Add self.user.company_id snippets |
71
+ | Python Snippet | Description |
72
+ | -------------- | -------------------------- |
73
+ | ` ipdb ` | Import Python ipdb command |
74
+
75
+
76
+ | Odoo Snippet | Description |
77
+ | ------------ | -------------------------------------- |
78
+ | ` oman ` | Create Odoo Manifest |
79
+ | ` omod ` | Create New Odoo Model |
80
+ | ` omodi ` | Inherit Existing Odoo Model |
81
+ | ` owiz ` | Create New Odoo wizard |
82
+ | ` owizi ` | Inherit Existing Odoo wizard |
83
+ | ` omodt ` | Create Test to Odoo Model |
84
+ | ` ofbin ` | Add new field Binary |
85
+ | ` ofbool ` | Add new field Boolean |
86
+ | ` ofchar ` | Add new field Char |
87
+ | ` ofdate ` | Add new field Date |
88
+ | ` oftime ` | Add new field DateTime |
89
+ | ` offloat ` | Add new field Float |
90
+ | ` ofhtml ` | Add new field HTML |
91
+ | ` ofint ` | Add new field Integer |
92
+ | ` oftxt ` | Add new field Text |
93
+ | ` ofsel ` | Add new field Selection |
94
+ | ` ofm2o ` | Add new field Many2one |
95
+ | ` ofm2m ` | Add new field Many2many |
96
+ | ` ofo2m ` | Add new field One2many |
97
+ | ` omcreate ` | Add a method create |
98
+ | ` omwrite ` | Add a method write |
99
+ | ` omunlink ` | Add a method unlink |
100
+ | ` omcomp ` | Add a method compute |
101
+ | ` omchange ` | Add a method onchange |
102
+ | ` ousercomp ` | Add self.user.company_id snippets |
103
+ | ` oimp ` | Add Odoo import snippets |
104
+ | ` oimpt ` | Add Import to Odoo Tests snippets |
105
+ | ` oimper ` | Add Import to Odoo Exceptions snippets |
97
106
98
107
</details >
99
108
100
109
<details >
101
110
<summary >XML snippets</summary >
102
111
103
- | Snippet | Description |
112
+ | XML Snippet | Description |
104
113
| ------------ | ---------------------------------------- |
105
114
| ` odoo ` | Create Odoo Tag |
106
115
| ` oform ` | Create Form View |
@@ -133,13 +142,11 @@ Below is a list of all available snippets.
133
142
| ` ogroup ` | Add group tag on View |
134
143
| ` ofield ` | Add Field on View |
135
144
| ` odata ` | Add data tag on View |
145
+ | ` ochatter ` | Add chatter tag on View |
136
146
137
- </details >
138
-
139
- <details >
140
- <summary >QWeb snippets</summary >
147
+ <!-- <summary>QWeb snippets</summary> -->
141
148
142
- | Snippet | Description |
149
+ | Qweb Snippet | Description |
143
150
| ------------ | ---------------------------------------------- |
144
151
| ` oreport ` | Create report record on View |
145
152
| ` otemplate ` | Create template tag |
@@ -148,13 +155,24 @@ Below is a list of all available snippets.
148
155
| ` otforeach ` | Add t-foreach tag on View |
149
156
| ` otif ` | Add t-if tag on View |
150
157
| ` otelif ` | Add t-elif tag on View |
151
- | `otifelse | Add t-if-else tag on View |
158
+ | ` otifelse ` | Add t-if-else tag on View |
152
159
| ` otraw ` | Add t-raw tag on View |
153
160
| ` otesc ` | Add t-esc tag on View |
154
161
| ` otset ` | Add t-set tag on View |
155
162
| ` otfield ` | Add t-field tag on View |
156
163
| ` otimg ` | Add img tag with ` t-att-src ` attribute on View |
157
164
165
+ </details >
166
+
167
+ <details >
168
+ <summary >CSV snippets</summary >
169
+
170
+ | CSVSnippet | Description |
171
+ | ------------------- | ------------------------------- |
172
+ | ` ocolumns ` | Create columns to access groups |
173
+ | ` odoo_access_entry ` | Create entry to access groups |
174
+
175
+
158
176
</details >
159
177
160
178
## Contributing
@@ -169,4 +187,4 @@ See [changelog](CHANGELOG.md).
169
187
170
188
This snippets are based in [ odoo-pycharm-templates] ( https://github.com/mohamedmagdy/odoo-pycharm-templates ) project.
171
189
172
- Copyright (C) 2018-2022 by Michell Stuttgart
190
+ Copyright (C) 2018-2023 by Michell Stuttgart
0 commit comments