Skip to content

Commit 9f8af29

Browse files
committed
Update README
1 parent cee1fe8 commit 9f8af29

File tree

1 file changed

+53
-35
lines changed

1 file changed

+53
-35
lines changed

README.md

Lines changed: 53 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -61,46 +61,55 @@ This extension provide support to following languages (file extensions):
6161

6262
* Python (.py)
6363
* XML (.xml)
64+
* CSV (.csv)
6465

6566
Below is a list of all available snippets.
6667

6768
<details>
6869
<summary>Python snippets</summary>
6970

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 |
97106

98107
</details>
99108

100109
<details>
101110
<summary>XML snippets</summary>
102111

103-
| Snippet | Description |
112+
| XML Snippet | Description |
104113
| ------------ | ---------------------------------------- |
105114
| `odoo` | Create Odoo Tag |
106115
| `oform` | Create Form View |
@@ -133,13 +142,11 @@ Below is a list of all available snippets.
133142
| `ogroup` | Add group tag on View |
134143
| `ofield` | Add Field on View |
135144
| `odata` | Add data tag on View |
145+
| `ochatter` | Add chatter tag on View |
136146

137-
</details>
138-
139-
<details>
140-
<summary>QWeb snippets</summary>
147+
<!-- <summary>QWeb snippets</summary> -->
141148

142-
| Snippet | Description |
149+
| Qweb Snippet | Description |
143150
| ------------ | ---------------------------------------------- |
144151
| `oreport` | Create report record on View |
145152
| `otemplate` | Create template tag |
@@ -148,13 +155,24 @@ Below is a list of all available snippets.
148155
| `otforeach` | Add t-foreach tag on View |
149156
| `otif` | Add t-if tag on View |
150157
| `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 |
152159
| `otraw` | Add t-raw tag on View |
153160
| `otesc` | Add t-esc tag on View |
154161
| `otset` | Add t-set tag on View |
155162
| `otfield` | Add t-field tag on View |
156163
| `otimg` | Add img tag with `t-att-src` attribute on View |
157164

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+
158176
</details>
159177

160178
## Contributing
@@ -169,4 +187,4 @@ See [changelog](CHANGELOG.md).
169187

170188
This snippets are based in [odoo-pycharm-templates](https://github.com/mohamedmagdy/odoo-pycharm-templates) project.
171189

172-
Copyright (C) 2018-2022 by Michell Stuttgart
190+
Copyright (C) 2018-2023 by Michell Stuttgart

0 commit comments

Comments
 (0)