@gisce/react-ooui 2.0.0-rc.8 → 2.0.0

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