@gisce/react-ooui 2.0.0-alpha.62 → 2.0.0-alpha.63

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 (245) hide show
  1. package/dist/react-ooui.es.js +1 -1
  2. package/dist/react-ooui.es.js.map +1 -1
  3. package/package.json +6 -8
  4. package/src/ConnectionProvider.ts +0 -16
  5. package/src/__tests__/iconMapper.test.ts +0 -30
  6. package/src/__tests__/searchFilterHelper.spec.ts +0 -386
  7. package/src/actionbar/ActionButton.tsx +0 -40
  8. package/src/actionbar/AttachmentsButton.tsx +0 -132
  9. package/src/actionbar/AttachmentsButtonWrapper.tsx +0 -157
  10. package/src/actionbar/ButtonWithBadge.tsx +0 -44
  11. package/src/actionbar/ChangeViewButton.tsx +0 -137
  12. package/src/actionbar/DashboardActionBar.tsx +0 -63
  13. package/src/actionbar/DropdownButton.tsx +0 -124
  14. package/src/actionbar/FormActionBar.tsx +0 -491
  15. package/src/actionbar/GraphActionBar.tsx +0 -67
  16. package/src/actionbar/NewButton.tsx +0 -46
  17. package/src/actionbar/SearchBar.tsx +0 -73
  18. package/src/actionbar/TreeActionBar.tsx +0 -383
  19. package/src/common/ButtonWithTooltip.tsx +0 -18
  20. package/src/common/DatePicker.tsx +0 -98
  21. package/src/common/Field.tsx +0 -93
  22. package/src/common/SelectAllRecordsRow.tsx +0 -94
  23. package/src/common/TimePicker.tsx +0 -38
  24. package/src/context/ActionViewContext.tsx +0 -213
  25. package/src/context/ConfigContext.tsx +0 -28
  26. package/src/context/ContentRootContext.tsx +0 -461
  27. package/src/context/DashboardActionContext.tsx +0 -44
  28. package/src/context/FormContext.tsx +0 -79
  29. package/src/context/FormModalContext.tsx +0 -28
  30. package/src/context/LocaleContext.tsx +0 -50
  31. package/src/context/One2manyContext.tsx +0 -45
  32. package/src/context/TabManagerContext.tsx +0 -117
  33. package/src/helpers/containerHelper.ts +0 -145
  34. package/src/helpers/dayjs.ts +0 -21
  35. package/src/helpers/dynamicColumnsHelper.ts +0 -73
  36. package/src/helpers/errorHelper.ts +0 -27
  37. package/src/helpers/filesHelper.ts +0 -41
  38. package/src/helpers/formHelper.ts +0 -301
  39. package/src/helpers/iconMapper.ts +0 -164
  40. package/src/helpers/logInfoHelper.tsx +0 -30
  41. package/src/helpers/one2manyHelper.ts +0 -194
  42. package/src/helpers/searchHelper.ts +0 -196
  43. package/src/helpers/timeHelper.ts +0 -58
  44. package/src/helpers/treeHelper.tsx +0 -226
  45. package/src/helpers/viewHelper.ts +0 -23
  46. package/src/hooks/useEffectDebugger.ts +0 -43
  47. package/src/hooks/useExport.ts +0 -439
  48. package/src/hooks/useFetchViews.ts +0 -0
  49. package/src/hooks/useSearch.ts +0 -434
  50. package/src/hooks/useWindowDimensions.ts +0 -33
  51. package/src/index.ts +0 -168
  52. package/src/locales/ca_ES.tsx +0 -99
  53. package/src/locales/en_US.tsx +0 -96
  54. package/src/locales/es_ES.tsx +0 -101
  55. package/src/stories/Binary.stories.tsx +0 -23
  56. package/src/stories/Boolean.stories.tsx +0 -22
  57. package/src/stories/Button.stories.tsx +0 -130
  58. package/src/stories/Char.stories.tsx +0 -76
  59. package/src/stories/FiberGrid.stories.tsx +0 -109
  60. package/src/stories/Float.stories.tsx +0 -22
  61. package/src/stories/FloatTime.stories.tsx +0 -32
  62. package/src/stories/Image.stories.tsx +0 -25
  63. package/src/stories/Integer.stories.tsx +0 -22
  64. package/src/stories/Label.stories.tsx +0 -100
  65. package/src/stories/Many2one.stories.tsx +0 -31
  66. package/src/stories/One2many.stories.tsx +0 -288
  67. package/src/stories/ProgressBar.stories.tsx +0 -22
  68. package/src/stories/Reference.stories.tsx +0 -43
  69. package/src/stories/Selection.stories.tsx +0 -34
  70. package/src/stories/Separator.stories.tsx +0 -53
  71. package/src/stories/Text.stories.tsx +0 -35
  72. package/src/stories/Time.stories.tsx +0 -31
  73. package/src/stories/Utils.stories.tsx +0 -14
  74. package/src/stories/containers/Group.stories.tsx +0 -84
  75. package/src/stories/containers/NewLine.stories.tsx +0 -52
  76. package/src/stories/containers/Notebook.stories.tsx +0 -188
  77. package/src/stories/custom/Avatar.stories.tsx +0 -22
  78. package/src/stories/custom/ButtonGroup.stories.tsx +0 -74
  79. package/src/stories/custom/CodeEditor.stories.tsx +0 -25
  80. package/src/stories/custom/Comments.stories.tsx +0 -197
  81. package/src/stories/custom/Indicator.stories.tsx +0 -36
  82. package/src/stories/custom/Markdown.stories.tsx +0 -38
  83. package/src/stories/custom/MultiCheckbox.stories.tsx +0 -60
  84. package/src/stories/custom/Radio.stories.tsx +0 -68
  85. package/src/stories/custom/Steps.stories.tsx +0 -43
  86. package/src/stories/custom/Switch.stories.tsx +0 -23
  87. package/src/stories/custom/Tag.stories.tsx +0 -66
  88. package/src/stories/custom/Tags.stories.tsx +0 -74
  89. package/src/stories/dashboard/Dashboard.stories.tsx +0 -23
  90. package/src/stories/dashboard/DashboardGrid.stories.tsx +0 -43
  91. package/src/stories/forms/ActivacioContracteForm.stories.tsx +0 -25
  92. package/src/stories/forms/Attachment.stories.tsx +0 -24
  93. package/src/stories/forms/CUPSForm.stories.tsx +0 -25
  94. package/src/stories/forms/Company.stories.tsx +0 -25
  95. package/src/stories/forms/CrmCaseForm.stories.tsx +0 -25
  96. package/src/stories/forms/Documents.stories.tsx +0 -25
  97. package/src/stories/forms/FormWithGridFiber.stories.tsx +0 -25
  98. package/src/stories/forms/FormWithLinks.stories.tsx +0 -30
  99. package/src/stories/forms/Lead.stories.tsx +0 -25
  100. package/src/stories/forms/ModContractForm.stories.tsx +0 -26
  101. package/src/stories/forms/PartnersForm.stories.tsx +0 -25
  102. package/src/stories/forms/PolissaForm.stories.tsx +0 -25
  103. package/src/stories/forms/PreferencesForm.stories.tsx +0 -691
  104. package/src/stories/forms/Signatures.stories.tsx +0 -25
  105. package/src/stories/forms/Switching.stories.tsx +0 -25
  106. package/src/stories/graphs/GraphIndicator.stories.tsx +0 -20
  107. package/src/stories/graphs/PieGraph.stories.tsx +0 -78
  108. package/src/stories/mocks/index.ts +0 -46
  109. package/src/stories/mocks/mockProvider.ts +0 -189
  110. package/src/stories/mocks/models/activacioContracte.ts +0 -112
  111. package/src/stories/mocks/models/attachment.ts +0 -1326
  112. package/src/stories/mocks/models/butlleti.ts +0 -296
  113. package/src/stories/mocks/models/company.ts +0 -135
  114. package/src/stories/mocks/models/crm_case.ts +0 -595
  115. package/src/stories/mocks/models/cups.ts +0 -937
  116. package/src/stories/mocks/models/document.ts +0 -223
  117. package/src/stories/mocks/models/factura.ts +0 -2713
  118. package/src/stories/mocks/models/form_with_gridfiber.ts +0 -141
  119. package/src/stories/mocks/models/hist_autoconsum.ts +0 -146
  120. package/src/stories/mocks/models/lead.ts +0 -2101
  121. package/src/stories/mocks/models/modcontractual.ts +0 -952
  122. package/src/stories/mocks/models/partner.ts +0 -1340
  123. package/src/stories/mocks/models/polissa.ts +0 -3127
  124. package/src/stories/mocks/models/res_partner_category.ts +0 -15
  125. package/src/stories/mocks/models/signatura.ts +0 -558
  126. package/src/stories/mocks/models/switching.ts +0 -767
  127. package/src/stories/modals/FormModal.stories.tsx +0 -36
  128. package/src/stories/modals/SearchModal.stories.tsx +0 -37
  129. package/src/stories/trees/FacturesTree.stories.tsx +0 -16
  130. package/src/stories/ui/ActionBar.stories.tsx +0 -21
  131. package/src/stories/ui/FavouriteButton.stories.tsx +0 -16
  132. package/src/stories/ui/GoToResourceModal.stories.tsx +0 -25
  133. package/src/stories/views/ActionView.stories.tsx +0 -28
  134. package/src/stories/views/SearchTree.stories.tsx +0 -1064
  135. package/src/stories/views/Tab.stories.tsx +0 -93
  136. package/src/stories/views/TabsAndContent.stories.tsx +0 -88
  137. package/src/stories/views/Tree.stories.jsx +0 -178
  138. package/src/stories/views/searchFilter/DateRangePicker.stories.tsx +0 -22
  139. package/src/stories/views/searchFilter/DateTimeRangePicker.stories.tsx +0 -23
  140. package/src/stories/views/searchFilter/PairFields.stories.tsx +0 -23
  141. package/src/stories/views/searchFilter/SearchFilter.stories.tsx +0 -165
  142. package/src/stories/views/searchFilter/examples/PartnersSearchFilter.stories.tsx +0 -409
  143. package/src/types/index.ts +0 -392
  144. package/src/ui/ActionErrorDialog.tsx +0 -24
  145. package/src/ui/ConfirmDialog.tsx +0 -28
  146. package/src/ui/ErrorAlert.tsx +0 -37
  147. package/src/ui/FavouriteButton.tsx +0 -271
  148. package/src/ui/FormErrorsDialog.tsx +0 -17
  149. package/src/ui/GenericErrorDialog.tsx +0 -16
  150. package/src/ui/GoToResourceModal.tsx +0 -76
  151. package/src/ui/InfoDialog.tsx +0 -13
  152. package/src/ui/RefreshItemDialog.tsx +0 -29
  153. package/src/ui/RemoveItemDialog.tsx +0 -20
  154. package/src/ui/TitleHeader.tsx +0 -117
  155. package/src/ui/UnlinkItemDialog.tsx +0 -20
  156. package/src/ui/UnsavedChangesDialog.tsx +0 -29
  157. package/src/ui/WarningDialog.tsx +0 -17
  158. package/src/views/ActionView.tsx +0 -526
  159. package/src/views/CurrentTabContent.tsx +0 -21
  160. package/src/views/RootView.tsx +0 -509
  161. package/src/views/TabContent.tsx +0 -31
  162. package/src/views/TabSelector.tsx +0 -31
  163. package/src/views/Welcome.tsx +0 -18
  164. package/src/views/actionViews/DashboardActionView.tsx +0 -52
  165. package/src/views/actionViews/FormActionView.tsx +0 -70
  166. package/src/views/actionViews/GraphActionView.tsx +0 -152
  167. package/src/views/actionViews/TreeActionView.tsx +0 -87
  168. package/src/views/tabs/Tab.tsx +0 -82
  169. package/src/widgets/WidgetFactory.tsx +0 -142
  170. package/src/widgets/base/Binary.tsx +0 -145
  171. package/src/widgets/base/Boolean.tsx +0 -44
  172. package/src/widgets/base/Button.tsx +0 -77
  173. package/src/widgets/base/Char.tsx +0 -157
  174. package/src/widgets/base/Date.tsx +0 -12
  175. package/src/widgets/base/DateTime.tsx +0 -12
  176. package/src/widgets/base/Email.tsx +0 -27
  177. package/src/widgets/base/Float.tsx +0 -38
  178. package/src/widgets/base/FloatTime.tsx +0 -73
  179. package/src/widgets/base/Image.tsx +0 -120
  180. package/src/widgets/base/Integer.tsx +0 -55
  181. package/src/widgets/base/Label.tsx +0 -56
  182. package/src/widgets/base/LinkInput.tsx +0 -106
  183. package/src/widgets/base/MultiSelection.tsx +0 -90
  184. package/src/widgets/base/ProgressBar.tsx +0 -38
  185. package/src/widgets/base/Reference.tsx +0 -115
  186. package/src/widgets/base/ReferenceTree.tsx +0 -62
  187. package/src/widgets/base/Selection.tsx +0 -71
  188. package/src/widgets/base/Separator.tsx +0 -25
  189. package/src/widgets/base/Text.tsx +0 -162
  190. package/src/widgets/base/Time.tsx +0 -40
  191. package/src/widgets/base/Url.tsx +0 -26
  192. package/src/widgets/base/many2one/Many2one.tsx +0 -322
  193. package/src/widgets/base/many2one/Many2oneSuffix.tsx +0 -232
  194. package/src/widgets/base/many2one/Many2oneSuffixModal.tsx +0 -42
  195. package/src/widgets/base/many2one/Many2oneTree.tsx +0 -18
  196. package/src/widgets/base/one2many/One2many.tsx +0 -100
  197. package/src/widgets/base/one2many/One2manyInput.tsx +0 -724
  198. package/src/widgets/base/one2many/One2manyTopBar.tsx +0 -158
  199. package/src/widgets/containers/Container.tsx +0 -99
  200. package/src/widgets/containers/Group.tsx +0 -37
  201. package/src/widgets/containers/Notebook.tsx +0 -52
  202. package/src/widgets/custom/Avatar.tsx +0 -40
  203. package/src/widgets/custom/ButtonGroup.tsx +0 -169
  204. package/src/widgets/custom/CodeEditor.tsx +0 -32
  205. package/src/widgets/custom/Comments.tsx +0 -147
  206. package/src/widgets/custom/FiberGrid.tsx +0 -48
  207. package/src/widgets/custom/Indicator.tsx +0 -66
  208. package/src/widgets/custom/Markdown.tsx +0 -32
  209. package/src/widgets/custom/MultiCheckbox.tsx +0 -165
  210. package/src/widgets/custom/Radio.tsx +0 -47
  211. package/src/widgets/custom/Steps.tsx +0 -56
  212. package/src/widgets/custom/Switch.tsx +0 -26
  213. package/src/widgets/custom/Tag.tsx +0 -53
  214. package/src/widgets/custom/Tags.tsx +0 -164
  215. package/src/widgets/custom/Timeline.tsx +0 -196
  216. package/src/widgets/modals/ExportModal.tsx +0 -75
  217. package/src/widgets/modals/FormModal.tsx +0 -125
  218. package/src/widgets/modals/SearchModal.tsx +0 -130
  219. package/src/widgets/modals/TranslationModal.tsx +0 -202
  220. package/src/widgets/views/Dashboard/Dashboard.tsx +0 -381
  221. package/src/widgets/views/Dashboard/DashboardForm.tsx +0 -30
  222. package/src/widgets/views/Dashboard/DashboardTree.tsx +0 -238
  223. package/src/widgets/views/Dashboard/dashboardHelper.ts +0 -79
  224. package/src/widgets/views/DashboardGrid/DashboardGrid.tsx +0 -53
  225. package/src/widgets/views/DashboardGrid/DashboardGrid.types.ts +0 -4
  226. package/src/widgets/views/DashboardGrid/DashboardGridItem.tsx +0 -62
  227. package/src/widgets/views/DashboardGrid/DashboardGridItem.types.ts +0 -10
  228. package/src/widgets/views/DashboardGrid/index.ts +0 -4
  229. package/src/widgets/views/Form.tsx +0 -1152
  230. package/src/widgets/views/Graph/Graph.tsx +0 -145
  231. package/src/widgets/views/Graph/GraphChart.tsx +0 -113
  232. package/src/widgets/views/Graph/GraphDefaults.ts +0 -170
  233. package/src/widgets/views/Graph/GraphIndicator.tsx +0 -421
  234. package/src/widgets/views/Graph/useGraphData.tsx +0 -176
  235. package/src/widgets/views/SearchTree.tsx +0 -367
  236. package/src/widgets/views/Tree/Tree.tsx +0 -295
  237. package/src/widgets/views/Tree/index.ts +0 -1
  238. package/src/widgets/views/Tree/treeComponents.tsx +0 -283
  239. package/src/widgets/views/searchFilter/DateRangePicker.tsx +0 -16
  240. package/src/widgets/views/searchFilter/DateTimeRangePicker.tsx +0 -87
  241. package/src/widgets/views/searchFilter/PairFields.tsx +0 -56
  242. package/src/widgets/views/searchFilter/SearchBottomBar.tsx +0 -54
  243. package/src/widgets/views/searchFilter/SearchField.tsx +0 -63
  244. package/src/widgets/views/searchFilter/SearchFilter.tsx +0 -160
  245. package/src/widgets/views/searchFilter/SearchParams.tsx +0 -35
