@gisce/react-ooui 2.0.0-alpha.19 → 2.0.0-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/actionbar/AttachmentsButton.d.ts.map +1 -1
  2. package/dist/actionbar/ButtonWithBadge.d.ts.map +1 -1
  3. package/dist/actionbar/DashboardActionBar.d.ts.map +1 -1
  4. package/dist/context/ActionViewContext.d.ts.map +1 -1
  5. package/dist/context/DashboardActionContext.d.ts.map +1 -1
  6. package/dist/context/FormModalContext.d.ts.map +1 -1
  7. package/dist/context/One2manyContext.d.ts.map +1 -1
  8. package/dist/helpers/logInfoHelper.d.ts.map +1 -1
  9. package/dist/react-ooui.es.js +46 -37
  10. package/dist/react-ooui.es.js.map +1 -1
  11. package/dist/ui/ConfirmDialog.d.ts +1 -1
  12. package/dist/ui/GoToResourceModal.d.ts.map +1 -1
  13. package/dist/widgets/base/Separator.d.ts.map +1 -1
  14. package/dist/widgets/custom/Avatar.d.ts.map +1 -1
  15. package/dist/widgets/custom/Markdown.d.ts.map +1 -1
  16. package/dist/widgets/custom/Radio.d.ts.map +1 -1
  17. package/dist/widgets/custom/Steps.d.ts.map +1 -1
  18. package/dist/widgets/custom/Switch.d.ts.map +1 -1
  19. package/dist/widgets/modals/SearchModal.d.ts.map +1 -1
  20. package/dist/widgets/views/searchFilter/SearchBottomBar.d.ts.map +1 -1
  21. package/dist/widgets/views/searchFilter/SearchField.d.ts.map +1 -1
  22. package/dist/widgets/views/searchFilter/SearchParams.d.ts.map +1 -1
  23. package/package.json +2 -2
  24. package/src/ConnectionProvider.ts +1 -1
  25. package/src/__tests__/iconMapper.test.ts +4 -4
  26. package/src/actionbar/AttachmentsButton.tsx +25 -23
  27. package/src/actionbar/AttachmentsButtonWrapper.tsx +2 -2
  28. package/src/actionbar/ButtonWithBadge.tsx +4 -2
  29. package/src/actionbar/ChangeViewButton.tsx +1 -1
  30. package/src/actionbar/DashboardActionBar.tsx +2 -6
  31. package/src/actionbar/FormActionBar.tsx +2 -2
  32. package/src/actionbar/NewButton.tsx +1 -1
  33. package/src/actionbar/TreeActionBar.tsx +2 -2
  34. package/src/context/ActionViewContext.tsx +7 -3
  35. package/src/context/DashboardActionContext.tsx +2 -3
  36. package/src/context/FormModalContext.tsx +2 -3
  37. package/src/context/LocaleContext.tsx +1 -1
  38. package/src/context/One2manyContext.tsx +3 -4
  39. package/src/helpers/containerHelper.ts +1 -1
  40. package/src/helpers/dynamicColumnsHelper.ts +2 -2
  41. package/src/helpers/iconMapper.ts +5 -5
  42. package/src/helpers/logInfoHelper.tsx +8 -6
  43. package/src/helpers/timeHelper.ts +2 -2
  44. package/src/hooks/useEffectDebugger.ts +2 -2
  45. package/src/hooks/useExport.ts +8 -8
  46. package/src/hooks/useWindowDimensions.ts +1 -1
  47. package/src/stories/Time.stories.tsx +2 -3
  48. package/src/stories/Utils.stories.tsx +1 -3
  49. package/src/stories/containers/Group.stories.tsx +2 -3
  50. package/src/stories/containers/Notebook.stories.tsx +0 -6
  51. package/src/stories/custom/Comments.stories.tsx +32 -25
  52. package/src/stories/forms/FormWithLinks.stories.tsx +1 -2
  53. package/src/stories/forms/PreferencesForm.stories.tsx +1 -2
  54. package/src/stories/mocks/mockProvider.ts +5 -2
  55. package/src/stories/mocks/models/attachment.ts +1 -2
  56. package/src/stories/mocks/models/butlleti.ts +249 -297
  57. package/src/stories/mocks/models/company.ts +2 -4
  58. package/src/stories/mocks/models/document.ts +2 -4
  59. package/src/stories/mocks/models/factura.ts +14 -28
  60. package/src/stories/mocks/models/form_with_gridfiber.ts +2 -4
  61. package/src/stories/mocks/models/hist_autoconsum.ts +2 -4
  62. package/src/stories/mocks/models/lead.ts +8 -16
  63. package/src/stories/mocks/models/modcontractual.ts +3 -6
  64. package/src/stories/mocks/models/partner.ts +20 -40
  65. package/src/stories/mocks/models/polissa.ts +6 -12
  66. package/src/stories/mocks/models/res_partner_category.ts +3 -3
  67. package/src/stories/mocks/models/signatura.ts +135 -195
  68. package/src/stories/mocks/models/switching.ts +2 -4
  69. package/src/stories/views/Tree.stories.jsx +3 -5
  70. package/src/stories/views/searchFilter/examples/PartnersSearchFilter.stories.tsx +15 -30
  71. package/src/ui/ConfirmDialog.tsx +1 -1
  72. package/src/ui/GoToResourceModal.tsx +7 -3
  73. package/src/views/CurrentTabContent.tsx +1 -1
  74. package/src/views/TabContent.tsx +1 -1
  75. package/src/views/TabSelector.tsx +1 -1
  76. package/src/views/actionViews/DashboardActionView.tsx +1 -1
  77. package/src/views/actionViews/GraphActionView.tsx +1 -1
  78. package/src/views/actionViews/TreeActionView.tsx +2 -2
  79. package/src/widgets/WidgetFactory.tsx +1 -1
  80. package/src/widgets/base/FloatTime.tsx +1 -1
  81. package/src/widgets/base/Reference.tsx +1 -1
  82. package/src/widgets/base/ReferenceTree.tsx +1 -1
  83. package/src/widgets/base/Separator.tsx +3 -4
  84. package/src/widgets/base/many2one/Many2oneSuffixModal.tsx +2 -2
  85. package/src/widgets/base/one2many/One2many.tsx +2 -2
  86. package/src/widgets/custom/Avatar.tsx +15 -7
  87. package/src/widgets/custom/Markdown.tsx +12 -8
  88. package/src/widgets/custom/Radio.tsx +2 -4
  89. package/src/widgets/custom/Steps.tsx +10 -9
  90. package/src/widgets/custom/Switch.tsx +1 -5
  91. package/src/widgets/modals/SearchModal.tsx +31 -29
  92. package/src/widgets/modals/TranslationModal.tsx +2 -2
  93. package/src/widgets/views/Dashboard/Dashboard.tsx +3 -3
  94. package/src/widgets/views/DashboardGrid/DashboardGrid.tsx +3 -3
  95. package/src/widgets/views/Graph/Graph.tsx +1 -1
  96. package/src/widgets/views/Graph/GraphChart.tsx +1 -1
  97. package/src/widgets/views/Graph/GraphDefaults.ts +2 -2
  98. package/src/widgets/views/SearchTree.tsx +2 -2
  99. package/src/widgets/views/searchFilter/SearchBottomBar.tsx +2 -6
  100. package/src/widgets/views/searchFilter/SearchField.tsx +5 -1
  101. package/src/widgets/views/searchFilter/SearchFilter.tsx +1 -1
  102. package/src/widgets/views/searchFilter/SearchParams.tsx +7 -4