@@ -1,2101 +0,0 @@
1
- export default {
2
- model: "giscedata.crm.lead",
3
- exampleValues: {
4
- ref: "product.product,5",
5
- },
6
- tree: {
7
- arch: '<tree colors="red:date_deadline&lt;current_date and state==\'open\'" string="CRM Ofertes/Oportunitats">\n <field name="id" select="2"/>\n <field name="create_date" select="1"/>\n <field name="name" select="1"/>\n <field name="user_id" select="1"/>\n <field name="stage_id" select="1"/>\n <field name="state" select="1"/>\n <field name="polissa_id" select="1" string="Contrato"/>\n <field name="titular_vat" select="2" string="Nº Documento (Cliente)"/>\n <field name="titular_nom" select="2" string="Nombre (Cliente)"/>\n <field name="titular_cognom1" select="2" string="Apellido (Cliente)"/>\n <field name="titular_cognom2" select="2" string="2º Apellido (Cliente)"/>\n <field name="titular_email" select="2" string="Email (Cliente)"/>\n <field name="cups" select="1"/>\n <field name="tarifa" select="2"/>\n <field name="date" select="2"/>\n <field name="date_deadline" select="1"/>\n <field name="date_closed" select="2"/>\n <field name="comercialitzadora" select="2"/>\n <!-- Camps invisibles amb select 1 per poder buscar millor-->\n <field name="titular_search" select="1" invisible="1"/>\n <field name="titular_direccio_search" select="1" invisible="1"/>\n <field name="cups_direccio_search" select="1" invisible="1"/>\n <!-- Camps tornats a definir per treurelsi el select 1-->\n <field name="partner_id" select="2" invisible="1"/>\n <field name="create_uid" select="2" invisible="1"/>\n </tree>',
8
- field_parent: false,
9
- fields: {
10
- comercialitzadora: {
11
- context: "",
12
- domain: [],
13
- relation: "res.partner",
14
- size: 64,
15
- string: "Comercializadora",
16
- type: "many2one",
17
- views: {},
18
- },
19
- create_date: {
20
- readonly: true,
21
- string: "Created",
22
- type: "datetime",
23
- views: {},
24
- },
25
- create_uid: {
26
- context: "",
27
- domain: [],
28
- readonly: true,
29
- relation: "res.users",
30
- size: 64,
31
- string: "User",
32
- type: "many2one",
33
- views: {},
34
- },
35
- cups: {
36
- size: 22,
37
- string: "CUPS",
38
- type: "char",
39
- views: {},
40
- },
41
- cups_direccio_search: {
42
- digits: [16, 2],
43
- readonly: 1,
44
- size: 256,
45
- string: "Buscar por Direccion del CUPS",
46
- type: "char",
47
- views: {},
48
- },
49
- date: {
50
- string: "Date",
51
- type: "datetime",
52
- views: {},
53
- },
54
- date_closed: {
55
- readonly: true,
56
- string: "Closed",
57
- type: "datetime",
58
- views: {},
59
- },
60
- date_deadline: {
61
- string: "Deadline",
62
- type: "datetime",
63
- views: {},
64
- },
65
- id: {
66
- readonly: true,
67
- string: "ID",
68
- type: "integer",
69
- },
70
- name: {
71
- required: true,
72
- size: 128,
73
- string: "Description",
74
- type: "char",
75
- views: {},
76
- },
77
- partner_id: {
78
- context: "",
79
- domain: [],
80
- relation: "res.partner",
81
- size: 64,
82
- string: "Partner",
83
- type: "many2one",
84
- views: {},
85
- },
86
- polissa_id: {
87
- context: "",
88
- domain: [],
89
- relation: "giscedata.polissa",
90
- size: 64,
91
- string: "Abonat",
92
- type: "many2one",
93
- views: {},
94
- },
95
- stage_id: {
96
- context: "",
97
- domain: "[('section_ids', '=', section_id)]",
98
- relation: "crm.case.stage",
99
- size: 64,
100
- string: "Stage",
101
- type: "many2one",
102
- views: {},
103
- },
104
- state: {
105
- selection: [
106
- ["draft", "Draft"],
107
- ["open", "Open"],
108
- ["cancel", "Cancel"],
109
- ["done", "Close"],
110
- ["pending", "Pending"],
111
- ],
112
- size: 16,
113
- string: "Status",
114
- type: "selection",
115
- views: {},
116
- },
117
- tarifa: {
118
- context: "",
119
- domain: [],
120
- relation: "giscedata.polissa.tarifa",
121
- size: 64,
122
- string: "Tarifa ATR",
123
- type: "many2one",
124
- views: {},
125
- },
126
- titular_cognom1: {
127
- size: 30,
128
- string: "Apellido 1",
129
- type: "char",
130
- views: {},
131
- },
132
- titular_cognom2: {
133
- size: 30,
134
- string: "Apellido 2",
135
- type: "char",
136
- views: {},
137
- },
138
- titular_direccio_search: {
139
- digits: [16, 2],
140
- readonly: 1,
141
- size: 256,
142
- string: "Buscar por Direccion del Cliente",
143
- type: "char",
144
- views: {},
145
- },
146
- titular_email: {
147
- size: 240,
148
- string: "E-Mail",
149
- type: "char",
150
- views: {},
151
- },
152
- titular_nom: {
153
- size: 40,
154
- string: "Nombre Cliente / Razón Social",
155
- type: "char",
156
- views: {},
157
- },
158
- titular_search: {
159
- digits: [16, 2],
160
- readonly: 1,
161
- size: 240,
162
- string: "Buscar por Cliente",
163
- type: "char",
164
- views: {},
165
- },
166
- titular_vat: {
167
- size: 11,
168
- string: "Nº de Documento",
169
- type: "char",
170
- views: {},
171
- },
172
- user_id: {
173
- context: "",
174
- domain: [],
175
- relation: "res.users",
176
- size: 64,
177
- string: "Responsible",
178
- type: "many2one",
179
- views: {},
180
- },
181
- },
182
- model: "giscedata.crm.lead",
183
- name: "giscedata.crm.lead.tree",
184
- search_fields: {
185
- primary: [
186
- "create_date",
187
- "name",
188
- "user_id",
189
- "stage_id",
190
- "state",
191
- "polissa_id",
192
- "cups",
193
- "date_deadline",
194
- "titular_search",
195
- "titular_direccio_search",
196
- "cups_direccio_search",
197
- ],
198
- secondary: [
199
- "date_closed",
200
- "create_uid",
201
- "comercialitzadora",
202
- "titular_nom",
203
- "titular_email",
204
- "titular_vat",
205
- "date",
206
- "titular_cognom1",
207
- "titular_cognom2",
208
- "tarifa",
209
- "partner_id",
210
- "id",
211
- ],
212
- },
213
- toolbar: {
214
- action: [
215
- {
216
- auto_refresh: 0,
217
- context: "{}",
218
- domain: false,
219
- groups_id: [],
220
- id: 1656,
221
- limit: 80,
222
- name: "Crear Contratos a partir de Oferta/Oportunidad",
223
- res_model: "wizard.crm.lead.create.entities",
224
- src_model: false,
225
- string: "Crear Contratos a partir de Oferta/Oportunidad",
226
- target: "new",
227
- type: "ir.actions.act_window",
228
- usage: false,
229
- view_id: false,
230
- view_ids: [],
231
- view_mode: "form",
232
- view_type: "form",
233
- views: [[1914, "form"]],
234
- },
235
- ],
236
- print: [],
237
- relate: [
238
- {
239
- auto_refresh: 0,
240
- context: "{}",
241
- domain: "[('id', '=', active_id)]",
242
- groups_id: [],
243
- id: -1,
244
- limit: 0,
245
- name: "Oferta/Oportunitat",
246
- res_model: "giscedata.crm.lead",
247
- src_model: "giscedata.crm.lead",
248
- string: "Oferta/Oportunitat",
249
- target: "current",
250
- type: "ir.actions.act_window",
251
- usage: "",
252
- view_id: false,
253
- view_ids: [],
254
- view_mode: "tree,form",
255
- view_type: "form",
256
- views: [
257
- [false, "tree"],
258
- [false, "form"],
259
- ],
260
- },
261
- ],
262
- },
263
- type: "tree",
264
- view_id: 1909,
265
- },
266
- form: {
267
- arch: '<?xml version="1.0" encoding="UTF-8"?>\r\n<form string="Cases">\r\n <separator string="Datos del Contrato" colspan="8" />\r\n <group col="1" colspan="2">\r\n <field name="ref" /><group string="Datos Tecnicos" col="2">\r\n <field name="tarifa" on_change="onchange_generic(tarifa)" />\r\n <field name="tensio_normalitzada" />\r\n <field name="facturacio_potencia" />\r\n </group>\r\n <group col="4">\r\n <field name="llista_preu" colspan="2" />\r\n <button name="1681" string="Anexo de Precios" type="action" icon="gtk-print" readonly="0" />\r\n </group>\r\n <group string="Datos Administrativos" col="8">\r\n <field name="cnae" colspan="8" />\r\n <field name="contract_type" colspan="4" />\r\n <field name="data_alta_prevista" colspan="3" />\r\n <field name="autoconsumo" colspan="8" />\r\n </group>\r\n </group>\r\n <group string="Potencias Contratadas (kW)" col="2" colspan="2">\r\n <field name="potenciasContratadasEnKWP1" string="P1" />\r\n <field name="potenciasContratadasEnKWP2" string="P2" />\r\n <field name="potenciasContratadasEnKWP3" string="P3" />\r\n <field name="potenciasContratadasEnKWP4" string="P4" />\r\n <field name="potenciasContratadasEnKWP5" string="P5" />\r\n <field name="potenciasContratadasEnKWP6" string="P6" />\r\n </group>\r\n</form>',
268
- field_parent: false,
269
- fields: {
270
- active: {
271
- string: "Active",
272
- type: "boolean",
273
- views: {},
274
- },
275
- allow_contact: {
276
- string: "Aceptación contactar con el cliente",
277
- type: "boolean",
278
- views: {},
279
- },
280
- atr_proces_name: {
281
- help: "Si se selecciona un proceso, se generara un caso ATR cuando se genere el contrato",
282
- selection: [
283
- ["", ""],
284
- ["A3", "A3"],
285
- ["C1", "C1"],
286
- ["C2", "C2"],
287
- ],
288
- string: "Proceso de alta",
289
- type: "selection",
290
- views: {},
291
- },
292
- autoconsumo: {
293
- selection: [
294
- ["00", "Sin Autoconsumo"],
295
- ["01", "Autoconsumo Tipo 1"],
296
- ["2A", "Autoconsumo tipo 2 (según el Art. 13. 2. a) RD 900/2015)"],
297
- ["2B", "Autoconsumo tipo 2 (según el Art. 13. 2. b) RD 900/2015)"],
298
- [
299
- "2G",
300
- "Servicios auxiliares de generación ligada a un autoconsumo tipo 2",
301
- ],
302
- ["31", "Sin Excedentes Individual – Consumo"],
303
- ["32", "Sin Excedentes Colectivo – Consumo"],
304
- [
305
- "33",
306
- "Sin Excedentes Colectivo con acuerdo de compensación – Consumo",
307
- ],
308
- ["41", "Con excedentes y compensación Individual - Consumo "],
309
- ["42", "Con excedentes y compensación Colectivo– Consumo"],
310
- [
311
- "51",
312
- "Con excedentes sin compensación Individual sin cto de SSAA en Red Interior– Consumo",
313
- ],
314
- [
315
- "52",
316
- "Con excedentes sin compensación Colectivo sin cto de SSAA en Red Interior– Consumo",
317
- ],
318
- [
319
- "53",
320
- "Con excedentes sin compensación Individual con cto SSAA en Red Interior– Consumo",
321
- ],
322
- [
323
- "54",
324
- "Con excedentes sin compensación individual con cto SSAA en Red Interior– SSAA",
325
- ],
326
- [
327
- "55",
328
- "Con excedentes sin compensación Colectivo/en Red Interior– Consumo",
329
- ],
330
- [
331
- "56",
332
- "Con excedentes sin compensación Colectivo/en Red Interior - SSAA",
333
- ],
334
- [
335
- "61",
336
- "Con excedentes sin compensación Individual con cto SSAA a través de red – Consumo",
337
- ],
338
- [
339
- "62",
340
- "Con excedentes sin compensación individual con cto SSAA a través de red – SSAA",
341
- ],
342
- [
343
- "63",
344
- "Con excedentes sin compensación Colectivo a través de red – Consumo",
345
- ],
346
- [
347
- "64",
348
- "Con excedentes sin compensación Colectivo a través de red - SSAA",
349
- ],
350
- [
351
- "71",
352
- "Con excedentes sin compensación Individual con cto SSAA a través de red y red interior – Consumo",
353
- ],
354
- [
355
- "72",
356
- "Con excedentes sin compensación individual con cto SSAA a través de red y red interior – SSAA",
357
- ],
358
- [
359
- "73",
360
- "Con excedentes sin compensación Colectivo con cto de SSAA a través de red y red interior – Consumo",
361
- ],
362
- [
363
- "74",
364
- "Con excedentes sin compensación Colectivo con cto de SSAA a través de red y red interior - SSAA",
365
- ],
366
- ],
367
- string: "Autoconsumo",
368
- type: "selection",
369
- views: {},
370
- },
371
- canal_id: {
372
- context: "",
373
- domain: [],
374
- relation: "res.partner.canal",
375
- size: 64,
376
- string: "Channel",
377
- type: "many2one",
378
- views: {},
379
- },
380
- categ_id: {
381
- context: "",
382
- domain: "[('section_id','=',section_id)]",
383
- relation: "crm.case.categ",
384
- selection: [
385
- [false, ""],
386
- [1, "Incidència"],
387
- ],
388
- size: 64,
389
- string: "Category",
390
- type: "many2one",
391
- views: {},
392
- },
393
- categ_ids: {
394
- context: "",
395
- domain: [],
396
- relation: "crm.case.categ",
397
- string: "Categories",
398
- type: "many2many",
399
- views: {},
400
- },
401
- change_adm: {
402
- string: "Cambio Titular",
403
- type: "boolean",
404
- views: {},
405
- },
406
- change_atr: {
407
- string: "Cambio Tarifa/Potencia",
408
- type: "boolean",
409
- views: {},
410
- },
411
- cnae: {
412
- context: "",
413
- domain: [],
414
- relation: "giscemisc.cnae",
415
- size: 64,
416
- string: "CNAE",
417
- type: "many2one",
418
- views: {},
419
- },
420
- codigoEmpresaDistribuidora: {
421
- size: 4,
422
- string: "Código distribuidora",
423
- type: "char",
424
- views: {},
425
- },
426
- comer_origen: {
427
- context: "",
428
- domain: [],
429
- relation: "giscedata.crm.lead.comer",
430
- size: 64,
431
- string: "Comercializadora actual",
432
- type: "many2one",
433
- views: {},
434
- },
435
- comercial_id: {
436
- context: "",
437
- domain: [],
438
- relation: "hr.employee",
439
- size: 64,
440
- string: "Comercial",
441
- type: "many2one",
442
- views: {},
443
- },
444
- comercialitzadora: {
445
- context: "",
446
- domain: [],
447
- relation: "res.partner",
448
- size: 64,
449
- string: "Comercializadora",
450
- type: "many2one",
451
- views: {},
452
- },
453
- comissio: {
454
- selection: [["giscedata.polissa.comissio.unica", "Comissió Única"]],
455
- size: 256,
456
- string: "Comissión Asignada",
457
- type: "reference",
458
- views: {},
459
- },
460
- condicions_generals_id: {
461
- context: "",
462
- domain: [],
463
- relation: "giscedata.polissa.condicions.generals",
464
- size: 64,
465
- string: "Condiciones generales",
466
- type: "many2one",
467
- views: {},
468
- },
469
- consum_anual: {
470
- string: "Consumo Anual",
471
- type: "integer",
472
- views: {},
473
- },
474
- consum_anual_previst: {
475
- string: "Consumo Anual Previsto",
476
- type: "integer",
477
- views: {},
478
- },
479
- cont_titular_aclarador: {
480
- size: 256,
481
- string: "Aclarador",
482
- type: "char",
483
- views: {},
484
- },
485
- cont_titular_apartat_correus: {
486
- size: 5,
487
- string: "Apartado de Correos",
488
- type: "char",
489
- views: {},
490
- },
491
- cont_titular_bq: {
492
- size: 4,
493
- string: "Bloque",
494
- type: "char",
495
- views: {},
496
- },
497
- cont_titular_cpa: {
498
- size: 10,
499
- string: "Parcela",
500
- type: "char",
501
- views: {},
502
- },
503
- cont_titular_cpo: {
504
- size: 10,
505
- string: "Poligono",
506
- type: "char",
507
- views: {},
508
- },
509
- cont_titular_email: {
510
- size: 240,
511
- string: "E-Mail",
512
- type: "char",
513
- views: {},
514
- },
515
- cont_titular_es: {
516
- size: 10,
517
- string: "Escalera",
518
- type: "char",
519
- views: {},
520
- },
521
- cont_titular_id_municipi: {
522
- context: "",
523
- domain: [],
524
- relation: "res.municipi",
525
- size: 64,
526
- string: "Municipio",
527
- type: "many2one",
528
- views: {},
529
- },
530
- cont_titular_id_poblacio: {
531
- context: "",
532
- domain: [],
533
- relation: "res.poblacio",
534
- size: 64,
535
- string: "Población",
536
- type: "many2one",
537
- views: {},
538
- },
539
- cont_titular_mobile: {
540
- size: 64,
541
- string: "Mobil",
542
- type: "char",
543
- views: {},
544
- },
545
- cont_titular_nom: {
546
- size: 40,
547
- string: "Nombre Persona de Contacto",
548
- type: "char",
549
- views: {},
550
- },
551
- cont_titular_nv: {
552
- size: 256,
553
- string: "Calle",
554
- type: "char",
555
- views: {},
556
- },
557
- cont_titular_phone: {
558
- size: 64,
559
- string: "Telefono",
560
- type: "char",
561
- views: {},
562
- },
563
- cont_titular_pnp: {
564
- size: 10,
565
- string: "Número",
566
- type: "char",
567
- views: {},
568
- },
569
- cont_titular_pt: {
570
- size: 10,
571
- string: "Planta",
572
- type: "char",
573
- views: {},
574
- },
575
- cont_titular_pu: {
576
- size: 10,
577
- string: "Puerta",
578
- type: "char",
579
- views: {},
580
- },
581
- cont_titular_tv: {
582
- context: "",
583
- domain: [],
584
- relation: "res.tipovia",
585
- size: 64,
586
- string: "Tipo Via",
587
- type: "many2one",
588
- views: {},
589
- },
590
- cont_titular_zip: {
591
- change_default: true,
592
- size: 24,
593
- string: "Codigo Postal",
594
- type: "char",
595
- views: {},
596
- },
597
- contact_time_range: {
598
- size: 256,
599
- string: "Franja horaria contacto",
600
- type: "char",
601
- views: {},
602
- },
603
- contract_type: {
604
- selection: [
605
- ["01", "Anual"],
606
- ["02", "Eventual medido"],
607
- ["03", "Temporada"],
608
- ["05", "Suministro Régimen especial"],
609
- ["07", "Suministro de Obras"],
610
- ["08", "Suministro de Socorro"],
611
- ["09", "Eventual a tanto alzado"],
612
- ["10", "Pruebas"],
613
- ["11", "Duplicado"],
614
- ["12", "De reserva"],
615
- ],
616
- string: "Tipo contrato",
617
- type: "selection",
618
- views: {},
619
- },
620
- create_date: {
621
- readonly: true,
622
- string: "Created",
623
- type: "datetime",
624
- views: {},
625
- },
626
- create_ov_user: {
627
- help: "Si la firma digital esta habilitada se va a crear siempre l'usuario después de la firma independientemente de este campo",
628
- string: "Crear Usuario Oficina Virtual",
629
- type: "boolean",
630
- views: {},
631
- },
632
- create_uid: {
633
- context: "",
634
- domain: [],
635
- readonly: true,
636
- relation: "res.users",
637
- size: 64,
638
- string: "User",
639
- type: "many2one",
640
- views: {},
641
- },
642
- cups: {
643
- size: 22,
644
- string: "CUPS",
645
- type: "char",
646
- views: {},
647
- },
648
- cups_aclarador: {
649
- size: 256,
650
- string: "Aclarador",
651
- type: "char",
652
- views: {},
653
- },
654
- cups_apartat_correus: {
655
- size: 5,
656
- string: "Apartado de Correos",
657
- type: "char",
658
- views: {},
659
- },
660
- cups_bq: {
661
- size: 4,
662
- string: "Bloque",
663
- type: "char",
664
- views: {},
665
- },
666
- cups_cpa: {
667
- size: 10,
668
- string: "Parcela",
669
- type: "char",
670
- views: {},
671
- },
672
- cups_cpo: {
673
- size: 10,
674
- string: "Poligono",
675
- type: "char",
676
- views: {},
677
- },
678
- cups_es: {
679
- size: 10,
680
- string: "Escalera",
681
- type: "char",
682
- views: {},
683
- },
684
- cups_id_municipi: {
685
- context: "",
686
- domain: [],
687
- relation: "res.municipi",
688
- size: 64,
689
- string: "Municipip PS",
690
- type: "many2one",
691
- views: {},
692
- },
693
- cups_id_poblacio: {
694
- context: "",
695
- domain: [],
696
- relation: "res.poblacio",
697
- size: 64,
698
- string: "Poblacion PS",
699
- type: "many2one",
700
- views: {},
701
- },
702
- cups_nv: {
703
- size: 256,
704
- string: "Calle",
705
- type: "char",
706
- views: {},
707
- },
708
- cups_pnp: {
709
- size: 10,
710
- string: "Número",
711
- type: "char",
712
- views: {},
713
- },
714
- cups_pt: {
715
- size: 10,
716
- string: "Planta",
717
- type: "char",
718
- views: {},
719
- },
720
- cups_pu: {
721
- size: 10,
722
- string: "Puerta",
723
- type: "char",
724
- views: {},
725
- },
726
- cups_tv: {
727
- context: "",
728
- domain: [],
729
- relation: "res.tipovia",
730
- size: 64,
731
- string: "Tipo Via",
732
- type: "many2one",
733
- views: {},
734
- },
735
- cups_zip: {
736
- size: 5,
737
- string: "Código postal PS",
738
- type: "char",
739
- views: {},
740
- },
741
- data_alta_prevista: {
742
- string: "Fecha de alta prevista",
743
- type: "date",
744
- views: {},
745
- },
746
- date: {
747
- string: "Date",
748
- type: "datetime",
749
- views: {},
750
- },
751
- date_action_last: {
752
- readonly: 1,
753
- string: "Last Action",
754
- type: "datetime",
755
- views: {},
756
- },
757
- date_action_next: {
758
- readonly: 1,
759
- string: "Next Action",
760
- type: "datetime",
761
- views: {},
762
- },
763
- date_closed: {
764
- readonly: true,
765
- string: "Closed",
766
- type: "datetime",
767
- views: {},
768
- },
769
- date_deadline: {
770
- string: "Deadline",
771
- type: "datetime",
772
- views: {},
773
- },
774
- delivery_type: {
775
- selection: [
776
- ["url", "Código QR"],
777
- ["email", "Email"],
778
- ],
779
- string: "Forma de envío",
780
- type: "selection",
781
- views: {},
782
- },
783
- description: {
784
- string: "Your action",
785
- type: "text",
786
- views: {},
787
- },
788
- digital_email: {
789
- size: 240,
790
- string: "E-Mail Firma Digital",
791
- type: "char",
792
- views: {},
793
- },
794
- digital_sign: {
795
- string: "Firma digital",
796
- type: "boolean",
797
- views: {},
798
- },
799
- distribuidora_vat: {
800
- size: 11,
801
- string: "Nº de Documento distribuidora",
802
- type: "char",
803
- views: {},
804
- },
805
- email_cc: {
806
- size: 252,
807
- string: "Watchers Emails",
808
- type: "char",
809
- views: {},
810
- },
811
- email_from: {
812
- size: 128,
813
- string: "Partner Email",
814
- type: "char",
815
- views: {},
816
- },
817
- enviament: {
818
- selection: [
819
- ["postal", "Correu postal"],
820
- ["email", "E-mail"],
821
- ["postal+email", "Correu postal i e-mail"],
822
- ],
823
- string: "Enviar factura via",
824
- type: "selection",
825
- views: {},
826
- },
827
- facturacio: {
828
- selection: [
829
- [1, "Mensual"],
830
- [2, "Bimestral"],
831
- ],
832
- string: "Periodicidad facturación",
833
- type: "selection",
834
- views: {},
835
- },
836
- facturacio_potencia: {
837
- selection: [
838
- ["max", "Maxímetro"],
839
- ["icp", "ICP"],
840
- ["recarrec", "Recàrrec ICP"],
841
- ],
842
- string: "Facturación Potencia",
843
- type: "selection",
844
- views: {},
845
- },
846
- history_line: {
847
- context: "",
848
- domain: [],
849
- inv_field: "case_id",
850
- readonly: 1,
851
- relation: "crm.case.history",
852
- string: "Communication",
853
- type: "one2many",
854
- views: {
855
- form: {
856
- arch: '<form string="Communication history">\n <group col="6" colspan="4">\n <field name="date" select="1"/>\n <field name="email" select="1"/>\n <field name="canal_id" select="2"/>\n </group>\n <newline/>\n <field colspan="4" name="description" nolabel="1" select="2"/>\n </form>\n ',
857
- fields: {
858
- canal_id: {
859
- context: "",
860
- domain: [],
861
- relation: "res.partner.canal",
862
- size: 64,
863
- string: "Channel",
864
- type: "many2one",
865
- views: {},
866
- },
867
- date: {
868
- string: "Date",
869
- type: "datetime",
870
- views: {},
871
- },
872
- description: {
873
- string: "Description",
874
- type: "text",
875
- views: {},
876
- },
877
- email: {
878
- size: 84,
879
- string: "Email",
880
- type: "char",
881
- views: {},
882
- },
883
- },
884
- },
885
- tree: {
886
- arch: '<tree string="Communication history">\n <field name="note"/>\n </tree>\n ',
887
- fields: {
888
- note: {
889
- digits: [16, 2],
890
- readonly: 1,
891
- string: "Description",
892
- type: "text",
893
- views: {},
894
- },
895
- },
896
- },
897
- },
898
- },
899
- iban: {
900
- size: 34,
901
- string: "Cuenta IBAN",
902
- type: "char",
903
- views: {},
904
- },
905
- id: {
906
- readonly: true,
907
- string: "ID",
908
- type: "integer",
909
- },
910
- lang: {
911
- selection: [
912
- ["en_US", "English"],
913
- ["ca_ES", "Catalan / Català"],
914
- ["es_ES", "Spanish / Español"],
915
- ["", ""],
916
- ],
917
- size: 5,
918
- string: "Idioma",
919
- type: "selection",
920
- views: {},
921
- },
922
- llista_preu: {
923
- context: "",
924
- domain: [],
925
- relation: "product.pricelist",
926
- size: 64,
927
- string: "Tarifa de venda",
928
- type: "many2one",
929
- views: {},
930
- },
931
- log_ids: {
932
- context: "",
933
- domain: [],
934
- inv_field: "case_id",
935
- readonly: 1,
936
- relation: "crm.case.log",
937
- string: "Logs History",
938
- type: "one2many",
939
- views: {
940
- form: {
941
- arch: '<form string="Actions">\n <separator colspan="4" string="Action Information"/>\n <field colspan="4" name="name"/>\n <field name="date" select="2"/>\n <field name="user_id" select="2"/>\n <field name="som" select="2"/>\n <field name="canal_id"/>\n </form>\n ',
942
- fields: {
943
- canal_id: {
944
- context: "",
945
- domain: [],
946
- relation: "res.partner.canal",
947
- size: 64,
948
- string: "Channel",
949
- type: "many2one",
950
- views: {},
951
- },
952
- date: {
953
- string: "Date",
954
- type: "datetime",
955
- views: {},
956
- },
957
- name: {
958
- size: 64,
959
- string: "Action",
960
- type: "char",
961
- views: {},
962
- },
963
- som: {
964
- context: "",
965
- domain: [],
966
- relation: "res.partner.som",
967
- size: 64,
968
- string: "State of Mind",
969
- type: "many2one",
970
- views: {},
971
- },
972
- user_id: {
973
- context: "",
974
- domain: [],
975
- readonly: true,
976
- relation: "res.users",
977
- size: 64,
978
- string: "User Responsible",
979
- type: "many2one",
980
- views: {},
981
- },
982
- },
983
- },
984
- },
985
- },
986
- mandate_id: {
987
- context: "",
988
- domain: [],
989
- relation: "payment.mandate",
990
- size: 64,
991
- string: "Mandato",
992
- type: "many2one",
993
- views: {},
994
- },
995
- name: {
996
- required: true,
997
- size: 128,
998
- string: "Description",
999
- type: "char",
1000
- views: {},
1001
- },
1002
- nombreEmpresaDistribuidora: {
1003
- size: 60,
1004
- string: "Empresa distribuidora",
1005
- type: "char",
1006
- views: {},
1007
- },
1008
- ov_user: {
1009
- context: "",
1010
- domain: [],
1011
- relation: "ov.users",
1012
- size: 64,
1013
- string: "Usuari de Oficina Virtual",
1014
- type: "many2one",
1015
- views: {},
1016
- },
1017
- partner_address_id: {
1018
- context: "",
1019
- domain: "[('partner_id','=',partner_id)]",
1020
- relation: "res.partner.address",
1021
- size: 64,
1022
- string: "Partner Contact",
1023
- type: "many2one",
1024
- views: {},
1025
- },
1026
- partner_id: {
1027
- context: "",
1028
- domain: [],
1029
- relation: "res.partner",
1030
- size: 64,
1031
- string: "Partner",
1032
- type: "many2one",
1033
- views: {},
1034
- },
1035
- payment_mode_id: {
1036
- context: "",
1037
- domain: [],
1038
- relation: "payment.mode",
1039
- size: 64,
1040
- string: "Grupo de pago",
1041
- type: "many2one",
1042
- views: {},
1043
- },
1044
- persona_firmant_vat: {
1045
- size: 11,
1046
- string: "NIF Firmante",
1047
- type: "char",
1048
- views: {},
1049
- },
1050
- persona_nom: {
1051
- size: 80,
1052
- string: "Nombre Firmante",
1053
- type: "char",
1054
- views: {},
1055
- },
1056
- planned_cost: {
1057
- string: "Planned Costs",
1058
- type: "float",
1059
- views: {},
1060
- },
1061
- planned_revenue: {
1062
- string: "Planned Revenue",
1063
- type: "float",
1064
- views: {},
1065
- },
1066
- polissa_id: {
1067
- context: "",
1068
- domain: [],
1069
- relation: "giscedata.polissa",
1070
- size: 64,
1071
- string: "Abonat",
1072
- type: "many2one",
1073
- views: {},
1074
- },
1075
- potenciasContratadasEnKWP1: {
1076
- digits: [15, 3],
1077
- string: "Potencia contratada P1",
1078
- type: "float",
1079
- views: {},
1080
- },
1081
- potenciasContratadasEnKWP2: {
1082
- digits: [15, 3],
1083
- string: "Potencia contratada P2",
1084
- type: "float",
1085
- views: {},
1086
- },
1087
- potenciasContratadasEnKWP3: {
1088
- digits: [15, 3],
1089
- string: "Potencia contratada P3",
1090
- type: "float",
1091
- views: {},
1092
- },
1093
- potenciasContratadasEnKWP4: {
1094
- digits: [15, 3],
1095
- string: "Potencia contratada P4",
1096
- type: "float",
1097
- views: {},
1098
- },
1099
- potenciasContratadasEnKWP5: {
1100
- digits: [15, 3],
1101
- string: "Potencia contratada P5",
1102
- type: "float",
1103
- views: {},
1104
- },
1105
- potenciasContratadasEnKWP6: {
1106
- digits: [15, 3],
1107
- string: "Potencia contratada P6",
1108
- type: "float",
1109
- views: {},
1110
- },
1111
- priority: {
1112
- selection: [
1113
- ["5", "Lowest"],
1114
- ["4", "Low"],
1115
- ["3", "Normal"],
1116
- ["2", "High"],
1117
- ["1", "Highest"],
1118
- ],
1119
- string: "Priority",
1120
- type: "selection",
1121
- views: {},
1122
- },
1123
- probability: {
1124
- string: "Probability (%)",
1125
- type: "float",
1126
- views: {},
1127
- },
1128
- ref: {
1129
- selection: [
1130
- ["product.product", "Product"],
1131
- ["purchase.order", "Purchase Order"],
1132
- ["account.invoice", "Invoice"],
1133
- ["stock.production.lot", "Production Lot"],
1134
- ["giscedata.polissa", "Pòlissa"],
1135
- ["giscegas.polissa", "Contrato"],
1136
- ["giscedata.signatura.process", "Firma"],
1137
- ["giscedata.crm.lead", "Oferta/Oportunidad"],
1138
- ["crm.case", "Case"],
1139
- ["giscedata.switching", "Caso ATR"],
1140
- ],
1141
- size: 128,
1142
- string: "Reference",
1143
- type: "reference",
1144
- views: {},
1145
- },
1146
- ref2: {
1147
- selection: [
1148
- ["product.product", "Product"],
1149
- ["purchase.order", "Purchase Order"],
1150
- ["account.invoice", "Invoice"],
1151
- ["stock.production.lot", "Production Lot"],
1152
- ["giscedata.polissa", "Pòlissa"],
1153
- ["giscedata.polissa", "Pólissa"],
1154
- ["giscegas.polissa", "Contrato"],
1155
- ["giscedata.polissa", "Polissa"],
1156
- ["giscedata.signatura.process", "Firma"],
1157
- ["giscedata.crm.lead", "Oferta/Oportunidad"],
1158
- ["crm.case", "Case"],
1159
- ["giscedata.switching", "Caso ATR"],
1160
- ],
1161
- size: 128,
1162
- string: "Reference 2",
1163
- type: "reference",
1164
- views: {},
1165
- },
1166
- section_id: {
1167
- context: "",
1168
- domain: [],
1169
- relation: "crm.case.section",
1170
- required: true,
1171
- select: true,
1172
- size: 64,
1173
- string: "Section",
1174
- type: "many2one",
1175
- views: {},
1176
- },
1177
- sips_consums_ids: {
1178
- context: "",
1179
- digits: [16, 2],
1180
- domain: [],
1181
- readonly: 1,
1182
- relation: "giscedata.cnmc.sips.consums.comer.ps",
1183
- string: "Informacio del SIPS sobre consums",
1184
- type: "many2many",
1185
- views: {},
1186
- },
1187
- sips_id: {
1188
- context: "",
1189
- digits: [16, 2],
1190
- domain: [],
1191
- readonly: 1,
1192
- relation: "giscedata.cnmc.sips.comer.ps",
1193
- string: "Informacio del SIPS sobre el PS",
1194
- type: "many2one",
1195
- views: {
1196
- form: {
1197
- arch: '<form string="Informacio del SIPS sobre el PS">\n <field name="codigoEmpresaDistribuidora"/>\n <field name="cups"/>\n <field name="nombreEmpresaDistribuidora"/>\n <field name="codigoPostalPS"/>\n <field name="municipioPS"/>\n <field name="codigoProvinciaPS"/>\n <field name="fechaAltaSuministro"/>\n <field name="codigoTarifaATREnVigor"/>\n <field name="codigoTensionV"/>\n <field name="potenciaMaximaBIEW"/>\n <field name="potenciaMaximaAPMW"/>\n <field name="codigoClasificacionPS"/>\n <field name="codigoDisponibilidadICP"/>\n <field name="tipoPerfilConsumo"/>\n <field name="valorDerechosExtensionW"/>\n <field name="valorDerechosAccesoW"/>\n <field name="codigoPropiedadEquipoMedida"/>\n <field name="codigoPropiedadICP"/>\n <field name="potenciasContratadasEnWP1"/>\n <field name="potenciasContratadasEnWP2"/>\n <field name="potenciasContratadasEnWP3"/>\n <field name="potenciasContratadasEnWP4"/>\n <field name="potenciasContratadasEnWP5"/>\n <field name="potenciasContratadasEnWP6"/>\n <field name="fechaUltimoMovimientoContrato"/>\n <field name="fechaUltimoCambioComercializador"/>\n <field name="fechaLimiteDerechosReconocidos"/>\n <field name="fechaUltimaLectura"/>\n <field name="informacionImpagos"/>\n <field name="importeDepositoGarantiaEuros"/>\n <field name="tipoIdTitular"/>\n <field name="esViviendaHabitual"/>\n <field name="codigoComercializadora"/>\n <field name="codigoTelegestion"/>\n <field name="codigoFasesEquipoMedida"/>\n <field name="codigoAutoconsumo"/>\n <field name="codigoTipoContrato"/>\n <field name="codigoPeriodicidadFacturacion"/>\n <field name="codigoBIE"/>\n <field name="fechaEmisionBIE"/>\n <field name="fechaCaducidadBIE"/>\n <field name="codigoAPM"/>\n <field name="fechaEmisionAPM"/>\n <field name="fechaCaducidadAPM"/>\n <field name="relacionTransformacionIntensidad"/>\n <field name="CNAE"/>\n <field name="codigoModoControlPotencia"/>\n <field name="potenciaCGPW"/>\n <field name="codigoDHEquipoDeMedida"/>\n <field name="codigoAccesibilidadContador"/>\n <field name="codigoPSContratable"/>\n <field name="motivoEstadoNoContratable"/>\n <field name="codigoTensionMedida"/>\n <field name="codigoClaseExpediente"/>\n <field name="codigoMotivoExpediente"/>\n <field name="codigoTipoSuministro"/>\n <field name="aplicacionBonoSocial"/>\n </form>\n ',
1198
- fields: {
1199
- CNAE: {
1200
- readonly: true,
1201
- size: 4,
1202
- string: "CNAE",
1203
- type: "char",
1204
- views: {},
1205
- },
1206
- aplicacionBonoSocial: {
1207
- readonly: true,
1208
- size: 1,
1209
- string: "Aplicación bono social",
1210
- type: "char",
1211
- views: {},
1212
- },
1213
- codigoAPM: {
1214
- readonly: true,
1215
- size: 30,
1216
- string: "APM",
1217
- type: "char",
1218
- views: {},
1219
- },
1220
- codigoAccesibilidadContador: {
1221
- readonly: true,
1222
- size: 1,
1223
- string: "Accesibilidad contador",
1224
- type: "char",
1225
- views: {},
1226
- },
1227
- codigoAutoconsumo: {
1228
- readonly: true,
1229
- size: 2,
1230
- string: "Autoconsumo",
1231
- type: "char",
1232
- views: {},
1233
- },
1234
- codigoBIE: {
1235
- readonly: true,
1236
- size: 30,
1237
- string: "BIE",
1238
- type: "char",
1239
- views: {},
1240
- },
1241
- codigoClaseExpediente: {
1242
- readonly: true,
1243
- size: 1,
1244
- string: "Clase expediente",
1245
- type: "char",
1246
- views: {},
1247
- },
1248
- codigoClasificacionPS: {
1249
- readonly: true,
1250
- selection: [
1251
- ["01", "Punto de medida tipo 1"],
1252
- ["02", "Punto de medida tipo 2"],
1253
- ["03", "Punto de medida tipo 3"],
1254
- ["04", "Punto de medida tipo 4"],
1255
- ["05", "Punto de medida tipo 5"],
1256
- ],
1257
- string: "Clasificación PS",
1258
- type: "selection",
1259
- views: {},
1260
- },
1261
- codigoComercializadora: {
1262
- readonly: true,
1263
- size: 4,
1264
- string: "Código comercializadora",
1265
- type: "char",
1266
- views: {},
1267
- },
1268
- codigoDHEquipoDeMedida: {
1269
- readonly: true,
1270
- selection: [
1271
- ["1", "Sin discriminación horaria"],
1272
- ["2", "Dos períodos"],
1273
- [
1274
- "3",
1275
- "Tres períodos, sin discriminación de sábados y festivos",
1276
- ],
1277
- [
1278
- "4",
1279
- "Tres períodos, con discriminación de sábados y festivos",
1280
- ],
1281
- ["6", "Seis períodos"],
1282
- ["8", "DH Supervalle"],
1283
- ],
1284
- string: "Código DH equipo de medida",
1285
- type: "selection",
1286
- views: {},
1287
- },
1288
- codigoDisponibilidadICP: {
1289
- readonly: true,
1290
- size: 1,
1291
- string: "Disponibilidad ICP",
1292
- type: "char",
1293
- views: {},
1294
- },
1295
- codigoEmpresaDistribuidora: {
1296
- readonly: true,
1297
- size: 4,
1298
- string: "Código distribuidora",
1299
- type: "char",
1300
- views: {},
1301
- },
1302
- codigoFasesEquipoMedida: {
1303
- readonly: true,
1304
- size: 1,
1305
- string: "Fases equipo medida",
1306
- type: "char",
1307
- views: {},
1308
- },
1309
- codigoModoControlPotencia: {
1310
- readonly: true,
1311
- size: 1,
1312
- string: "Modo control potencia",
1313
- type: "char",
1314
- views: {},
1315
- },
1316
- codigoMotivoExpediente: {
1317
- readonly: true,
1318
- size: 2,
1319
- string: "Motivo expediente",
1320
- type: "char",
1321
- views: {},
1322
- },
1323
- codigoPSContratable: {
1324
- readonly: true,
1325
- size: 1,
1326
- string: "PS contratable",
1327
- type: "char",
1328
- views: {},
1329
- },
1330
- codigoPeriodicidadFacturacion: {
1331
- readonly: true,
1332
- selection: [
1333
- ["01", "Mensual"],
1334
- ["02", "Bimestral"],
1335
- ],
1336
- string: "Periodicidad facturación",
1337
- type: "selection",
1338
- views: {},
1339
- },
1340
- codigoPostalPS: {
1341
- readonly: true,
1342
- size: 5,
1343
- string: "Código postal",
1344
- type: "char",
1345
- views: {},
1346
- },
1347
- codigoPropiedadEquipoMedida: {
1348
- readonly: true,
1349
- selection: [
1350
- ["1", "Distribuidor"],
1351
- ["2", "Cliente"],
1352
- ["3", "Comercializador"],
1353
- ["4", "Otros"],
1354
- ],
1355
- string: "Propiedad equipo medida",
1356
- type: "selection",
1357
- views: {},
1358
- },
1359
- codigoPropiedadICP: {
1360
- readonly: true,
1361
- selection: [
1362
- ["1", "Distribuidor"],
1363
- ["2", "Cliente"],
1364
- ["3", "Comercializador"],
1365
- ["4", "Otros"],
1366
- ],
1367
- size: 16,
1368
- string: "Propiedad ICP",
1369
- type: "selection",
1370
- views: {},
1371
- },
1372
- codigoProvinciaPS: {
1373
- readonly: true,
1374
- size: 2,
1375
- string: "Provincia",
1376
- type: "char",
1377
- views: {},
1378
- },
1379
- codigoTarifaATREnVigor: {
1380
- readonly: true,
1381
- selection: [
1382
- ["001", "2.0A"],
1383
- ["003", "3.0A"],
1384
- ["004", "2.0DHA"],
1385
- ["005", "2.1A"],
1386
- ["006", "2.1DHA"],
1387
- ["007", "2.0DHS"],
1388
- ["008", "2.1DHS"],
1389
- ["011", "3.1A"],
1390
- ["012", "6.1A"],
1391
- ["013", "6.2"],
1392
- ["014", "6.3"],
1393
- ["015", "6.4"],
1394
- ["016", "6.5"],
1395
- ["017", "6.1B"],
1396
- ],
1397
- string: "Tarifa ATR",
1398
- type: "selection",
1399
- views: {},
1400
- },
1401
- codigoTelegestion: {
1402
- readonly: true,
1403
- selection: [
1404
- ["01", "Telegestión Operativa con Curva de Carga Horaria"],
1405
- ["02", "Telegestión Operativa sin Curva de Carga Horaria"],
1406
- ["03", "Sin Telegestión"],
1407
- ],
1408
- string: "Telegestión",
1409
- type: "selection",
1410
- views: {},
1411
- },
1412
- codigoTensionMedida: {
1413
- readonly: true,
1414
- selection: [
1415
- ["01", "1X220"],
1416
- ["02", "1X230"],
1417
- ["03", "3X380"],
1418
- ["04", "3X380/220"],
1419
- ["05", "3X400"],
1420
- ["06", "3X400/230"],
1421
- ["07", "1X127"],
1422
- ["08", "1X133"],
1423
- ["09", "2X220"],
1424
- ["10", "2X230"],
1425
- ["11", "3X220"],
1426
- ["12", "3X220/127"],
1427
- ["13", "3X230"],
1428
- ["14", "3X230/133"],
1429
- ["15", "5.000"],
1430
- ["16", "6.000"],
1431
- ["17", "7.200"],
1432
- ["18", "8.000"],
1433
- ["19", "10.000"],
1434
- ["20", "11.000"],
1435
- ["21", "12.000"],
1436
- ["22", "13.000"],
1437
- ["23", "13.200"],
1438
- ["24", "15.000"],
1439
- ["25", "16.500"],
1440
- ["26", "17.000"],
1441
- ["27", "20.000"],
1442
- ["28", "22.000"],
1443
- ["29", "25.000"],
1444
- ["30", "26.500"],
1445
- ["31", "30.000"],
1446
- ["32", "36.000"],
1447
- ["33", "44.000"],
1448
- ["34", "45.000"],
1449
- ["35", "66.000"],
1450
- ["36", "110.000"],
1451
- ["37", "132.000"],
1452
- ["38", "220.000"],
1453
- ["39", "400.000"],
1454
- ["40", "1200"],
1455
- ["41", "2000"],
1456
- ["42", "5500"],
1457
- ["43", "55000"],
1458
- ["44", "130000"],
1459
- ["45", "100"],
1460
- ["46", "150"],
1461
- ["47", "3x100"],
1462
- ["48", "3x150/260"],
1463
- ["49", "3x260"],
1464
- ],
1465
- string: "Tensión medida",
1466
- type: "selection",
1467
- views: {},
1468
- },
1469
- codigoTensionV: {
1470
- readonly: true,
1471
- selection: [
1472
- ["01", "1X220"],
1473
- ["02", "1X230"],
1474
- ["03", "3X380"],
1475
- ["04", "3X380/220"],
1476
- ["05", "3X400"],
1477
- ["06", "3X400/230"],
1478
- ["07", "1X127"],
1479
- ["08", "1X133"],
1480
- ["09", "2X220"],
1481
- ["10", "2X230"],
1482
- ["11", "3X220"],
1483
- ["12", "3X220/127"],
1484
- ["13", "3X230"],
1485
- ["14", "3X230/133"],
1486
- ["15", "5.000"],
1487
- ["16", "6.000"],
1488
- ["17", "7.200"],
1489
- ["18", "8.000"],
1490
- ["19", "10.000"],
1491
- ["20", "11.000"],
1492
- ["21", "12.000"],
1493
- ["22", "13.000"],
1494
- ["23", "13.200"],
1495
- ["24", "15.000"],
1496
- ["25", "16.500"],
1497
- ["26", "17.000"],
1498
- ["27", "20.000"],
1499
- ["28", "22.000"],
1500
- ["29", "25.000"],
1501
- ["30", "26.500"],
1502
- ["31", "30.000"],
1503
- ["32", "36.000"],
1504
- ["33", "44.000"],
1505
- ["34", "45.000"],
1506
- ["35", "66.000"],
1507
- ["36", "110.000"],
1508
- ["37", "132.000"],
1509
- ["38", "220.000"],
1510
- ["39", "400.000"],
1511
- ["40", "1200"],
1512
- ["41", "2000"],
1513
- ["42", "5500"],
1514
- ["43", "55000"],
1515
- ["44", "130000"],
1516
- ["45", "100"],
1517
- ["46", "150"],
1518
- ["47", "3x100"],
1519
- ["48", "3x150/260"],
1520
- ["49", "3x260"],
1521
- ],
1522
- string: "Tensión (v)",
1523
- type: "selection",
1524
- views: {},
1525
- },
1526
- codigoTipoContrato: {
1527
- readonly: true,
1528
- selection: [
1529
- ["01", "Anual"],
1530
- ["02", "Eventual medido"],
1531
- ["03", "Temporada"],
1532
- ["05", "Suministro Régimen especial"],
1533
- ["07", "Suministro de Obras"],
1534
- ["08", "Suministro de Socorro"],
1535
- ["09", "Eventual a tanto alzado"],
1536
- ["10", "Pruebas"],
1537
- ["11", "Duplicado"],
1538
- ["12", "De reserva"],
1539
- ],
1540
- string: "Tipo contrato",
1541
- type: "selection",
1542
- views: {},
1543
- },
1544
- codigoTipoSuministro: {
1545
- readonly: true,
1546
- selection: [
1547
- ["AL", "Almacén"],
1548
- ["AP", "Alumbrado publico"],
1549
- ["AS", "Ascensores"],
1550
- ["AT", "Antena Telefonía Móvil"],
1551
- ["BA", "Batería de acumuladores"],
1552
- ["CM", "Centro de Maniobra y Control"],
1553
- ["EA", "Escalera-Ascensor"],
1554
- ["ES", "Escalera"],
1555
- ["FT", "Fabrica y Talleres sin Riesgo Especifico"],
1556
- ["FV", "Inst. Fotovoltaica"],
1557
- ["GA", "Garaje"],
1558
- ["GB", "Grupo Bombeo, Riego por Goteo"],
1559
- ["HP", "Loc.Húmedos con Riesgo Corrosión o Polv."],
1560
- ["IN", "Nave industrial"],
1561
- ["IT", "Instalación Temporal en Emplazam.Abierto"],
1562
- ["KC", "Kioskos / cabinas tfno"],
1563
- ["LB", "Locales a Baja Temperatura"],
1564
- ["LC", "Local comercial"],
1565
- ["OF", "Oficina"],
1566
- ["PC", "Publica concurrencia"],
1567
- ["RA", "Refugio o Albergue Agrícola"],
1568
- ["RT", "Repetidor de Televisión"],
1569
- ["SA", "Servicios Auxiliares"],
1570
- ["SC", "Sumtro complementario"],
1571
- ["SE", "Sumtro eventual"],
1572
- ["SG", "Servicio general vivienda"],
1573
- ["SM", "Semáforo"],
1574
- ["SO", "Sumtro obras"],
1575
- ["TL", "Telecomunicaciones"],
1576
- ["TR", "Trastero"],
1577
- ["UF", "Uso finca"],
1578
- ["UV", "Usos Varios"],
1579
- ["VI", "Vivienda"],
1580
- ],
1581
- string: "Tipo suministro",
1582
- type: "selection",
1583
- views: {},
1584
- },
1585
- cups: {
1586
- readonly: true,
1587
- required: true,
1588
- size: 22,
1589
- string: "CUPS",
1590
- type: "char",
1591
- views: {},
1592
- },
1593
- esViviendaHabitual: {
1594
- readonly: true,
1595
- size: 1,
1596
- string: "Vivienda habitual",
1597
- type: "char",
1598
- views: {},
1599
- },
1600
- fechaAltaSuministro: {
1601
- readonly: true,
1602
- string: "Alta suministro",
1603
- type: "date",
1604
- views: {},
1605
- },
1606
- fechaCaducidadAPM: {
1607
- readonly: true,
1608
- string: "Caducidad APM",
1609
- type: "date",
1610
- views: {},
1611
- },
1612
- fechaCaducidadBIE: {
1613
- readonly: true,
1614
- string: "Caducidad BIE",
1615
- type: "date",
1616
- views: {},
1617
- },
1618
- fechaEmisionAPM: {
1619
- readonly: true,
1620
- string: "Emisión APM",
1621
- type: "date",
1622
- views: {},
1623
- },
1624
- fechaEmisionBIE: {
1625
- readonly: true,
1626
- string: "Emisión BIE",
1627
- type: "date",
1628
- views: {},
1629
- },
1630
- fechaLimiteDerechosReconocidos: {
1631
- readonly: true,
1632
- string: "Límite derechos reconocidos",
1633
- type: "date",
1634
- views: {},
1635
- },
1636
- fechaUltimaLectura: {
1637
- readonly: true,
1638
- string: "Última lectura",
1639
- type: "date",
1640
- views: {},
1641
- },
1642
- fechaUltimoCambioComercializador: {
1643
- readonly: true,
1644
- string: "Último cambio comercializador",
1645
- type: "date",
1646
- views: {},
1647
- },
1648
- fechaUltimoMovimientoContrato: {
1649
- readonly: true,
1650
- string: "Último movimiento contrato",
1651
- type: "date",
1652
- views: {},
1653
- },
1654
- importeDepositoGarantiaEuros: {
1655
- readonly: true,
1656
- size: 16,
1657
- string: "Importe depósito garantía",
1658
- type: "char",
1659
- views: {},
1660
- },
1661
- informacionImpagos: {
1662
- readonly: true,
1663
- size: 255,
1664
- string: "Información impagos",
1665
- type: "char",
1666
- views: {},
1667
- },
1668
- motivoEstadoNoContratable: {
1669
- readonly: true,
1670
- size: 255,
1671
- string: "Estado no contratable",
1672
- type: "char",
1673
- views: {},
1674
- },
1675
- municipioPS: {
1676
- readonly: true,
1677
- size: 5,
1678
- string: "Municipio",
1679
- type: "char",
1680
- views: {},
1681
- },
1682
- nombreEmpresaDistribuidora: {
1683
- readonly: true,
1684
- size: 60,
1685
- string: "Empresa distribuidora",
1686
- type: "char",
1687
- views: {},
1688
- },
1689
- potenciaCGPW: {
1690
- readonly: true,
1691
- size: 16,
1692
- string: "Potencia CGP",
1693
- type: "char",
1694
- views: {},
1695
- },
1696
- potenciaMaximaAPMW: {
1697
- readonly: true,
1698
- size: 16,
1699
- string: "Potencia máxima APM",
1700
- type: "char",
1701
- views: {},
1702
- },
1703
- potenciaMaximaBIEW: {
1704
- readonly: true,
1705
- size: 16,
1706
- string: "Potencia máxima BIE",
1707
- type: "char",
1708
- views: {},
1709
- },
1710
- potenciasContratadasEnWP1: {
1711
- readonly: true,
1712
- size: 16,
1713
- string: "Potencia contratada P1",
1714
- type: "char",
1715
- views: {},
1716
- },
1717
- potenciasContratadasEnWP2: {
1718
- readonly: true,
1719
- size: 16,
1720
- string: "Potencia contratada P2",
1721
- type: "char",
1722
- views: {},
1723
- },
1724
- potenciasContratadasEnWP3: {
1725
- readonly: true,
1726
- size: 16,
1727
- string: "Potencia contratada P3",
1728
- type: "char",
1729
- views: {},
1730
- },
1731
- potenciasContratadasEnWP4: {
1732
- readonly: true,
1733
- size: 16,
1734
- string: "Potencia contratada P4",
1735
- type: "char",
1736
- views: {},
1737
- },
1738
- potenciasContratadasEnWP5: {
1739
- readonly: true,
1740
- size: 16,
1741
- string: "Potencia contratada P5",
1742
- type: "char",
1743
- views: {},
1744
- },
1745
- potenciasContratadasEnWP6: {
1746
- readonly: true,
1747
- size: 16,
1748
- string: "Potencia contratada P6",
1749
- type: "char",
1750
- views: {},
1751
- },
1752
- relacionTransformacionIntensidad: {
1753
- readonly: true,
1754
- size: 15,
1755
- string: "Transformación intensidad",
1756
- type: "char",
1757
- views: {},
1758
- },
1759
- tipoIdTitular: {
1760
- readonly: true,
1761
- selection: [
1762
- ["NI", "NIF"],
1763
- ["NV", "N.I.V.A"],
1764
- ["OT", "Otro"],
1765
- ["PS", "Pasaporte"],
1766
- ["NE", "NIE"],
1767
- ],
1768
- string: "Tipo ID titular",
1769
- type: "selection",
1770
- views: {},
1771
- },
1772
- tipoPerfilConsumo: {
1773
- readonly: true,
1774
- size: 2,
1775
- string: "Tipo perfil consumo",
1776
- type: "char",
1777
- views: {},
1778
- },
1779
- valorDerechosAccesoW: {
1780
- readonly: true,
1781
- size: 16,
1782
- string: "Valor derechos acceso (w)",
1783
- type: "char",
1784
- views: {},
1785
- },
1786
- valorDerechosExtensionW: {
1787
- readonly: true,
1788
- size: 16,
1789
- string: "Valor derechos extensión (w)",
1790
- type: "char",
1791
- views: {},
1792
- },
1793
- },
1794
- },
1795
- },
1796
- },
1797
- som: {
1798
- context: "",
1799
- domain: [],
1800
- relation: "res.partner.som",
1801
- size: 64,
1802
- string: "State of Mind",
1803
- type: "many2one",
1804
- views: {},
1805
- },
1806
- stage_id: {
1807
- context: "",
1808
- domain: "[('section_ids', '=', section_id)]",
1809
- relation: "crm.case.stage",
1810
- size: 64,
1811
- string: "Stage",
1812
- type: "many2one",
1813
- views: {},
1814
- },
1815
- stage_validation_ids: {
1816
- context: "",
1817
- domain: [],
1818
- inv_field: "crm_lead_id",
1819
- relation: "crm.stage.validation",
1820
- string: "Validaciones",
1821
- type: "one2many",
1822
- views: {},
1823
- },
1824
- state: {
1825
- selection: [
1826
- ["draft", "Draft"],
1827
- ["open", "Open"],
1828
- ["cancel", "Cancel"],
1829
- ["done", "Close"],
1830
- ["pending", "Pending"],
1831
- ],
1832
- size: 16,
1833
- string: "Status",
1834
- type: "selection",
1835
- views: {},
1836
- },
1837
- tarifa: {
1838
- context: "",
1839
- domain: [],
1840
- relation: "giscedata.polissa.tarifa",
1841
- size: 64,
1842
- string: "Tarifa ATR",
1843
- type: "many2one",
1844
- views: {},
1845
- },
1846
- tensio_normalitzada: {
1847
- context: "",
1848
- domain: [],
1849
- relation: "giscedata.tensions.tensio",
1850
- size: 64,
1851
- string: "Tensió normalitzada",
1852
- type: "many2one",
1853
- views: {},
1854
- },
1855
- tipus_vivenda: {
1856
- selection: [
1857
- ["habitual", "Habitual"],
1858
- ["no_habitual", "No habitual"],
1859
- ],
1860
- string: "Tipo vivienda",
1861
- type: "selection",
1862
- views: {},
1863
- },
1864
- titular_aclarador: {
1865
- size: 256,
1866
- string: "Aclarador",
1867
- type: "char",
1868
- views: {},
1869
- },
1870
- titular_apartat_correus: {
1871
- size: 5,
1872
- string: "Apartado de Correos",
1873
- type: "char",
1874
- views: {},
1875
- },
1876
- titular_bq: {
1877
- size: 4,
1878
- string: "Bloque",
1879
- type: "char",
1880
- views: {},
1881
- },
1882
- titular_cognom1: {
1883
- size: 30,
1884
- string: "Apellido 1",
1885
- type: "char",
1886
- views: {},
1887
- },
1888
- titular_cognom2: {
1889
- size: 30,
1890
- string: "Apellido 2",
1891
- type: "char",
1892
- views: {},
1893
- },
1894
- titular_cpa: {
1895
- size: 10,
1896
- string: "Parcela",
1897
- type: "char",
1898
- views: {},
1899
- },
1900
- titular_cpo: {
1901
- size: 10,
1902
- string: "Poligono",
1903
- type: "char",
1904
- views: {},
1905
- },
1906
- titular_email: {
1907
- size: 240,
1908
- string: "E-Mail",
1909
- type: "char",
1910
- views: {},
1911
- },
1912
- titular_es: {
1913
- size: 10,
1914
- string: "Escalera",
1915
- type: "char",
1916
- views: {},
1917
- },
1918
- titular_es_empresa: {
1919
- digits: [16, 2],
1920
- readonly: 1,
1921
- string: "Es Empresa",
1922
- type: "boolean",
1923
- views: {},
1924
- },
1925
- titular_id_municipi: {
1926
- context: "",
1927
- domain: [],
1928
- relation: "res.municipi",
1929
- size: 64,
1930
- string: "Municipio",
1931
- type: "many2one",
1932
- views: {},
1933
- },
1934
- titular_id_poblacio: {
1935
- context: "",
1936
- domain: [],
1937
- relation: "res.poblacio",
1938
- size: 64,
1939
- string: "Población",
1940
- type: "many2one",
1941
- views: {},
1942
- },
1943
- titular_mobile: {
1944
- size: 64,
1945
- string: "Mobil",
1946
- type: "char",
1947
- views: {},
1948
- },
1949
- titular_nom: {
1950
- size: 40,
1951
- string: "Nombre Cliente / Razón Social",
1952
- type: "char",
1953
- views: {},
1954
- },
1955
- titular_nv: {
1956
- size: 256,
1957
- string: "Calle",
1958
- type: "char",
1959
- views: {},
1960
- },
1961
- titular_phone: {
1962
- size: 64,
1963
- string: "Telefono",
1964
- type: "char",
1965
- views: {},
1966
- },
1967
- titular_pnp: {
1968
- size: 10,
1969
- string: "Número",
1970
- type: "char",
1971
- views: {},
1972
- },
1973
- titular_pt: {
1974
- size: 10,
1975
- string: "Planta",
1976
- type: "char",
1977
- views: {},
1978
- },
1979
- titular_pu: {
1980
- size: 10,
1981
- string: "Puerta",
1982
- type: "char",
1983
- views: {},
1984
- },
1985
- titular_tv: {
1986
- context: "",
1987
- domain: [],
1988
- relation: "res.tipovia",
1989
- size: 64,
1990
- string: "Tipo Via",
1991
- type: "many2one",
1992
- views: {},
1993
- },
1994
- titular_vat: {
1995
- size: 11,
1996
- string: "Nº de Documento",
1997
- type: "char",
1998
- views: {},
1999
- },
2000
- titular_zip: {
2001
- change_default: true,
2002
- size: 24,
2003
- string: "Codigo Postal",
2004
- type: "char",
2005
- views: {},
2006
- },
2007
- use_cont_address: {
2008
- string: "Direccion de contacto distinta a la del cliente",
2009
- type: "boolean",
2010
- views: {},
2011
- },
2012
- user_id: {
2013
- context: "",
2014
- domain: [],
2015
- relation: "res.users",
2016
- size: 64,
2017
- string: "Responsible",
2018
- type: "many2one",
2019
- views: {},
2020
- },
2021
- },
2022
- model: "giscedata.crm.lead",
2023
- name: "crm.case.form",
2024
- search_fields: {
2025
- primary: [
2026
- "create_uid",
2027
- "name",
2028
- "polissa_id",
2029
- "date",
2030
- "partner_id",
2031
- "user_id",
2032
- "id",
2033
- "state",
2034
- "stage_id",
2035
- "section_id",
2036
- ],
2037
- secondary: [
2038
- "description",
2039
- "categ_ids",
2040
- "partner_address_id",
2041
- "som",
2042
- "date_deadline",
2043
- "active",
2044
- "categ_id",
2045
- "email_from",
2046
- ],
2047
- },
2048
- toolbar: {
2049
- action: [
2050
- {
2051
- auto_refresh: 0,
2052
- context: "{}",
2053
- domain: false,
2054
- groups_id: [],
2055
- id: 1656,
2056
- limit: 80,
2057
- name: "Crear Contratos a partir de Oferta/Oportunidad",
2058
- res_model: "wizard.crm.lead.create.entities",
2059
- src_model: false,
2060
- string: "Crear Contratos a partir de Oferta/Oportunidad",
2061
- target: "new",
2062
- type: "ir.actions.act_window",
2063
- usage: false,
2064
- view_id: false,
2065
- view_ids: [],
2066
- view_mode: "form",
2067
- view_type: "form",
2068
- views: [[1914, "form"]],
2069
- },
2070
- ],
2071
- print: [],
2072
- relate: [
2073
- {
2074
- auto_refresh: 0,
2075
- context: "{}",
2076
- domain: "[('id', '=', active_id)]",
2077
- groups_id: [],
2078
- id: -1,
2079
- limit: 0,
2080
- name: "Oferta/Oportunitat",
2081
- res_model: "giscedata.crm.lead",
2082
- src_model: "giscedata.crm.lead",
2083
- string: "Oferta/Oportunitat",
2084
- target: "current",
2085
- type: "ir.actions.act_window",
2086
- usage: "",
2087
- view_id: false,
2088
- view_ids: [],
2089
- view_mode: "tree,form",
2090
- view_type: "form",
2091
- views: [
2092
- [false, "tree"],
2093
- [false, "form"],
2094
- ],
2095
- },
2096
- ],
2097
- },
2098
- type: "form",
2099
- view_id: 1624,
2100
- },
2101
- };