@@ -1,344 +1,296 @@
1
1
  export default {
2
2
  model: "giscedata.butlleti",
3
- exampleValues: {
4
- },
3
+ exampleValues: {},
5
4
  tree: {
6
- "arch": "<tree string=\"Butlletins\">\n <field name=\"cups_id\"/>\n <field name=\"name\"/>\n <field name=\"data\"/>\n <field name=\"data_vigencia\"/>\n <field name=\"partner_id\"/>\n <field name=\"partner_address_id\"/>\n <field name=\"pot_max_admisible\"/>\n <field name=\"dades_installacio\"/>\n <field name=\"activitat_us\"/>\n <field name=\"data_provisional_obra\"/>\n </tree>",
7
- "field_parent": false,
8
- "fields": {
9
- "activitat_us": {
10
- "context": "",
11
- "domain": [],
12
- "relation": "giscedata.butlleti.activitat",
13
- "size": 256,
14
- "string": "Destination usage",
15
- "type": "many2one",
16
- "views": {}
5
+ arch: '<tree string="Butlletins">\n <field name="cups_id"/>\n <field name="name"/>\n <field name="data"/>\n <field name="data_vigencia"/>\n <field name="partner_id"/>\n <field name="partner_address_id"/>\n <field name="pot_max_admisible"/>\n <field name="dades_installacio"/>\n <field name="activitat_us"/>\n <field name="data_provisional_obra"/>\n </tree>',
6
+ field_parent: false,
7
+ fields: {
8
+ activitat_us: {
9
+ context: "",
10
+ domain: [],
11
+ relation: "giscedata.butlleti.activitat",
12
+ size: 256,
13
+ string: "Destination usage",
14
+ type: "many2one",
15
+ views: {},
17
16
  },
18
- "cups_id": {
19
- "context": "",
20
- "domain": [],
21
- "relation": "giscedata.cups.ps",
22
- "required": true,
23
- "size": 40,
24
- "string": "CUPS",
25
- "type": "many2one",
26
- "views": {}
17
+ cups_id: {
18
+ context: "",
19
+ domain: [],
20
+ relation: "giscedata.cups.ps",
21
+ required: true,
22
+ size: 40,
23
+ string: "CUPS",
24
+ type: "many2one",
25
+ views: {},
27
26
  },
28
- "dades_installacio": {
29
- "selection": [
30
- [
31
- "nova",
32
- "New"
33
- ],
34
- [
35
- "modificacio",
36
- "Modification"
37
- ],
38
- [
39
- "ampliacio",
40
- "Extension"
41
- ]
27
+ dades_installacio: {
28
+ selection: [
29
+ ["nova", "New"],
30
+ ["modificacio", "Modification"],
31
+ ["ampliacio", "Extension"],
42
32
  ],
43
- "string": "Installation type",
44
- "type": "selection",
45
- "views": {}
33
+ string: "Installation type",
34
+ type: "selection",
35
+ views: {},
46
36
  },
47
- "data": {
48
- "string": "Bulletin date",
49
- "type": "date",
50
- "views": {}
37
+ data: {
38
+ string: "Bulletin date",
39
+ type: "date",
40
+ views: {},
51
41
  },
52
- "data_provisional_obra": {
53
- "string": "Construction temporary date",
54
- "type": "date",
55
- "views": {}
42
+ data_provisional_obra: {
43
+ string: "Construction temporary date",
44
+ type: "date",
45
+ views: {},
56
46
  },
57
- "data_vigencia": {
58
- "string": "Effective date",
59
- "type": "date",
60
- "views": {}
47
+ data_vigencia: {
48
+ string: "Effective date",
49
+ type: "date",
50
+ views: {},
61
51
  },
62
- "name": {
63
- "required": true,
64
- "size": 32,
65
- "string": "Expedient Number",
66
- "type": "char",
67
- "views": {}
52
+ name: {
53
+ required: true,
54
+ size: 32,
55
+ string: "Expedient Number",
56
+ type: "char",
57
+ views: {},
68
58
  },
69
- "partner_address_id": {
70
- "context": "",
71
- "domain": [],
72
- "relation": "res.partner.address",
73
- "size": 64,
74
- "string": "Installer company address",
75
- "type": "many2one",
76
- "views": {}
59
+ partner_address_id: {
60
+ context: "",
61
+ domain: [],
62
+ relation: "res.partner.address",
63
+ size: 64,
64
+ string: "Installer company address",
65
+ type: "many2one",
66
+ views: {},
77
67
  },
78
- "partner_id": {
79
- "context": "",
80
- "domain": [],
81
- "relation": "res.partner",
82
- "size": 64,
83
- "string": "Installer company",
84
- "type": "many2one",
85
- "views": {}
68
+ partner_id: {
69
+ context: "",
70
+ domain: [],
71
+ relation: "res.partner",
72
+ size: 64,
73
+ string: "Installer company",
74
+ type: "many2one",
75
+ views: {},
76
+ },
77
+ pot_max_admisible: {
78
+ digits: [16, 3],
79
+ string: "Max. Acceptable Pow.",
80
+ type: "float",
81
+ views: {},
86
82
  },
87
- "pot_max_admisible": {
88
- "digits": [
89
- 16,
90
- 3
91
- ],
92
- "string": "Max. Acceptable Pow.",
93
- "type": "float",
94
- "views": {}
95
- }
96
83
  },
97
- "model": "giscedata.butlleti",
98
- "name": "giscedata.butlleti.tree",
99
- "search_fields": {
100
- "primary": [],
101
- "secondary": []
84
+ model: "giscedata.butlleti",
85
+ name: "giscedata.butlleti.tree",
86
+ search_fields: {
87
+ primary: [],
88
+ secondary: [],
102
89
  },
103
- "toolbar": {
104
- "action": [],
105
- "print": [],
106
- "relate": [
90
+ toolbar: {
91
+ action: [],
92
+ print: [],
93
+ relate: [
107
94
  {
108
- "auto_refresh": 0,
109
- "context": "{}",
110
- "domain": "[('id', '=', active_id)]",
111
- "groups_id": [],
112
- "id": -1,
113
- "limit": 0,
114
- "name": "Class to create an installer company bulletin\n ",
115
- "res_model": "giscedata.butlleti",
116
- "src_model": "giscedata.butlleti",
117
- "string": "Class to create an installer company bulletin\n ",
118
- "target": "current",
119
- "type": "ir.actions.act_window",
120
- "usage": "",
121
- "view_id": false,
122
- "view_ids": [],
123
- "view_mode": "tree,form",
124
- "view_type": "form",
125
- "views": [
126
- [
127
- false,
128
- "tree"
129
- ],
130
- [
131
- false,
132
- "form"
133
- ]
134
- ]
135
- }
136
- ]
95
+ auto_refresh: 0,
96
+ context: "{}",
97
+ domain: "[('id', '=', active_id)]",
98
+ groups_id: [],
99
+ id: -1,
100
+ limit: 0,
101
+ name: "Class to create an installer company bulletin\n ",
102
+ res_model: "giscedata.butlleti",
103
+ src_model: "giscedata.butlleti",
104
+ string: "Class to create an installer company bulletin\n ",
105
+ target: "current",
106
+ type: "ir.actions.act_window",
107
+ usage: "",
108
+ view_id: false,
109
+ view_ids: [],
110
+ view_mode: "tree,form",
111
+ view_type: "form",
112
+ views: [
113
+ [false, "tree"],
114
+ [false, "form"],
115
+ ],
116
+ },
117
+ ],
137
118
  },
138
- "type": "tree",
139
- "view_id": 1645
119
+ type: "tree",
120
+ view_id: 1645,
140
121
  },
141
122
  form: {
142
- "arch": "<form string=\"Butlletí\">\n <field name=\"cups_id\" select=\"1\" colspan=\"4\"/>\n <field name=\"name\" select=\"1\"/>\n <group colspan=\"2\" col=\"4\">\n <field name=\"data\" select=\"2\"/>\n <field name=\"data_vigencia\" select=\"2\"/>\n </group>\n <field name=\"partner_id\" select=\"1\" colspan=\"4\"/>\n <field name=\"partner_address_id\" domain=\"[('partner_id','=', partner_id)]\" colspan=\"4\"/>\n <field name=\"installador_id\" select=\"1\" colspan=\"4\"/>\n <separator string=\"Dades d'ús\" colspan=\"4\"/>\n <field name=\"activitat_us\"/>\n <field name=\"dades_installacio\" select=\"2\"/>\n <field name=\"data_provisional_obra\" select=\"2\"/>\n <field name=\"numero_installacio\"/>\n <separator string=\"Dades tècniques\" colspan=\"4\"/>\n <field name=\"derivacio_individual\"/>\n <field name=\"pot_max_admisible\" select=\"2\"/>\n <field name=\"pot_installada\"/>\n <field name=\"resistencia_terra\"/>\n <field name=\"resistencia_aillament\"/>\n <field name=\"interruptor_diferencial\"/>\n <field name=\"has_contract\" select=\"2\"/>\n </form>",
143
- "field_parent": false,
144
- "fields": {
145
- "activitat_us": {
146
- "context": "",
147
- "domain": [],
148
- "relation": "giscedata.butlleti.activitat",
149
- "size": 256,
150
- "string": "Destination usage",
151
- "type": "many2one",
152
- "views": {}
123
+ arch: '<form string="Butlletí">\n <field name="cups_id" select="1" colspan="4"/>\n <field name="name" select="1"/>\n <group colspan="2" col="4">\n <field name="data" select="2"/>\n <field name="data_vigencia" select="2"/>\n </group>\n <field name="partner_id" select="1" colspan="4"/>\n <field name="partner_address_id" domain="[(\'partner_id\',\'=\', partner_id)]" colspan="4"/>\n <field name="installador_id" select="1" colspan="4"/>\n <separator string="Dades d\'ús" colspan="4"/>\n <field name="activitat_us"/>\n <field name="dades_installacio" select="2"/>\n <field name="data_provisional_obra" select="2"/>\n <field name="numero_installacio"/>\n <separator string="Dades tècniques" colspan="4"/>\n <field name="derivacio_individual"/>\n <field name="pot_max_admisible" select="2"/>\n <field name="pot_installada"/>\n <field name="resistencia_terra"/>\n <field name="resistencia_aillament"/>\n <field name="interruptor_diferencial"/>\n <field name="has_contract" select="2"/>\n </form>',
124
+ field_parent: false,
125
+ fields: {
126
+ activitat_us: {
127
+ context: "",
128
+ domain: [],
129
+ relation: "giscedata.butlleti.activitat",
130
+ size: 256,
131
+ string: "Destination usage",
132
+ type: "many2one",
133
+ views: {},
153
134
  },
154
- "cups_id": {
155
- "context": "",
156
- "domain": [],
157
- "relation": "giscedata.cups.ps",
158
- "required": true,
159
- "size": 40,
160
- "string": "CUPS",
161
- "type": "many2one",
162
- "views": {}
135
+ cups_id: {
136
+ context: "",
137
+ domain: [],
138
+ relation: "giscedata.cups.ps",
139
+ required: true,
140
+ size: 40,
141
+ string: "CUPS",
142
+ type: "many2one",
143
+ views: {},
163
144
  },
164
- "dades_installacio": {
165
- "selection": [
166
- [
167
- "nova",
168
- "New"
169
- ],
170
- [
171
- "modificacio",
172
- "Modification"
173
- ],
174
- [
175
- "ampliacio",
176
- "Extension"
177
- ]
145
+ dades_installacio: {
146
+ selection: [
147
+ ["nova", "New"],
148
+ ["modificacio", "Modification"],
149
+ ["ampliacio", "Extension"],
178
150
  ],
179
- "string": "Installation type",
180
- "type": "selection",
181
- "views": {}
151
+ string: "Installation type",
152
+ type: "selection",
153
+ views: {},
182
154
  },
183
- "data": {
184
- "string": "Bulletin date",
185
- "type": "date",
186
- "views": {}
155
+ data: {
156
+ string: "Bulletin date",
157
+ type: "date",
158
+ views: {},
187
159
  },
188
- "data_provisional_obra": {
189
- "string": "Construction temporary date",
190
- "type": "date",
191
- "views": {}
160
+ data_provisional_obra: {
161
+ string: "Construction temporary date",
162
+ type: "date",
163
+ views: {},
192
164
  },
193
- "data_vigencia": {
194
- "string": "Effective date",
195
- "type": "date",
196
- "views": {}
165
+ data_vigencia: {
166
+ string: "Effective date",
167
+ type: "date",
168
+ views: {},
197
169
  },
198
- "derivacio_individual": {
199
- "size": 256,
200
- "string": "Individual derivation section",
201
- "type": "char",
202
- "views": {}
170
+ derivacio_individual: {
171
+ size: 256,
172
+ string: "Individual derivation section",
173
+ type: "char",
174
+ views: {},
203
175
  },
204
- "has_contract": {
205
- "digits": [
206
- 16,
207
- 2
208
- ],
209
- "readonly": 1,
210
- "string": "Has active contract",
211
- "type": "boolean",
212
- "views": {}
176
+ has_contract: {
177
+ digits: [16, 2],
178
+ readonly: 1,
179
+ string: "Has active contract",
180
+ type: "boolean",
181
+ views: {},
213
182
  },
214
- "installador_id": {
215
- "context": "",
216
- "domain": [],
217
- "relation": "res.partner",
218
- "size": 64,
219
- "string": "Installer",
220
- "type": "many2one",
221
- "views": {}
183
+ installador_id: {
184
+ context: "",
185
+ domain: [],
186
+ relation: "res.partner",
187
+ size: 64,
188
+ string: "Installer",
189
+ type: "many2one",
190
+ views: {},
222
191
  },
223
- "interruptor_diferencial": {
224
- "string": "Differential Sw. Intensity",
225
- "type": "float",
226
- "views": {}
192
+ interruptor_diferencial: {
193
+ string: "Differential Sw. Intensity",
194
+ type: "float",
195
+ views: {},
227
196
  },
228
- "name": {
229
- "required": true,
230
- "size": 32,
231
- "string": "Expedient Number",
232
- "type": "char",
233
- "views": {}
197
+ name: {
198
+ required: true,
199
+ size: 32,
200
+ string: "Expedient Number",
201
+ type: "char",
202
+ views: {},
234
203
  },
235
- "numero_installacio": {
236
- "size": 32,
237
- "string": "Installation number",
238
- "type": "char",
239
- "views": {}
204
+ numero_installacio: {
205
+ size: 32,
206
+ string: "Installation number",
207
+ type: "char",
208
+ views: {},
240
209
  },
241
- "partner_address_id": {
242
- "context": "",
243
- "domain": [],
244
- "relation": "res.partner.address",
245
- "size": 64,
246
- "string": "Installer company address",
247
- "type": "many2one",
248
- "views": {}
210
+ partner_address_id: {
211
+ context: "",
212
+ domain: [],
213
+ relation: "res.partner.address",
214
+ size: 64,
215
+ string: "Installer company address",
216
+ type: "many2one",
217
+ views: {},
249
218
  },
250
- "partner_id": {
251
- "context": "",
252
- "domain": [],
253
- "relation": "res.partner",
254
- "size": 64,
255
- "string": "Installer company",
256
- "type": "many2one",
257
- "views": {}
219
+ partner_id: {
220
+ context: "",
221
+ domain: [],
222
+ relation: "res.partner",
223
+ size: 64,
224
+ string: "Installer company",
225
+ type: "many2one",
226
+ views: {},
258
227
  },
259
- "pot_installada": {
260
- "digits": [
261
- 16,
262
- 3
263
- ],
264
- "string": "Installed power",
265
- "type": "float",
266
- "views": {}
228
+ pot_installada: {
229
+ digits: [16, 3],
230
+ string: "Installed power",
231
+ type: "float",
232
+ views: {},
267
233
  },
268
- "pot_max_admisible": {
269
- "digits": [
270
- 16,
271
- 3
272
- ],
273
- "string": "Max. Acceptable Pow.",
274
- "type": "float",
275
- "views": {}
234
+ pot_max_admisible: {
235
+ digits: [16, 3],
236
+ string: "Max. Acceptable Pow.",
237
+ type: "float",
238
+ views: {},
239
+ },
240
+ resistencia_aillament: {
241
+ string: "Insulation resistence",
242
+ type: "float",
243
+ views: {},
276
244
  },
277
- "resistencia_aillament": {
278
- "string": "Insulation resistence",
279
- "type": "float",
280
- "views": {}
245
+ resistencia_terra: {
246
+ string: "Earthing resistance",
247
+ type: "float",
248
+ views: {},
281
249
  },
282
- "resistencia_terra": {
283
- "string": "Earthing resistance",
284
- "type": "float",
285
- "views": {}
286
- }
287
250
  },
288
- "model": "giscedata.butlleti",
289
- "name": "giscedata.butlleti.form",
290
- "search_fields": {
291
- "primary": [
292
- "cups_id",
293
- "name",
294
- "partner_id",
295
- "installador_id"
296
- ],
297
- "secondary": [
251
+ model: "giscedata.butlleti",
252
+ name: "giscedata.butlleti.form",
253
+ search_fields: {
254
+ primary: ["cups_id", "name", "partner_id", "installador_id"],
255
+ secondary: [
298
256
  "has_contract",
299
257
  "data_provisional_obra",
300
258
  "dades_installacio",
301
259
  "data_vigencia",
302
260
  "data",
303
- "pot_max_admisible"
304
- ]
261
+ "pot_max_admisible",
262
+ ],
305
263
  },
306
- "toolbar": {
307
- "action": [],
308
- "print": [],
309
- "relate": [
264
+ toolbar: {
265
+ action: [],
266
+ print: [],
267
+ relate: [
310
268
  {
311
- "auto_refresh": 0,
312
- "context": "{}",
313
- "domain": "[('id', '=', active_id)]",
314
- "groups_id": [],
315
- "id": -1,
316
- "limit": 0,
317
- "name": "Class to create an installer company bulletin\n ",
318
- "res_model": "giscedata.butlleti",
319
- "src_model": "giscedata.butlleti",
320
- "string": "Class to create an installer company bulletin\n ",
321
- "target": "current",
322
- "type": "ir.actions.act_window",
323
- "usage": "",
324
- "view_id": false,
325
- "view_ids": [],
326
- "view_mode": "tree,form",
327
- "view_type": "form",
328
- "views": [
329
- [
330
- false,
331
- "tree"
332
- ],
333
- [
334
- false,
335
- "form"
336
- ]
337
- ]
338
- }
339
- ]
269
+ auto_refresh: 0,
270
+ context: "{}",
271
+ domain: "[('id', '=', active_id)]",
272
+ groups_id: [],
273
+ id: -1,
274
+ limit: 0,
275
+ name: "Class to create an installer company bulletin\n ",
276
+ res_model: "giscedata.butlleti",
277
+ src_model: "giscedata.butlleti",
278
+ string: "Class to create an installer company bulletin\n ",
279
+ target: "current",
280
+ type: "ir.actions.act_window",
281
+ usage: "",
282
+ view_id: false,
283
+ view_ids: [],
284
+ view_mode: "tree,form",
285
+ view_type: "form",
286
+ views: [
287
+ [false, "tree"],
288
+ [false, "form"],
289
+ ],
290
+ },
291
+ ],
340
292
  },
341
- "type": "form",
342
- "view_id": 1646
293
+ type: "form",
294
+ view_id: 1646,
343
295
  },
344
- }
296
+ };