@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,3133 +0,0 @@
1
- export default {
2
- model: "giscedata.polissa",
3
- exampleValues: {
4
- ac_state: false,
5
- active: true,
6
- agree_dh: "E1",
7
- agree_tarifa: "2A",
8
- agree_tensio: "E0",
9
- agree_tipus: "05",
10
- altre_p: false,
11
- autoconsum_id: false,
12
- autoconsumo: "00",
13
- bank: false,
14
- bono_social_disponible: false,
15
- butlletins: [],
16
- cnae: [
17
- 3,
18
- "0111 - Cultivo de cereales (excepto arroz), leguminosas y semillas oleaginosas",
19
- ],
20
- codigo_promocional: false,
21
- coef_repartiment: 0.0,
22
- comercial_id: false,
23
- comercialitzadora: [3, "Agrolait"],
24
- comissio: false,
25
- comptador: "2222222",
26
- comptadors: [2],
27
- condicions_generals_id: false,
28
- contract_type: "01",
29
- cups: [2, "ES1234000000000002JJ0F"],
30
- cups_cp: [],
31
- cups_direccio: "carrer inventat 1 1 1 2 aclaridor 00001 (Poble de Prova)",
32
- cups_poblacio: [],
33
- data_alta: "2016-01-01",
34
- data_baixa: "2017-01-01",
35
- data_firma_contracte: "2016-01-01 00:00:00",
36
- data_ultima_lectura: false,
37
- data_ultima_lectura_estimada: false,
38
- debt_amount: 0.0,
39
- deposit: false,
40
- direccio_notificacio: [10, "Sylvie Lelitre, 69 rue de Chimay 5478 Wavre"],
41
- direccio_pagament: [10, "Sylvie Lelitre, 69 rue de Chimay 5478 Wavre"],
42
- distri_phone: "",
43
- distribuidora: [2, "ASUStek"],
44
- enviament: "postal",
45
- expected_consumption: false,
46
- facturacio: 1,
47
- facturacio_distri: false,
48
- facturacio_endarrerida: true,
49
- facturacio_potencia: "max",
50
- facturacio_suspesa: false,
51
- firmat: true,
52
- id: 2,
53
- is_autoconsum_collectiu: false,
54
- lectura_en_baja: false,
55
- llista_preu: false,
56
- log_ids: [2],
57
- lot_facturacio: [3, "01/2016"],
58
- modcontractual_activa: false,
59
- modcontractuals_ids: [],
60
- mode_facturacio: "atr",
61
- name: "0002",
62
- name_auto: true,
63
- no_cessio_sips: "unactive",
64
- no_cessio_sips_data: false,
65
- nocutoff: false,
66
- notificacio: "titular",
67
- notificacio_email: false,
68
- observacions: "Observacio 1.",
69
- pagador: [3, "Agrolait"],
70
- pagador_email: false,
71
- pagador_nif: "ESB83677229",
72
- pagador_sel: "titular",
73
- payment_mode_id: false,
74
- payment_term: false,
75
- pending_amount: 150.23,
76
- pending_state: "Correct",
77
- persona_fisica: "CI",
78
- potencia: 6.0,
79
- potencies_periode: [],
80
- print_observations: false,
81
- process_id: [1, "Default Process"],
82
- property_unitat_potencia: [85, "kW/dia"],
83
- propietari_bank: false,
84
- proxima_facturacio: "2016-01-31",
85
- ref_dist: false,
86
- refacturacio_pendent: false,
87
- related_attachments: [],
88
- renovacio_auto: false,
89
- representante_id: false,
90
- state: "esborrany",
91
- state_post_facturacio: false,
92
- tarifa: [1, "2.0A"],
93
- tarifa_codi: "2.0A",
94
- tensio: 127,
95
- tensio_normalitzada: [1, "127"],
96
- tg: "1",
97
- tipo_pago: [1, "Demo payment type"],
98
- tipus_vivenda: "habitual",
99
- titular: [4, "Camptocamp"],
100
- titular_nif: "ESB82420654",
101
- trafo: false,
102
- unpaid_invoices: false,
103
- user_id: [1, "Administrator1"],
104
- versio_primera_factura: false,
105
- },
106
- tree: {
107
- arch:
108
- '<tree string="polisses" colors="red:state in [\'tall\', \'baixa\', \'cancelada\']">\n <field name="distribuidora"/>\n <field name="name"/>\n <field name="cups"/>\n <field name="state"/>\n <field name="pending_state"/>\n <field name="titular"/>\n <field name="cups_direccio"/>\n <field name="tarifa"/>\n <field name="llista_preu"/>\n <field name="potencia"/>\n <field name="pending_amount"/>\n <field name="debt_amount"/>\n <field name="unpaid_invoices"/>\n <field name="data_ultima_lectura" string="Última lectura facturada"/>\n <field name="refacturacio_pendent" select="1"/>\n <field name="data_alta"/>\n <field name="lot_facturacio"/>\n <field name="facturacio_suspesa"/>\n <field name="lectura_en_baja"/>\n <field name="direccio_pagament"/>\n <field name="firmat" invisible="1" select="1"/>\n </tree>',
109
- field_parent: false,
110
- fields: {
111
- cups: {
112
- context: "",
113
- domain: [],
114
- readonly: true,
115
- relation: "giscedata.cups.ps",
116
- size: 64,
117
- states: {
118
- esborrany: [["readonly", false]],
119
- validar: [
120
- ["readonly", false],
121
- ["required", true],
122
- ],
123
- },
124
- string: "CUPS",
125
- type: "many2one",
126
- views: {},
127
- },
128
- cups_direccio: {
129
- digits: [16, 2],
130
- readonly: true,
131
- size: 256,
132
- string: "Direcció CUPS",
133
- type: "char",
134
- views: {},
135
- },
136
- data_alta: {
137
- readonly: true,
138
- states: {
139
- esborrany: [["readonly", false]],
140
- validar: [
141
- ["readonly", false],
142
- ["required", true],
143
- ],
144
- },
145
- string: "Data alta",
146
- type: "date",
147
- views: {},
148
- },
149
- data_ultima_lectura: {
150
- digits: [16, 2],
151
- string: "Data última real facturada",
152
- type: "date",
153
- views: {},
154
- },
155
- debt_amount: {
156
- digits: [16, 2],
157
- readonly: 1,
158
- string: "Debt amount",
159
- type: "float",
160
- views: {},
161
- },
162
- direccio_pagament: {
163
- context: "",
164
- domain: [],
165
- readonly: true,
166
- relation: "res.partner.address",
167
- size: 64,
168
- states: {
169
- esborrany: [["readonly", false]],
170
- modcontractual: [
171
- ["readonly", false],
172
- ["required", true],
173
- ],
174
- validar: [
175
- ["readonly", false],
176
- ["required", true],
177
- ],
178
- },
179
- string: "Adreça fiscal",
180
- type: "many2one",
181
- views: {},
182
- },
183
- distribuidora: {
184
- context: "",
185
- domain: [["supplier", "=", 1]],
186
- readonly: true,
187
- relation: "res.partner",
188
- size: 64,
189
- states: {
190
- esborrany: [["readonly", false]],
191
- modcontractual: [
192
- ["readonly", false],
193
- ["required", true],
194
- ],
195
- validar: [
196
- ["readonly", false],
197
- ["required", true],
198
- ],
199
- },
200
- string: "Distribuidora",
201
- type: "many2one",
202
- views: {},
203
- },
204
- facturacio_suspesa: {
205
- string: "Facturació Suspesa",
206
- type: "boolean",
207
- views: {},
208
- },
209
- firmat: {
210
- digits: [16, 2],
211
- readonly: 1,
212
- string: "Contracte Firmat",
213
- type: "boolean",
214
- views: {},
215
- },
216
- lectura_en_baja: {
217
- readonly: true,
218
- states: {
219
- esborrany: [["readonly", false]],
220
- modcontractual: [
221
- ["readonly", false],
222
- ["required", true],
223
- ],
224
- validar: [["readonly", false]],
225
- },
226
- string: "Lectura en baixa",
227
- type: "boolean",
228
- views: {},
229
- },
230
- llista_preu: {
231
- context: "",
232
- domain: [["type", "=", "sale"]],
233
- readonly: true,
234
- relation: "product.pricelist",
235
- size: 64,
236
- states: {
237
- esborrany: [["readonly", false]],
238
- modcontractual: [
239
- ["readonly", false],
240
- ["required", true],
241
- ],
242
- validar: [
243
- ["readonly", false],
244
- ["required", true],
245
- ],
246
- },
247
- string: "Tarifa Comercialitzadora",
248
- type: "many2one",
249
- views: {},
250
- },
251
- lot_facturacio: {
252
- context: "",
253
- domain: [],
254
- relation: "giscedata.facturacio.lot",
255
- size: 64,
256
- string: "Lot de facturació",
257
- type: "many2one",
258
- views: {},
259
- },
260
- name: {
261
- readonly: true,
262
- select: true,
263
- size: 60,
264
- states: {
265
- esborrany: [["readonly", false]],
266
- },
267
- string: "Contracte",
268
- type: "char",
269
- views: {},
270
- },
271
- pending_amount: {
272
- digits: [16, 2],
273
- readonly: 1,
274
- string: "Pending amount",
275
- type: "float",
276
- views: {},
277
- },
278
- pending_state: {
279
- digits: [16, 2],
280
- readonly: 1,
281
- size: 64,
282
- string: "Pending State",
283
- type: "char",
284
- views: {},
285
- },
286
- potencia: {
287
- digits: [16, 3],
288
- readonly: true,
289
- states: {
290
- esborrany: [["readonly", false]],
291
- modcontractual: [
292
- ["readonly", false],
293
- ["required", true],
294
- ],
295
- validar: [
296
- ["readonly", false],
297
- ["required", true],
298
- ],
299
- },
300
- string: "Potència contractada (kW)",
301
- type: "float",
302
- views: {},
303
- },
304
- refacturacio_pendent: {
305
- string: "Refacturació Pendent",
306
- type: "boolean",
307
- views: {},
308
- },
309
- state: {
310
- readonly: true,
311
- required: true,
312
- selection: [
313
- ["esborrany", "Esborrany"],
314
- ["validar", "Validar"],
315
- ["pendent", "Pendent"],
316
- ["activa", "Activa"],
317
- ["cancelada", "Cancel·lada"],
318
- ["contracte", "Activació Contracte"],
319
- ["novapolissa", "Creació nova pòlissa"],
320
- ["modcontractual", "Modificació Contractual"],
321
- ["impagament", "Impagament"],
322
- ["tall", "Tall"],
323
- ["baixa", "Baixa"],
324
- ["facturacio", "Facturació"],
325
- ],
326
- string: "Estat",
327
- type: "selection",
328
- views: {},
329
- },
330
- tarifa: {
331
- context: "",
332
- domain: [],
333
- readonly: true,
334
- relation: "giscedata.polissa.tarifa",
335
- size: 64,
336
- states: {
337
- esborrany: [["readonly", false]],
338
- modcontractual: [
339
- ["readonly", false],
340
- ["required", true],
341
- ],
342
- validar: [
343
- ["readonly", false],
344
- ["required", true],
345
- ],
346
- },
347
- string: "Tarifa d'accés",
348
- type: "many2one",
349
- views: {},
350
- },
351
- titular: {
352
- context: "",
353
- domain: [],
354
- readonly: true,
355
- relation: "res.partner",
356
- size: 40,
357
- states: {
358
- esborrany: [["readonly", false]],
359
- validar: [
360
- ["readonly", false],
361
- ["required", true],
362
- ],
363
- },
364
- string: "Titular",
365
- type: "many2one",
366
- views: {},
367
- },
368
- unpaid_invoices: {
369
- digits: [16, 2],
370
- readonly: 1,
371
- string: "Unpaid invoices",
372
- type: "integer",
373
- views: {},
374
- },
375
- },
376
- model: "giscedata.polissa",
377
- name: "giscedata.polissa.tree",
378
- search_fields: {
379
- primary: ["refacturacio_pendent", "firmat", "name"],
380
- secondary: [],
381
- },
382
- toolbar: {
383
- action: [
384
- {
385
- auto_refresh: 0,
386
- context: "{}",
387
- domain: false,
388
- groups_id: [],
389
- id: 1704,
390
- limit: 80,
391
- name: "Facturar comissions comercial",
392
- res_model: "wizard.facturar.comissio.from.polissa",
393
- src_model: false,
394
- string: "Facturar comissions comercial",
395
- target: "new",
396
- type: "ir.actions.act_window",
397
- usage: false,
398
- view_id: [1953, "wizard.facturar.comissio.from.polissa.form"],
399
- view_ids: [],
400
- view_mode: "form",
401
- view_type: "form",
402
- views: [[1953, "form"]],
403
- },
404
- {
405
- auto_refresh: 0,
406
- context: "{}",
407
- domain: false,
408
- groups_id: [],
409
- id: 1509,
410
- limit: 80,
411
- name: "Generar cas Gestió ATR",
412
- res_model: "giscedata.switching.polissa.c101.wizard",
413
- src_model: false,
414
- string: "Generar cas Gestió ATR",
415
- target: "new",
416
- type: "ir.actions.act_window",
417
- usage: false,
418
- view_id: [1661, "wizard.switching.polissa.c101.form"],
419
- view_ids: [],
420
- view_mode: "form",
421
- view_type: "form",
422
- views: [[1661, "form"]],
423
- },
424
- {
425
- auto_refresh: 0,
426
- context: "{}",
427
- domain: false,
428
- groups_id: [],
429
- id: 1505,
430
- limit: 80,
431
- name: "Update contract SIPS data",
432
- res_model: "wizard.update.contract.sips.data",
433
- src_model: false,
434
- string: "Update contract SIPS data",
435
- target: "new",
436
- type: "ir.actions.act_window",
437
- usage: false,
438
- view_id: [1655, "wizard.update.contract.sips.data.form"],
439
- view_ids: [],
440
- view_mode: "form",
441
- view_type: "form",
442
- views: [[1655, "form"]],
443
- },
444
- {
445
- auto_refresh: 0,
446
- context: "{'model': 'giscedata.polissa'}",
447
- domain: false,
448
- groups_id: [],
449
- id: 1616,
450
- limit: 80,
451
- name: "Càrrega de lectures de Pool",
452
- res_model: "giscedata.lectures.pool.wizard",
453
- src_model: false,
454
- string: "Càrrega de lectures de Pool",
455
- target: "new",
456
- type: "ir.actions.act_window",
457
- usage: false,
458
- view_id: false,
459
- view_ids: [],
460
- view_mode: "form",
461
- view_type: "form",
462
- views: [[1830, "form"]],
463
- },
464
- {
465
- auto_refresh: 0,
466
- context: "{}",
467
- domain: false,
468
- groups_id: [],
469
- id: 1469,
470
- limit: 80,
471
- name: "Canvi de compte",
472
- res_model: "wizard.bank.account.change",
473
- src_model: false,
474
- string: "Canvi de compte",
475
- target: "new",
476
- type: "ir.actions.act_window",
477
- usage: false,
478
- view_id: false,
479
- view_ids: [],
480
- view_mode: "form",
481
- view_type: "form",
482
- views: [[1609, "form"]],
483
- },
484
- {
485
- auto_refresh: 0,
486
- context: "{}",
487
- domain: false,
488
- groups_id: [],
489
- id: 1464,
490
- limit: 80,
491
- name: "Avançar facturació",
492
- res_model: "wizard.avancar.facturacio",
493
- src_model: false,
494
- string: "Avançar facturació",
495
- target: "new",
496
- type: "ir.actions.act_window",
497
- usage: false,
498
- view_id: false,
499
- view_ids: [],
500
- view_mode: "form",
501
- view_type: "form",
502
- views: [[1600, "form"]],
503
- },
504
- {
505
- auto_refresh: 0,
506
- context: "{}",
507
- domain: false,
508
- groups_id: [],
509
- id: 1463,
510
- limit: 80,
511
- name: "Canvi de dades fiscals i compte",
512
- res_model: "wizard.payer.change",
513
- src_model: false,
514
- string: "Canvi de dades fiscals i compte",
515
- target: "new",
516
- type: "ir.actions.act_window",
517
- usage: false,
518
- view_id: false,
519
- view_ids: [],
520
- view_mode: "form",
521
- view_type: "form",
522
- views: [[1599, "form"]],
523
- },
524
- {
525
- auto_refresh: 0,
526
- context: "{'model': 'giscedata.polissa'}",
527
- domain: false,
528
- groups_id: [],
529
- id: 1431,
530
- limit: 80,
531
- name: "Devolució diposit",
532
- res_model: "wizard.refund.deposit",
533
- src_model: false,
534
- string: "Devolució diposit",
535
- target: "new",
536
- type: "ir.actions.act_window",
537
- usage: false,
538
- view_id: false,
539
- view_ids: [],
540
- view_mode: "form",
541
- view_type: "form",
542
- views: [[1554, "form"]],
543
- },
544
- {
545
- auto_refresh: 0,
546
- context: "{}",
547
- domain: false,
548
- groups_id: [],
549
- id: 1367,
550
- limit: 80,
551
- name: "Afegir polisses a un lot",
552
- res_model: "wizard.afegir.polisses.lot",
553
- src_model: false,
554
- string: "Afegir polisses a un lot",
555
- target: "new",
556
- type: "ir.actions.act_window",
557
- usage: false,
558
- view_id: false,
559
- view_ids: [],
560
- view_mode: "form",
561
- view_type: "form",
562
- views: [[1490, "form"]],
563
- },
564
- {
565
- auto_refresh: 0,
566
- context: "{}",
567
- domain: false,
568
- groups_id: [],
569
- id: 434,
570
- limit: 80,
571
- name: "Actualitzar data firma contracte",
572
- res_model: "wizard.update.data.firma.contracte",
573
- src_model: false,
574
- string: "Actualitzar data firma contracte",
575
- target: "new",
576
- type: "ir.actions.act_window",
577
- usage: false,
578
- view_id: false,
579
- view_ids: [],
580
- view_mode: "form",
581
- view_type: "form",
582
- views: [[496, "form"]],
583
- },
584
- {
585
- auto_refresh: 0,
586
- context: "{'default_polissa_id': active_id}",
587
- domain: false,
588
- groups_id: [],
589
- id: 433,
590
- limit: 80,
591
- name: "Actualitzar data d'alta",
592
- res_model: "wizard.update.data.alta",
593
- src_model: false,
594
- string: "Actualitzar data d'alta",
595
- target: "new",
596
- type: "ir.actions.act_window",
597
- usage: false,
598
- view_id: false,
599
- view_ids: [],
600
- view_mode: "form",
601
- view_type: "form",
602
- views: [[495, "form"]],
603
- },
604
- {
605
- auto_refresh: 0,
606
- context: "{'model_name': 'giscedata.polissa'}",
607
- domain: false,
608
- groups_id: [],
609
- id: 1658,
610
- limit: 80,
611
- name: "Buscar Procesos de Firma",
612
- res_model: "wizard.signature.model",
613
- src_model: false,
614
- string: "Buscar Procesos de Firma",
615
- target: "new",
616
- type: "ir.actions.act_window",
617
- usage: false,
618
- view_id: false,
619
- view_ids: [],
620
- view_mode: "form",
621
- view_type: "form",
622
- views: [[1837, "form"]],
623
- },
624
- {
625
- auto_refresh: 0,
626
- context: "{}",
627
- domain: false,
628
- groups_id: [],
629
- id: 1657,
630
- limit: 80,
631
- name: "Signar contracte digitalment",
632
- res_model: "wizard.signar.contracte.esborrany",
633
- src_model: false,
634
- string: "Signar contracte digitalment",
635
- target: "new",
636
- type: "ir.actions.act_window",
637
- usage: false,
638
- view_id: false,
639
- view_ids: [],
640
- view_mode: "form",
641
- view_type: "form",
642
- views: [[1915, "form"]],
643
- },
644
- {
645
- auto_refresh: 0,
646
- context: "{'model':'giscedata.polissa'}",
647
- domain: false,
648
- groups_id: [],
649
- id: 1650,
650
- limit: 80,
651
- name: "Generar Casos",
652
- res_model: "wizard.create.case",
653
- src_model: false,
654
- string: "Generar Casos",
655
- target: "new",
656
- type: "ir.actions.act_window",
657
- usage: false,
658
- view_id: false,
659
- view_ids: [],
660
- view_mode: "form",
661
- view_type: "form",
662
- views: [[1852, "form"]],
663
- },
664
- ],
665
- print: [
666
- {
667
- attachment: false,
668
- attachment_use: false,
669
- auto: true,
670
- context: "{}",
671
- groups_id: [],
672
- header: false,
673
- id: 956,
674
- jasper_file_ids: [],
675
- jasper_model_id: false,
676
- jasper_output: false,
677
- jasper_report: false,
678
- model: "giscedata.polissa",
679
- multi: false,
680
- name: "Fitxa contracte",
681
- report_name: "fitxa_contracte",
682
- report_type: "pdf",
683
- report_webkit: false,
684
- report_webkit_data: false,
685
- report_xml: false,
686
- report_xsl: false,
687
- signature_in_coordinates: false,
688
- string: "Fitxa contracte",
689
- type: "ir.actions.report.xml",
690
- usage: false,
691
- webkit_debug: false,
692
- webkit_flags: false,
693
- webkit_header: [1, "Base Sample"],
694
- webkit_sign: false,
695
- },
696
- {
697
- attachment: false,
698
- attachment_use: false,
699
- auto: false,
700
- context: "{}",
701
- groups_id: [],
702
- header: false,
703
- id: 436,
704
- jasper_file_ids: [],
705
- jasper_model_id: false,
706
- jasper_output: false,
707
- jasper_report: false,
708
- model: "giscedata.polissa",
709
- multi: false,
710
- name: "Informe mod. contractuales",
711
- report_name: "modcon",
712
- report_type: "webkit",
713
- report_webkit: "giscedata_polissa/report/modcon_report.mako",
714
- report_webkit_data: false,
715
- report_xml: false,
716
- report_xsl: false,
717
- signature_in_coordinates: false,
718
- string: "Informe mod. contractuales",
719
- type: "ir.actions.report.xml",
720
- usage: false,
721
- webkit_debug: false,
722
- webkit_flags: false,
723
- webkit_header: [2, "Sense fons header"],
724
- webkit_sign: false,
725
- },
726
- {
727
- attachment: false,
728
- attachment_use: false,
729
- auto: false,
730
- context: "{}",
731
- groups_id: [],
732
- header: false,
733
- id: 435,
734
- jasper_file_ids: [],
735
- jasper_model_id: false,
736
- jasper_output: false,
737
- jasper_report: false,
738
- model: "giscedata.polissa",
739
- multi: false,
740
- name: "Contracte",
741
- report_name: "giscedata.polissa",
742
- report_type: "webkit",
743
- report_webkit: "giscedata_polissa_comer/report/contracte.mako",
744
- report_webkit_data: false,
745
- report_xml: false,
746
- report_xsl: false,
747
- signature_in_coordinates:
748
- '[{"top": 81, "left": 17, "height": 10, "width": 22}]',
749
- string: "Contracte",
750
- type: "ir.actions.report.xml",
751
- usage: false,
752
- webkit_debug: false,
753
- webkit_flags: false,
754
- webkit_header: [3, "Generic contract"],
755
- webkit_sign: false,
756
- },
757
- ],
758
- relate: [
759
- {
760
- auto_refresh: 0,
761
- context: "{}",
762
- domain: "[('cups_polissa_id', '=', active_id)]",
763
- groups_id: [],
764
- id: 1591,
765
- limit: 0,
766
- name: "Casos ATR",
767
- res_model: "giscedata.switching",
768
- src_model: "giscedata.polissa",
769
- string: "Casos ATR",
770
- target: "current",
771
- type: "ir.actions.act_window",
772
- usage: "",
773
- view_id: false,
774
- view_ids: [],
775
- view_mode: "tree,form",
776
- view_type: "form",
777
- views: [
778
- [1667, "tree"],
779
- [1666, "form"],
780
- ],
781
- },
782
- {
783
- auto_refresh: 0,
784
- context: "{}",
785
- domain:
786
- "[('ref', '=', name), ('product_id.default_code', '=', 'CON06')]",
787
- groups_id: [],
788
- id: 1441,
789
- limit: 80,
790
- name: "Moviments de fiances",
791
- res_model: "account.move.line",
792
- src_model: "res.partner",
793
- string: "Moviments de fiances",
794
- target: "current",
795
- type: "ir.actions.act_window",
796
- usage: false,
797
- view_id: [184, "account.move.line.tree"],
798
- view_ids: [],
799
- view_mode: "tree,form",
800
- view_type: "form",
801
- views: [
802
- [184, "tree"],
803
- [185, "form"],
804
- ],
805
- },
806
- {
807
- auto_refresh: 0,
808
- context: "{}",
809
- domain: "[('polissa_id', '=', active_id)]",
810
- groups_id: [],
811
- id: 1411,
812
- limit: 80,
813
- name: "Factura manual",
814
- res_model: "wizard.manual.invoice",
815
- src_model: false,
816
- string: "Factura manual",
817
- target: "new",
818
- type: "ir.actions.act_window",
819
- usage: false,
820
- view_id: false,
821
- view_ids: [],
822
- view_mode: "form",
823
- view_type: "form",
824
- views: [[1532, "form"]],
825
- },
826
- {
827
- auto_refresh: 0,
828
- context: "{}",
829
- domain: "[('reference','=','giscedata.polissa,%d'%active_id)]",
830
- groups_id: [],
831
- id: 1405,
832
- limit: 80,
833
- name: "Mandatos",
834
- res_model: "payment.mandate",
835
- src_model: "giscedata.polissa",
836
- string: "Mandatos",
837
- target: "current",
838
- type: "ir.actions.act_window",
839
- usage: false,
840
- view_id: false,
841
- view_ids: [],
842
- view_mode: "tree,form",
843
- view_type: "form",
844
- views: [
845
- [1086, "tree"],
846
- [1087, "form"],
847
- ],
848
- },
849
- {
850
- auto_refresh: 0,
851
- context: "{'active_test': False}",
852
- domain: "[('polissa_id','=', active_id)]",
853
- groups_id: [],
854
- id: 1394,
855
- limit: 80,
856
- name: "Extra lines",
857
- res_model: "giscedata.facturacio.extra",
858
- src_model: "giscedata.polissa",
859
- string: "Extra lines",
860
- target: "current",
861
- type: "ir.actions.act_window",
862
- usage: false,
863
- view_id: false,
864
- view_ids: [],
865
- view_mode: "tree,form",
866
- view_type: "form",
867
- views: [
868
- [1514, "tree"],
869
- [1515, "form"],
870
- ],
871
- },
872
- {
873
- auto_refresh: 0,
874
- context: "{}",
875
- domain: "[('polissa_id', '=', active_id)]",
876
- groups_id: [],
877
- id: 1388,
878
- limit: 80,
879
- name: "Contractes Lot",
880
- res_model: "giscedata.facturacio.contracte_lot",
881
- src_model: "giscedata.polissa",
882
- string: "Contractes Lot",
883
- target: "current",
884
- type: "ir.actions.act_window",
885
- usage: false,
886
- view_id: [1510, "giscedata.facturacio.contracte_lot.tree"],
887
- view_ids: [],
888
- view_mode: "tree,form",
889
- view_type: "form",
890
- views: [
891
- [1510, "tree"],
892
- [1511, "form"],
893
- ],
894
- },
895
- {
896
- auto_refresh: 0,
897
- context: "{}",
898
- domain: "[('polissa_id', '=', active_id), ('state', '=', 'open')]",
899
- groups_id: [],
900
- id: 1381,
901
- limit: 80,
902
- name: "Factures obertes",
903
- res_model: "giscedata.facturacio.factura",
904
- src_model: "giscedata.polissa",
905
- string: "Factures obertes",
906
- target: "current",
907
- type: "ir.actions.act_window",
908
- usage: false,
909
- view_id: [1495, "giscedata.facturacio.factura.tree"],
910
- view_ids: [],
911
- view_mode: "tree,form",
912
- view_type: "form",
913
- views: [
914
- [1495, "tree"],
915
- [false, "form"],
916
- ],
917
- },
918
- {
919
- auto_refresh: 0,
920
- context: "{}",
921
- domain:
922
- "[('polissa_id', '=', active_id),('type','in',('in_refund', 'in_invoice'))]",
923
- groups_id: [],
924
- id: 1380,
925
- limit: 80,
926
- name: "Factures Proveïdor",
927
- res_model: "giscedata.facturacio.factura",
928
- src_model: "giscedata.polissa",
929
- string: "Factures Proveïdor",
930
- target: "current",
931
- type: "ir.actions.act_window",
932
- usage: false,
933
- view_id: [1495, "giscedata.facturacio.factura.tree"],
934
- view_ids: [],
935
- view_mode: "tree,form",
936
- view_type: "form",
937
- views: [
938
- [1495, "tree"],
939
- [false, "form"],
940
- ],
941
- },
942
- {
943
- auto_refresh: 0,
944
- context: "{}",
945
- domain:
946
- "[('polissa_id', '=', active_id),('type','in',('out_refund', 'out_invoice'))]",
947
- groups_id: [],
948
- id: 1379,
949
- limit: 80,
950
- name: "Factures Client",
951
- res_model: "giscedata.facturacio.factura",
952
- src_model: "giscedata.polissa",
953
- string: "Factures Client",
954
- target: "current",
955
- type: "ir.actions.act_window",
956
- usage: false,
957
- view_id: [1495, "giscedata.facturacio.factura.tree"],
958
- view_ids: [],
959
- view_mode: "tree,form",
960
- view_type: "form",
961
- views: [
962
- [1495, "tree"],
963
- [false, "form"],
964
- ],
965
- },
966
- {
967
- auto_refresh: 0,
968
- context: "{}",
969
- domain: "[('polissa_id', '=', active_id)]",
970
- groups_id: [],
971
- id: 1378,
972
- limit: 80,
973
- name: "Factures",
974
- res_model: "giscedata.facturacio.factura",
975
- src_model: "giscedata.polissa",
976
- string: "Factures",
977
- target: "current",
978
- type: "ir.actions.act_window",
979
- usage: false,
980
- view_id: [1495, "giscedata.facturacio.factura.tree"],
981
- view_ids: [],
982
- view_mode: "tree,form",
983
- view_type: "form",
984
- views: [
985
- [1495, "tree"],
986
- [false, "form"],
987
- ],
988
- },
989
- {
990
- auto_refresh: 0,
991
- context: "{}",
992
- domain: "[('polissa', '=', active_id)]",
993
- groups_id: [],
994
- id: 940,
995
- limit: 80,
996
- name: "Comptadors",
997
- res_model: "giscedata.lectures.comptador",
998
- src_model: "giscedata.polissa",
999
- string: "Comptadors",
1000
- target: "current",
1001
- type: "ir.actions.act_window",
1002
- usage: false,
1003
- view_id: false,
1004
- view_ids: [],
1005
- view_mode: "tree,form",
1006
- view_type: "form",
1007
- views: [
1008
- [1033, "tree"],
1009
- [1032, "form"],
1010
- ],
1011
- },
1012
- {
1013
- auto_refresh: 0,
1014
- context: "{}",
1015
- domain: "[('cups_id', '=', cups)]",
1016
- groups_id: [],
1017
- id: 1500,
1018
- limit: 80,
1019
- name: "Bulletins",
1020
- res_model: "giscedata.butlleti",
1021
- src_model: "giscedata.polissa",
1022
- string: "Bulletins",
1023
- target: "current",
1024
- type: "ir.actions.act_window",
1025
- usage: false,
1026
- view_id: false,
1027
- view_ids: [],
1028
- view_mode: "tree,form",
1029
- view_type: "form",
1030
- views: [
1031
- [1645, "tree"],
1032
- [1646, "form"],
1033
- ],
1034
- },
1035
- {
1036
- auto_refresh: 0,
1037
- context: "{'active_test': False}",
1038
- domain: "[('polissa_id', '=', active_id)]",
1039
- groups_id: [],
1040
- id: 424,
1041
- limit: 80,
1042
- name: "Modificacions Contractuals",
1043
- res_model: "giscedata.polissa.modcontractual",
1044
- src_model: "giscedata.polissa",
1045
- string: "Modificacions Contractuals",
1046
- target: "current",
1047
- type: "ir.actions.act_window",
1048
- usage: false,
1049
- view_id: [485, "giscedata.polissa.modcontractual.tree.llistat"],
1050
- view_ids: [],
1051
- view_mode: "tree,form",
1052
- view_type: "form",
1053
- views: [
1054
- [485, "tree"],
1055
- [488, "form"],
1056
- ],
1057
- },
1058
- {
1059
- auto_refresh: 0,
1060
- context: "{}",
1061
- domain: "[('polissa_id','=',active_id)]",
1062
- groups_id: [],
1063
- id: 1651,
1064
- limit: 80,
1065
- name: "Casos",
1066
- res_model: "crm.case",
1067
- src_model: "giscedata.polissa",
1068
- string: "Casos",
1069
- target: "current",
1070
- type: "ir.actions.act_window",
1071
- usage: false,
1072
- view_id: false,
1073
- view_ids: [],
1074
- view_mode: "tree,form",
1075
- view_type: "form",
1076
- views: [
1077
- [1623, "tree"],
1078
- [1624, "form"],
1079
- ],
1080
- },
1081
- {
1082
- auto_refresh: 0,
1083
- context: "{}",
1084
- domain: "[('id', '=', active_id)]",
1085
- groups_id: [],
1086
- id: -1,
1087
- limit: 0,
1088
- name: "Polissa d'un Client",
1089
- res_model: "giscedata.polissa",
1090
- src_model: "giscedata.polissa",
1091
- string: "Polissa d'un Client",
1092
- target: "current",
1093
- type: "ir.actions.act_window",
1094
- usage: "",
1095
- view_id: false,
1096
- view_ids: [],
1097
- view_mode: "tree,form",
1098
- view_type: "form",
1099
- views: [
1100
- [false, "tree"],
1101
- [false, "form"],
1102
- ],
1103
- },
1104
- ],
1105
- },
1106
- type: "tree",
1107
- view_id: 480,
1108
- },
1109
- form: {
1110
- arch:
1111
- '<form string="polisses">\n <group attrs="{\'invisible\': [(\'state\', \'!=\', \'tall\')]}" col="14">\n <group colspan="6"/>\n <group colspan="2" attrs="{\'invisible\': [(\'state\', \'!=\',\'tall\')]}" name="group_state_tall">\n <image name="gtk-cut"/>\n <label fill="1" string="&lt;b&gt;Atenció!&lt;/b&gt; aquest contracte està en estat Tall"/>\n </group>\n <group colspan="6"/>\n </group>\n <group attrs="{\'invisible\': [(\'state\', \'!=\', \'baixa\')]}" col="14">\n <group colspan="4"/>\n <group colspan="2" attrs="{\'invisible\': [(\'state\', \'!=\',\'baixa\')]}">\n <image name="gtk-stop"/>\n <label fill="1" string="&lt;b&gt;Atenció!&lt;/b&gt; aquest contracte està en estat Baixa"/>\n </group>\n <group colspan="8"/>\n </group>\n <group attrs="{\'invisible\': [(\'state\', \'!=\', \'facturacio\')]}" col="14">\n <group colspan="2"/>\n <group colspan="2"/>\n <group colspan="2"/>\n <group colspan="2">\n <image name="gtk-dialog-warning"/>\n <label fill="1" string="&lt;b&gt;Atenció!&lt;/b&gt; en aquests moments s\'està facturant. Actualitzi d\'aquí uns minuts."/>\n </group>\n <group colspan="2"/>\n <group colspan="2"/>\n <group colspan="2"/>\n </group>\n <group colspan="8" col="8">\n <field name="pending_state" select="2" widget="indicator" widget_props="{\'card\': true, \'icon\': \'audit\'}" />\n <field name="pending_amount" select="2" widget="indicator" widget_props="{\'card\': true, \'icon\': \'wallet\', \'suffix\': \'€\'}"/>\n <field name="debt_amount" select="2" widget="indicator" widget_props="{\'card\': true, \'icon\': \'wallet\', \'suffix\': \'€\'}"/>\n <field name="unpaid_invoices" select="2" widget="indicator" widget_props="{\'card\': true, \'icon\': \'file-text\'}"/>\n </group>\n <group colspan="6" col="6">\n <field name="process_id" select="2" attrs="{\'readonly\': [(\'bono_social_disponible\',\'=\', True)]}"/>\n </group>\n <group string="General" colspan="6" col="6">\n <field name="name" attrs="{\'readonly\': [(\'name_auto\', \'=\', 1)], \'required\': [(\'name_auto\', \'!=\', 1)]}"/>\n <group colspan="2">\n <field name="name_auto" attrs="{\'readonly\': [(\'name\', \'!=\', False)]}"/>\n <field name="data_firma_contracte" select="2"/>\n </group>\n <group col="2" rowspan="4" name="renovacio">\n <field name="active" select="1"/>\n <field name="renovacio_auto" select="2" attrs="{\'readonly\': [(\'data_baixa\', \'!=\', False)]}"/>\n <field name="data_alta" select="2"/>\n <field name="data_baixa" select="2" on_change="onchange_data_baixa(data_baixa, context)" attrs="{\'required\': [(\'renovacio_auto\', \'=\', 0)], \'readonly\': [(\'renovacio_auto\', \'=\', 1)]}"/>\n </group>\n <field name="distribuidora" select="1"/>\n <field name="ref_dist" select="1"/>\n <field name="titular" colspan="2" domain="[(\'customer\', \'=\', 1)]" on_change="onchange_titular(titular, pagador_sel, pagador, tipo_pago, notificacio, context)" select="1"/>\n <field name="cnae" select="2"/>\n </group>\n <notebook colspan="6">\n <page string="General">\n <separator string="Cups" colspan="4"/>\n <field name="cups" select="1" size="25"/>\n <field name="cups_direccio" colspan="4" select="1"/>\n <field name="cups_cp" invisible="1" select="2"/>\n <field name="cups_poblacio" invisible="1" select="2"/>\n <separator string="Dades tècniques" colspan="4"/>\n <group col="2" colspan="2">\n <field name="contract_type" select="2"/>\n <group colspan="2" col="4" attrs="{\'invisible\':[(\'contract_type\', \'!=\', \'09\')]}">\n <field name="expected_consumption"/>\n <button string="Calcular" name="1366" states="esborrany,validar,modcontractual" type="action" readonly="0"/>\n </group>\n <field name="tarifa" on_change="onchange_potencia(potencia, tarifa, context)" select="1"/>\n <group colspan="2" col="4">\n <field name="potencia" select="1" on_change="onchange_potencia(potencia, tarifa, context)"/>\n <button name="416" type="action" string="Normalitzar" context="{\'power\': potencia, \'tarifa_id\': tarifa, \'tensio_id\': tensio_normalitzada, \'model\': \'giscedata.polissa\', \'field\': \'potencia\'}" states="esborrany,validar,modcontractual" readonly="0"/>\n </group>\n <field name="tensio_normalitzada" select="2" on_change="onchange_tensio(tensio_normalitzada, tarifa, context)"/>\n <field name="tarifa_codi" invisible="1"/>\n <group colspan="4" attrs="{\'invisible\': [(\'tarifa_codi\',\'not in\',[\'3.1A\', \'3.1A LB\', \'6.1A\', \'6.1B\'])]}">\n <field name="lectura_en_baja" select="2"/>\n <group colspan="2" col="2" attrs="{\'invisible\': [(\'tarifa_codi\', \'!=\', \'3.1A LB\'),(\'lectura_en_baja\',\'=\',False)]}">\n <field name="trafo"/>\n </group>\n </group>\n <field name="tensio"/>\n <field name="tg" select="2"/>\n <field name="condicions_generals_id" select="2"/>\n <field name="autoconsumo" select="2"/>\n <field name="nocutoff"/>\n </group>\n <group col="2" colspan="2">\n <field name="potencies_periode" colspan="4" nolabel="1">\n </field>\n <button name="generar_periodes_potencia" states="esborrany,validar,modcontractual" string="Generar periodes" type="object" context="{\'force_genpot\': True}"/>\n </group>\n <group col="4" colspan="4" attrs="{\'invisible\':[(\'persona_fisica\', \'=\', \'CI\')]}">\n <separator string="Altres dades" colspan="4"/>\n </group>\n <group col="4" colspan="2" attrs="{\'invisible\':[(\'persona_fisica\', \'=\', \'CI\')]}">\n <field name="tipus_vivenda" select="1"/>\n <field name="persona_fisica" invisible="1"/>\n </group>\n </page>\n <page string="Autoconsum" attrs="{\'invisible\':[(\'autoconsumo\',\'=\',\'00\')]}">\n <separator string="Informacio de l\'autoconsumo del CUPS associat" colspan="6"/>\n <group>\n <field name="autoconsum_id" attrs="{\'required\':[(\'autoconsumo\',\'!=\',\'00\'), (\'state\',\'in\',[\'validar\',\'modcontractual\'])]}" on_change="onchange_autoconsum_id(autoconsum_id)"/>\n <field name="ac_state"/>\n <group attrs="{\'invisible\':[(\'is_autoconsum_collectiu\',\'=\',False)]}">\n <field name="coef_repartiment" attrs="{\'required\':[(\'autoconsumo\',\'!=\',\'00\'), (\'is_autoconsum_collectiu\',\'=\',True), (\'state\',\'in\',[\'validar\',\'modcontractual\'])]}"/>\n </group>\n <field name="is_autoconsum_collectiu"/>\n <group attrs="{\'invisible\':[(\'is_autoconsum_collectiu\',\'!=\', True)]}">\n <field name="coef_repartiment" attrs="{\'required\':[(\'autoconsumo\',\'!=\',\'00\'), (\'is_autoconsum_collectiu\',\'=\',True), (\'state\',\'in\',[\'validar\',\'modcontractual\'])]}"/>\n </group>\n </group>\n </page>\n <page string="Facturació"><separator string="Facturació" colspan="4"/>\n <field name="facturacio" select="1" widget="radio"/>\n <group col="2" colspan="2" string="Lot Facturació">\n <field name="lot_facturacio" select="1"/><field name="facturacio_suspesa" select="2" colspan="1"/>\n \n </group>\n <group col="2" colspan="2">\n <field name="facturacio_potencia" select="2"/>\n <field name="property_unitat_potencia"/>\n <field name="deposit"/>\n </group>\n <group string="Dates últimes lectures facturades" col="2" colspan="2" rowspan="1">\n <field string="Real" name="data_ultima_lectura" select="2"/>\n <field string="Estimada" name="data_ultima_lectura_estimada"/><field name="refacturacio_pendent"/>\n \n </group>\n <newline/>\n <separator string="Tarificació" colspan="4"/>\n <field name="llista_preu" select="1" domain="[(\'tarifes_atr_compatibles\', \'=\', tarifa), (\'type\', \'=\', \'sale\')]"/>\n <!-- Dos dominis, la llista de preus que tingui i que la data_end sigui > now() -->\n <field name="versio_primera_factura" domain="[(\'pricelist_id\', \'=\', llista_preu), \'|\', (\'date_end\', \'&gt;\', data_alta), (\'date_end\', \'=\', False),]"/>\n <separator string="Pagament" colspan="4"/>\n <field name="payment_term" select="2"/>\n <field name="tipo_pago" on_change="onchange_tipo_pago(tipo_pago, pagador, context)" invisible="1"/>\n <field name="payment_mode_id" select="2" on_change="onchange_modo_pago(payment_mode_id, pagador, context)"/>\n <newline/>\n <field name="bank" on_change="onchange_bank(propietari_bank, bank)" attrs="{\'readonly\': [(\'tipo_pago.code\', \'=\', \'RECIBO_CSB\')]}" domain="[(\'partner_id\', \'=\', pagador)]"/>\n <field name="propietari_bank"/>\n <group col="4" colspan="4">\n <separator string="Facturació de distribuidora" colspan="4"/>\n <group colspan="2">\n <field name="facturacio_distri"/>\n </group>\n </group>\n </page>\n <page string="Contactes">\n <separator string="Titular" colspan="4"/>\n <field name="titular_nif" select="1"/>\n <field name="representante_id" colspan="4"/>\n <group colspan="4" col="6">\n <separator string="Privacitat" colspan="6"/>\n <field name="no_cessio_sips"/>\n <field name="no_cessio_sips_data"/><button string="Solicitar no cesión" type="action" icon="gtk-no" name="1622" colspan="1" readonly="0"/>\n </group>\n <field name="user_id" invisible="1"/>\n <newline/>\n <separator colspan="4" string="Dades fiscals"/>\n <field name="pagador_sel" colspan="4" domain="[(\'customer\', \'=\', 1)]" on_change="onchange_pagador_sel(pagador_sel, titular, pagador, direccio_pagament, tipo_pago, notificacio, context)"/>\n <group colspan="4" col="4">\n <field name="pagador" on_change="onchange_altre_pagador(pagador, notificacio, context)" select="1"/>\n <field name="pagador_nif"/>\n </group>\n <field name="direccio_pagament" colspan="4" domain="[(\'partner_id\', \'=\', pagador), (\'type\', \'=\', \'invoice\')]" select="1" on_change="onchange_direccio_fiscal(direccio_pagament)"/>\n <field name="enviament"/>\n <group colspan="2" col="2" attrs="{\'invisible\': [(\'enviament\', \'=\', \'postal\')]}">\n <field name="pagador_email"/>\n </group>\n <separator colspan="4" string="Notificació"/>\n <field name="notificacio" on_change="onchange_notificacio(notificacio, titular, pagador, altre_p, context)"/>\n <group attrs="{\'invisible\': [(\'notificacio\', \'!=\', \'altre_p\')]}" colspan="4">\n <field name="altre_p" colspan="4" on_change="onchange_altre_p(altre_p, context)"/>\n </group>\n <field name="direccio_notificacio" colspan="4" domain="[(\'partner_id\', \'=\', titular)]" select="2"/>\n <group colspan="2" col="2" attrs="{\'invisible\': [(\'enviament\', \'=\', \'postal\')]}">\n <field name="notificacio_email"/>\n </group>\n <group colspan="2">\n <field name="bono_social_disponible"/>\n </group>\n </page>\n <page string="Comercial">\n <separator string="Dades Comercials" colspan="8"/>\n <group colspan="8" col="8" string="Comercial">\n <field name="comercial_id" colspan="4" select="1"/>\n <field name="comissio" domain="[(\'id\', \'in\', [])]" colspan="8"/>\n <button name="action_asignar_comissio_from_comercial" type="object" string="Asignar comissio del comercial" colspan="1"/>\n <field name="codigo_promocional" select="2" colspan="8"/>\n </group>\n </page>\n <page string="Modificacions contr.">\n <field name="modcontractual_activa" search="1"/>\n <field name="modcontractuals_ids" colspan="4" nolabel="1"/>\n </page>\n <page string="Observacions">\n <label colspan="4" string="Les observacions que s\'escriguin aquí queden historitzades en les modificacions contractuals. Cada modificació contractual fa una còpia de les observacions actuals."/>\n <separator string="Observacions" colspan="4"/>\n <field name="observacions" nolabel="1" colspan="4" select="1"/>\n <separator string="Observacions impresses" colspan="4"/>\n <field name="print_observations" nolabel="1" colspan="4"/>\n </page>\n <page string="Perfils">\n <group colspan="2" col="4" string="Nivells d\'agregació">\n <separator string="Tensió" colspan="1"/>\n <separator string="Tarifa" colspan="1"/>\n <separator string="DH" colspan="1"/>\n <separator string="Tipus" colspan="1"/>\n <field name="agree_tensio" nolabel="1"/>\n <field name="agree_tarifa" nolabel="1"/>\n <field name="agree_dh" nolabel="1"/>\n <field name="agree_tipus" nolabel="1"/>\n </group>\n </page>\n <page string="Històric">\n <field name="log_ids" colspan="4" nolabel="1"/>\n </page>\n <page string="Documents rel.">\n <field name="related_attachments" colspan="4" nolabel="1"/>\n </page>\n <page string="Comptadors">\n <field name="comptador" invisible="1" select="1"/>\n <field name="comptadors" nolabel="1" colspan="4" context="{\'polissa_id\':active_id}"/>\n </page>\n <page string="Butlletins">\n <field name="butlletins" colspan="4" nolabel="1" context="{\'polissa_id\': active_id, \'default_cups_id\': cups}"/>\n </page>\n </notebook>\n <group colspan="2" col="4">\n <field name="state" select="1"/>\n <group col="15" colspan="2">\n <button name="esborrany" string="Esborrany" states="validar,pendent" readonly="0"/>\n <button name="cancelar" string="Cancel·lar" states="esborrany,activa" confirm="Està segur que vol cancel·lar aquesta pòlissa?" readonly="0"/>\n <button name="baixa" string="Baixa" states="activa,impagament,tall" readonly="0"/>\n <button name="impagament" string="Impagament" states="activa" confirm="Està segur que vol passar a estat d\'impagament aquesta pòlissa?" readonly="0"/>\n <button name="validar" string="Validar" states="esborrany" readonly="0"/>\n <button name="activar" string="Activar" states="impagament,tall,cancelada" readonly="0"/>\n <button name="to_draft" string="Passar a Esborrany" states="cancelada" readonly="0"/>\n <button name="contracte" string="Activar" states="validar" readonly="0"/>\n <button name="reactivar" string="Reactivar" states="baixa" confirm="Està segur que vol reactivar?" readonly="0"/>\n <button name="tallar" string="Tallar" states="impagament" confirm="Està segur que vol passar a estat de tall aquesta pòlissa?" readonly="0"/>\n <button name="modcontractual" string="Modificació contractual" states="activa" readonly="0"/>\n <button name="undo_modcontractual" string="Desfer mod. contractual" states="modcontractual" readonly="0"/>\n <button type="action" name="418" string="Crear nova modificació contractual" states="modcontractual" readonly="0"/>\n </group>\n </group>\n </form>',
1112
- field_parent: false,
1113
- fields: {
1114
- ac_state: {
1115
- digits: [16, 2],
1116
- readonly: true,
1117
- string: "Estat de l'AC",
1118
- type: "char",
1119
- views: {},
1120
- },
1121
- active: {
1122
- readonly: true,
1123
- required: true,
1124
- string: "Activa",
1125
- type: "boolean",
1126
- views: {},
1127
- },
1128
- agree_dh: {
1129
- digits: [16, 2],
1130
- readonly: 1,
1131
- size: 2,
1132
- string: "Codi DH",
1133
- type: "char",
1134
- views: {},
1135
- },
1136
- agree_tarifa: {
1137
- digits: [16, 2],
1138
- readonly: 1,
1139
- size: 2,
1140
- string: "Codi Tarifa",
1141
- type: "char",
1142
- views: {},
1143
- },
1144
- agree_tensio: {
1145
- digits: [16, 2],
1146
- readonly: 1,
1147
- size: 2,
1148
- string: "Codi Tensió",
1149
- type: "char",
1150
- views: {},
1151
- },
1152
- agree_tipus: {
1153
- digits: [16, 2],
1154
- readonly: 1,
1155
- size: 2,
1156
- string: "Tipus Punt",
1157
- type: "char",
1158
- views: {},
1159
- },
1160
- altre_p: {
1161
- context: "",
1162
- domain: [],
1163
- readonly: true,
1164
- relation: "res.partner",
1165
- size: 40,
1166
- states: {
1167
- esborrany: [["readonly", false]],
1168
- modcontractual: [["readonly", false]],
1169
- validar: [["readonly", false]],
1170
- },
1171
- string: "Contacte alternatiu",
1172
- type: "many2one",
1173
- views: {},
1174
- },
1175
- autoconsum_id: {
1176
- context: "",
1177
- digits: [16, 2],
1178
- domain: [],
1179
- readonly: true,
1180
- relation: "giscedata.autoconsum",
1181
- string: "Autoconsum",
1182
- type: "many2one",
1183
- views: {},
1184
- },
1185
- autoconsumo: {
1186
- help: "Tipus de autoconsum del contracte segons RD. 900/2015",
1187
- readonly: true,
1188
- selection: [
1189
- ["00", "Sin Autoconsumo"],
1190
- ["01", "Autoconsumo Tipo 1"],
1191
- ["2A", "Autoconsumo tipo 2 (según el Art. 13. 2. a) RD 900/2015)"],
1192
- ["2B", "Autoconsumo tipo 2 (según el Art. 13. 2. b) RD 900/2015)"],
1193
- [
1194
- "2G",
1195
- "Servicios auxiliares de generación ligada a un autoconsumo tipo 2",
1196
- ],
1197
- ["31", "Sin Excedentes Individual – Consumo"],
1198
- ["32", "Sin Excedentes Colectivo – Consumo"],
1199
- [
1200
- "33",
1201
- "Sin Excedentes Colectivo con acuerdo de compensación – Consumo",
1202
- ],
1203
- ["41", "Con excedentes y compensación Individual - Consumo "],
1204
- ["42", "Con excedentes y compensación Colectivo– Consumo"],
1205
- [
1206
- "51",
1207
- "Con excedentes sin compensación Individual sin cto de SSAA en Red Interior– Consumo",
1208
- ],
1209
- [
1210
- "52",
1211
- "Con excedentes sin compensación Colectivo sin cto de SSAA en Red Interior– Consumo",
1212
- ],
1213
- [
1214
- "53",
1215
- "Con excedentes sin compensación Individual con cto SSAA en Red Interior– Consumo",
1216
- ],
1217
- [
1218
- "54",
1219
- "Con excedentes sin compensación individual con cto SSAA en Red Interior– SSAA",
1220
- ],
1221
- [
1222
- "55",
1223
- "Con excedentes sin compensación Colectivo/en Red Interior– Consumo",
1224
- ],
1225
- [
1226
- "56",
1227
- "Con excedentes sin compensación Colectivo/en Red Interior - SSAA",
1228
- ],
1229
- [
1230
- "61",
1231
- "Con excedentes sin compensación Individual con cto SSAA a través de red – Consumo",
1232
- ],
1233
- [
1234
- "62",
1235
- "Con excedentes sin compensación individual con cto SSAA a través de red – SSAA",
1236
- ],
1237
- [
1238
- "63",
1239
- "Con excedentes sin compensación Colectivo a través de red – Consumo",
1240
- ],
1241
- [
1242
- "64",
1243
- "Con excedentes sin compensación Colectivo a través de red - SSAA",
1244
- ],
1245
- [
1246
- "71",
1247
- "Con excedentes sin compensación Individual con cto SSAA a través de red y red interior – Consumo",
1248
- ],
1249
- [
1250
- "72",
1251
- "Con excedentes sin compensación individual con cto SSAA a través de red y red interior – SSAA",
1252
- ],
1253
- [
1254
- "73",
1255
- "Con excedentes sin compensación Colectivo con cto de SSAA a través de red y red interior – Consumo",
1256
- ],
1257
- [
1258
- "74",
1259
- "Con excedentes sin compensación Colectivo con cto de SSAA a través de red y red interior - SSAA",
1260
- ],
1261
- ],
1262
- states: {
1263
- esborrany: [["readonly", false]],
1264
- modcontractual: [["readonly", false]],
1265
- validar: [["readonly", false]],
1266
- },
1267
- string: "Autoconsum",
1268
- type: "selection",
1269
- views: {},
1270
- },
1271
- bank: {
1272
- context: "",
1273
- domain: [],
1274
- readonly: true,
1275
- relation: "res.partner.bank",
1276
- size: 64,
1277
- states: {
1278
- esborrany: [["readonly", false]],
1279
- modcontractual: [["readonly", false]],
1280
- validar: [["readonly", false]],
1281
- },
1282
- string: "Compte bancari",
1283
- type: "many2one",
1284
- views: {},
1285
- },
1286
- bono_social_disponible: {
1287
- digits: [16, 2],
1288
- readonly: 1,
1289
- string: "Bo social disponible",
1290
- type: "boolean",
1291
- views: {},
1292
- },
1293
- butlletins: {
1294
- context: "",
1295
- digits: [16, 2],
1296
- domain: [],
1297
- relation: "giscedata.butlleti",
1298
- string: "Bulletins",
1299
- type: "one2many",
1300
- views: {},
1301
- },
1302
- cnae: {
1303
- context: "",
1304
- domain: [],
1305
- readonly: true,
1306
- relation: "giscemisc.cnae",
1307
- size: 64,
1308
- states: {
1309
- esborrany: [["readonly", false]],
1310
- modcontractual: [
1311
- ["readonly", false],
1312
- ["required", true],
1313
- ],
1314
- validar: [
1315
- ["readonly", false],
1316
- ["required", true],
1317
- ],
1318
- },
1319
- string: "CNAE",
1320
- type: "many2one",
1321
- views: {},
1322
- },
1323
- codigo_promocional: {
1324
- size: 20,
1325
- string: "Codi promocional",
1326
- type: "char",
1327
- views: {},
1328
- },
1329
- coef_repartiment: {
1330
- digits: [12, 2],
1331
- readonly: true,
1332
- states: {
1333
- esborrany: [["readonly", false]],
1334
- modcontractual: [["readonly", false]],
1335
- validar: [["readonly", false]],
1336
- },
1337
- string: "Coeficient de repartiment [%]",
1338
- type: "float",
1339
- views: {},
1340
- },
1341
- comercial_id: {
1342
- context: "",
1343
- domain: [],
1344
- relation: "hr.employee",
1345
- size: 64,
1346
- string: "Comercial",
1347
- type: "many2one",
1348
- views: {},
1349
- },
1350
- comissio: {
1351
- selection: [["giscedata.polissa.comissio.unica", "Comissió Única"]],
1352
- size: 256,
1353
- string: "Comissió Asignada",
1354
- type: "reference",
1355
- views: {},
1356
- },
1357
- comptador: {
1358
- digits: [16, 2],
1359
- readonly: 1,
1360
- select: true,
1361
- size: 64,
1362
- string: "Comptador",
1363
- type: "char",
1364
- views: {},
1365
- },
1366
- comptadors: {
1367
- context: {
1368
- active_test: false,
1369
- },
1370
- domain: [],
1371
- inv_field: "polissa",
1372
- relation: "giscedata.lectures.comptador",
1373
- states: {
1374
- esborrany: [["readonly", false]],
1375
- modcontractual: [
1376
- ["readonly", false],
1377
- ["required", true],
1378
- ],
1379
- validar: [["readonly", false]],
1380
- },
1381
- string: "Comptadors",
1382
- type: "one2many",
1383
- views: {},
1384
- },
1385
- condicions_generals_id: {
1386
- context: "",
1387
- domain: [],
1388
- relation: "giscedata.polissa.condicions.generals",
1389
- size: 64,
1390
- string: "Condicions generals",
1391
- type: "many2one",
1392
- views: {},
1393
- },
1394
- contract_type: {
1395
- help: "Distintos tipos de contratos. Ver REAL DECRETO 1164/2001",
1396
- readonly: true,
1397
- selection: [
1398
- ["01", "Anual"],
1399
- ["02", "Eventual medido"],
1400
- ["03", "Temporada"],
1401
- ["05", "Suministro Régimen especial"],
1402
- ["07", "Suministro de Obras"],
1403
- ["08", "Suministro de Socorro"],
1404
- ["09", "Eventual a tanto alzado"],
1405
- ["10", "Pruebas"],
1406
- ["11", "Duplicado"],
1407
- ["12", "De reserva"],
1408
- ],
1409
- states: {
1410
- esborrany: [["readonly", false]],
1411
- modcontractual: [
1412
- ["readonly", false],
1413
- ["required", true],
1414
- ],
1415
- validar: [
1416
- ["readonly", false],
1417
- ["required", true],
1418
- ],
1419
- },
1420
- string: "Tipus de contracte",
1421
- type: "selection",
1422
- views: {},
1423
- },
1424
- cups: {
1425
- context: "",
1426
- domain: [],
1427
- readonly: true,
1428
- relation: "giscedata.cups.ps",
1429
- size: 64,
1430
- states: {
1431
- esborrany: [["readonly", false]],
1432
- validar: [
1433
- ["readonly", false],
1434
- ["required", true],
1435
- ],
1436
- },
1437
- string: "CUPS",
1438
- type: "many2one",
1439
- views: {},
1440
- },
1441
- cups_cp: {
1442
- digits: [16, 2],
1443
- readonly: 1,
1444
- string: "Codi Postal",
1445
- type: "char",
1446
- views: {},
1447
- },
1448
- cups_direccio: {
1449
- digits: [16, 2],
1450
- readonly: true,
1451
- size: 256,
1452
- string: "Direcció CUPS",
1453
- type: "char",
1454
- views: {},
1455
- },
1456
- cups_poblacio: {
1457
- digits: [16, 2],
1458
- readonly: 1,
1459
- string: "Població",
1460
- type: "char",
1461
- views: {},
1462
- },
1463
- data_alta: {
1464
- readonly: true,
1465
- states: {
1466
- esborrany: [["readonly", false]],
1467
- validar: [
1468
- ["readonly", false],
1469
- ["required", true],
1470
- ],
1471
- },
1472
- string: "Data alta",
1473
- type: "date",
1474
- views: {},
1475
- },
1476
- data_baixa: {
1477
- string: "Data baixa",
1478
- type: "date",
1479
- views: {},
1480
- },
1481
- data_firma_contracte: {
1482
- readonly: true,
1483
- states: {
1484
- esborrany: [["readonly", false]],
1485
- validar: [
1486
- ["readonly", false],
1487
- ["required", true],
1488
- ],
1489
- },
1490
- string: "Data firma contracte",
1491
- type: "datetime",
1492
- views: {},
1493
- },
1494
- data_ultima_lectura: {
1495
- digits: [16, 2],
1496
- string: "Data última real facturada",
1497
- type: "date",
1498
- views: {},
1499
- },
1500
- data_ultima_lectura_estimada: {
1501
- string: "Data última estimada facturada",
1502
- type: "date",
1503
- views: {},
1504
- },
1505
- debt_amount: {
1506
- digits: [16, 2],
1507
- readonly: 1,
1508
- string: "Debt amount",
1509
- type: "float",
1510
- views: {},
1511
- },
1512
- deposit: {
1513
- digits: [16, 2],
1514
- readonly: 1,
1515
- string: "Dipòsit",
1516
- type: "float",
1517
- views: {},
1518
- },
1519
- direccio_notificacio: {
1520
- context: "",
1521
- domain: [],
1522
- readonly: true,
1523
- relation: "res.partner.address",
1524
- size: 64,
1525
- states: {
1526
- esborrany: [["readonly", false]],
1527
- modcontractual: [
1528
- ["readonly", false],
1529
- ["required", true],
1530
- ],
1531
- validar: [
1532
- ["readonly", false],
1533
- ["required", true],
1534
- ],
1535
- },
1536
- string: "Adreça notificació",
1537
- type: "many2one",
1538
- views: {},
1539
- },
1540
- direccio_pagament: {
1541
- context: "",
1542
- domain: [],
1543
- readonly: true,
1544
- relation: "res.partner.address",
1545
- size: 64,
1546
- states: {
1547
- esborrany: [["readonly", false]],
1548
- modcontractual: [
1549
- ["readonly", false],
1550
- ["required", true],
1551
- ],
1552
- validar: [
1553
- ["readonly", false],
1554
- ["required", true],
1555
- ],
1556
- },
1557
- string: "Adreça fiscal",
1558
- type: "many2one",
1559
- views: {},
1560
- },
1561
- distribuidora: {
1562
- context: "",
1563
- domain: [["supplier", "=", 1]],
1564
- readonly: true,
1565
- relation: "res.partner",
1566
- size: 64,
1567
- states: {
1568
- esborrany: [["readonly", false]],
1569
- modcontractual: [
1570
- ["readonly", false],
1571
- ["required", true],
1572
- ],
1573
- validar: [
1574
- ["readonly", false],
1575
- ["required", true],
1576
- ],
1577
- },
1578
- string: "Distribuidora",
1579
- type: "many2one",
1580
- views: {},
1581
- },
1582
- enviament: {
1583
- readonly: true,
1584
- selection: [
1585
- ["postal", "Correu postal"],
1586
- ["email", "E-mail"],
1587
- ["postal+email", "Correu postal i e-mail"],
1588
- ],
1589
- states: {
1590
- esborrany: [["readonly", false]],
1591
- modcontractual: [
1592
- ["readonly", false],
1593
- ["required", true],
1594
- ],
1595
- validar: [["readonly", false]],
1596
- },
1597
- string: "Enviar factura via",
1598
- type: "selection",
1599
- views: {},
1600
- },
1601
- expected_consumption: {
1602
- help:
1603
- "Aquest camp calcula el consum total pactat per contractes eventuals sense comptador",
1604
- readonly: true,
1605
- string: "Consum pactat",
1606
- type: "float",
1607
- views: {},
1608
- },
1609
- facturacio: {
1610
- readonly: true,
1611
- selection: [
1612
- [1, "Mensual"],
1613
- [2, "Bimestral"],
1614
- ],
1615
- states: {
1616
- esborrany: [["readonly", false]],
1617
- modcontractual: [
1618
- ["readonly", false],
1619
- ["required", true],
1620
- ],
1621
- validar: [
1622
- ["readonly", false],
1623
- ["required", true],
1624
- ],
1625
- },
1626
- string: "Facturació",
1627
- type: "selection",
1628
- views: {},
1629
- },
1630
- facturacio_distri: {
1631
- help: "Periodicitat de facturació dedistribuidora",
1632
- readonly: true,
1633
- selection: [
1634
- [1, "Mensual"],
1635
- [2, "Bimestral"],
1636
- ],
1637
- states: {
1638
- esborrany: [["readonly", false]],
1639
- modcontractual: [["readonly", false]],
1640
- validar: [["readonly", false]],
1641
- },
1642
- string: "Facturació de distribuïdora",
1643
- type: "selection",
1644
- views: {},
1645
- },
1646
- facturacio_potencia: {
1647
- readonly: true,
1648
- selection: [
1649
- ["max", "Maxímetro"],
1650
- ["icp", "ICP"],
1651
- ["recarrec", "Recàrrec ICP"],
1652
- ],
1653
- states: {
1654
- esborrany: [["readonly", false]],
1655
- modcontractual: [
1656
- ["readonly", false],
1657
- ["required", true],
1658
- ],
1659
- validar: [
1660
- ["readonly", false],
1661
- ["required", true],
1662
- ],
1663
- },
1664
- string: "Facturación Potencia",
1665
- type: "selection",
1666
- views: {},
1667
- },
1668
- facturacio_suspesa: {
1669
- string: "Facturació Suspesa",
1670
- type: "boolean",
1671
- views: {},
1672
- },
1673
- is_autoconsum_collectiu: {
1674
- digits: [16, 2],
1675
- readonly: 1,
1676
- string: "Es col·lectiu",
1677
- type: "boolean",
1678
- views: {},
1679
- },
1680
- lectura_en_baja: {
1681
- readonly: true,
1682
- states: {
1683
- esborrany: [["readonly", false]],
1684
- modcontractual: [
1685
- ["readonly", false],
1686
- ["required", true],
1687
- ],
1688
- validar: [["readonly", false]],
1689
- },
1690
- string: "Lectura en baixa",
1691
- type: "boolean",
1692
- views: {},
1693
- },
1694
- llista_preu: {
1695
- context: "",
1696
- domain: [["type", "=", "sale"]],
1697
- readonly: true,
1698
- relation: "product.pricelist",
1699
- size: 64,
1700
- states: {
1701
- esborrany: [["readonly", false]],
1702
- modcontractual: [
1703
- ["readonly", false],
1704
- ["required", true],
1705
- ],
1706
- validar: [
1707
- ["readonly", false],
1708
- ["required", true],
1709
- ],
1710
- },
1711
- string: "Tarifa Comercialitzadora",
1712
- type: "many2one",
1713
- views: {},
1714
- },
1715
- log_ids: {
1716
- context: "",
1717
- domain: [],
1718
- inv_field: "polissa_id",
1719
- readonly: true,
1720
- relation: "giscedata.polissa.log",
1721
- string: "Històric",
1722
- type: "one2many",
1723
- views: {},
1724
- },
1725
- lot_facturacio: {
1726
- context: "",
1727
- domain: [],
1728
- relation: "giscedata.facturacio.lot",
1729
- size: 64,
1730
- string: "Lot de facturació",
1731
- type: "many2one",
1732
- views: {},
1733
- },
1734
- modcontractual_activa: {
1735
- context: "",
1736
- domain: [],
1737
- readonly: true,
1738
- relation: "giscedata.polissa.modcontractual",
1739
- size: 64,
1740
- string: "Modificació contractual actual",
1741
- type: "many2one",
1742
- views: {},
1743
- },
1744
- modcontractuals_ids: {
1745
- context: {
1746
- active_test: false,
1747
- },
1748
- domain: [],
1749
- inv_field: "polissa_id",
1750
- readonly: true,
1751
- relation: "giscedata.polissa.modcontractual",
1752
- string: "Modificacions contractuals",
1753
- type: "one2many",
1754
- views: {},
1755
- },
1756
- name: {
1757
- readonly: true,
1758
- select: true,
1759
- size: 60,
1760
- states: {
1761
- esborrany: [["readonly", false]],
1762
- },
1763
- string: "Contracte",
1764
- type: "char",
1765
- views: {},
1766
- },
1767
- name_auto: {
1768
- string: "Auto",
1769
- type: "boolean",
1770
- views: {},
1771
- },
1772
- no_cessio_sips: {
1773
- readonly: true,
1774
- selection: [
1775
- ["unactive", "Desactivat"],
1776
- ["requested", "Sol·licitat"],
1777
- ["active", "Activat"],
1778
- ],
1779
- states: {
1780
- esborrany: [["readonly", false]],
1781
- modcontractual: [["readonly", false]],
1782
- validar: [["readonly", false]],
1783
- },
1784
- string: "No cessió de SIPS",
1785
- type: "selection",
1786
- views: {},
1787
- },
1788
- no_cessio_sips_data: {
1789
- readonly: true,
1790
- states: {
1791
- esborrany: [["readonly", false]],
1792
- modcontractual: [["readonly", false]],
1793
- validar: [["readonly", false]],
1794
- },
1795
- string: "Data sol·licitud",
1796
- type: "date",
1797
- views: {},
1798
- },
1799
- nocutoff: {
1800
- context: "",
1801
- domain: [],
1802
- readonly: true,
1803
- relation: "giscedata.polissa.nocutoff",
1804
- size: 64,
1805
- states: {
1806
- esborrany: [["readonly", false]],
1807
- modcontractual: [["readonly", false]],
1808
- validar: [["readonly", false]],
1809
- },
1810
- string: "Subministrament no tallable",
1811
- type: "many2one",
1812
- views: {},
1813
- },
1814
- notificacio: {
1815
- readonly: true,
1816
- selection: [
1817
- ["titular", "Titular"],
1818
- ["pagador", "Fiscal"],
1819
- ["altre_p", "Altra"],
1820
- ],
1821
- states: {
1822
- esborrany: [["readonly", false]],
1823
- modcontractual: [
1824
- ["readonly", false],
1825
- ["required", true],
1826
- ],
1827
- validar: [
1828
- ["readonly", false],
1829
- ["required", true],
1830
- ],
1831
- },
1832
- string: "Persona notificació",
1833
- type: "selection",
1834
- views: {},
1835
- },
1836
- notificacio_email: {
1837
- digits: [16, 2],
1838
- readonly: 1,
1839
- size: 240,
1840
- string: "Email dir. notif.",
1841
- type: "char",
1842
- views: {},
1843
- },
1844
- observacions: {
1845
- string: "Observacions",
1846
- type: "text",
1847
- views: {},
1848
- },
1849
- pagador: {
1850
- context: "",
1851
- domain: [],
1852
- readonly: true,
1853
- relation: "res.partner",
1854
- select: true,
1855
- size: 40,
1856
- states: {
1857
- esborrany: [["readonly", false]],
1858
- modcontractual: [
1859
- ["readonly", false],
1860
- ["required", true],
1861
- ],
1862
- validar: [
1863
- ["readonly", false],
1864
- ["required", true],
1865
- ],
1866
- },
1867
- string: "Raó fiscal",
1868
- type: "many2one",
1869
- views: {},
1870
- },
1871
- pagador_email: {
1872
- digits: [16, 2],
1873
- readonly: 1,
1874
- size: 240,
1875
- string: "Email dir. fiscal",
1876
- type: "char",
1877
- views: {},
1878
- },
1879
- pagador_nif: {
1880
- digits: [16, 2],
1881
- readonly: true,
1882
- string: "NIF fiscal",
1883
- type: "char",
1884
- views: {},
1885
- },
1886
- pagador_sel: {
1887
- readonly: true,
1888
- selection: [
1889
- ["titular", "Titular"],
1890
- ["altre_p", "Altre"],
1891
- ],
1892
- size: 64,
1893
- states: {
1894
- esborrany: [["readonly", false]],
1895
- modcontractual: [
1896
- ["readonly", false],
1897
- ["required", true],
1898
- ],
1899
- validar: [
1900
- ["readonly", false],
1901
- ["required", true],
1902
- ],
1903
- },
1904
- string: "Persona fiscal",
1905
- type: "selection",
1906
- views: {},
1907
- },
1908
- payment_mode_id: {
1909
- context: "",
1910
- domain: [],
1911
- readonly: true,
1912
- relation: "payment.mode",
1913
- size: 64,
1914
- states: {
1915
- esborrany: [["readonly", false]],
1916
- modcontractual: [
1917
- ["readonly", false],
1918
- ["required", true],
1919
- ],
1920
- validar: [
1921
- ["readonly", false],
1922
- ["required", true],
1923
- ],
1924
- },
1925
- string: "Grup de pagament",
1926
- type: "many2one",
1927
- views: {},
1928
- },
1929
- payment_term: {
1930
- context: "",
1931
- domain: [],
1932
- readonly: true,
1933
- relation: "account.payment.term",
1934
- size: 64,
1935
- states: {
1936
- esborrany: [["readonly", false]],
1937
- modcontractual: [
1938
- ["readonly", false],
1939
- ["required", false],
1940
- ],
1941
- validar: [
1942
- ["readonly", false],
1943
- ["required", false],
1944
- ],
1945
- },
1946
- string: "Plazo de pago",
1947
- type: "many2one",
1948
- views: {},
1949
- },
1950
- pending_amount: {
1951
- digits: [16, 2],
1952
- readonly: 1,
1953
- string: "Pending amount",
1954
- type: "float",
1955
- views: {},
1956
- },
1957
- pending_state: {
1958
- digits: [16, 2],
1959
- readonly: 1,
1960
- size: 64,
1961
- string: "Pending State",
1962
- type: "char",
1963
- views: {},
1964
- },
1965
- persona_fisica: {
1966
- digits: [16, 2],
1967
- size: 2,
1968
- string: "unknown",
1969
- type: "char",
1970
- views: {},
1971
- },
1972
- potencia: {
1973
- digits: [16, 3],
1974
- readonly: true,
1975
- states: {
1976
- esborrany: [["readonly", false]],
1977
- modcontractual: [
1978
- ["readonly", false],
1979
- ["required", true],
1980
- ],
1981
- validar: [
1982
- ["readonly", false],
1983
- ["required", true],
1984
- ],
1985
- },
1986
- string: "Potència contractada (kW)",
1987
- type: "float",
1988
- views: {},
1989
- },
1990
- potencies_periode: {
1991
- context: "",
1992
- domain: [],
1993
- inv_field: "polissa_id",
1994
- readonly: true,
1995
- relation: "giscedata.polissa.potencia.contractada.periode",
1996
- states: {
1997
- esborrany: [["readonly", false]],
1998
- modcontractual: [["readonly", false]],
1999
- validar: [["readonly", false]],
2000
- },
2001
- string: "Potencies contractades per periode",
2002
- type: "one2many",
2003
- views: {
2004
- form: {
2005
- arch:
2006
- '<form string="Pot&#xE8;ncia">\n <field name="periode_id" readonly="1"/>\n <field name="potencia"/>\n </form>\n ',
2007
- fields: {
2008
- periode_id: {
2009
- context: "",
2010
- domain: [],
2011
- readonly: true,
2012
- relation: "giscedata.polissa.tarifa.periodes",
2013
- required: true,
2014
- size: 64,
2015
- string: "Periode",
2016
- type: "many2one",
2017
- views: {},
2018
- },
2019
- potencia: {
2020
- digits: [15, 3],
2021
- required: true,
2022
- string: "Potencia contractada",
2023
- type: "float",
2024
- views: {},
2025
- },
2026
- },
2027
- },
2028
- tree: {
2029
- arch:
2030
- '<tree string="Pot&#xE8;ncies">\n <field name="periode_id"/>\n <field name="potencia"/>\n </tree>\n ',
2031
- fields: {
2032
- periode_id: {
2033
- context: "",
2034
- domain: [],
2035
- readonly: true,
2036
- relation: "giscedata.polissa.tarifa.periodes",
2037
- required: true,
2038
- size: 64,
2039
- string: "Periode",
2040
- type: "many2one",
2041
- views: {},
2042
- },
2043
- potencia: {
2044
- digits: [15, 3],
2045
- required: true,
2046
- string: "Potencia contractada",
2047
- type: "float",
2048
- views: {},
2049
- },
2050
- },
2051
- },
2052
- },
2053
- },
2054
- print_observations: {
2055
- string: "Observacions impresses",
2056
- type: "text",
2057
- views: {},
2058
- },
2059
- process_id: {
2060
- context: "",
2061
- digits: [16, 2],
2062
- domain: [],
2063
- readonly: true,
2064
- relation: "account.invoice.pending.state.process",
2065
- required: true,
2066
- states: {
2067
- esborrany: [["readonly", false]],
2068
- modcontractual: [["readonly", false]],
2069
- validar: [["readonly", false]],
2070
- },
2071
- string: "Procés de tall",
2072
- type: "many2one",
2073
- views: {},
2074
- },
2075
- property_unitat_potencia: {
2076
- context: "",
2077
- digits: [16, 2],
2078
- domain: "[('category_id.name', '=', 'POT ELEC')]",
2079
- help: "Amb quina unitat es vol facturar la potència",
2080
- readonly: true,
2081
- relation: "product.uom",
2082
- states: {
2083
- esborrany: [["readonly", false]],
2084
- modcontractual: [
2085
- ["readonly", false],
2086
- ["required", true],
2087
- ],
2088
- validar: [
2089
- ["readonly", false],
2090
- ["required", true],
2091
- ],
2092
- },
2093
- string: "Unitat de facturació potència",
2094
- type: "many2one",
2095
- views: {},
2096
- },
2097
- propietari_bank: {
2098
- digits: [16, 2],
2099
- readonly: true,
2100
- size: 128,
2101
- string: "Propietari compte bancari",
2102
- type: "char",
2103
- views: {},
2104
- },
2105
- ref_dist: {
2106
- size: 60,
2107
- string: "Referència distribuidora",
2108
- type: "char",
2109
- views: {},
2110
- },
2111
- refacturacio_pendent: {
2112
- string: "Refacturació Pendent",
2113
- type: "boolean",
2114
- views: {},
2115
- },
2116
- related_attachments: {
2117
- context: "",
2118
- digits: [16, 2],
2119
- domain: [],
2120
- readonly: 1,
2121
- relation: "ir.attachment",
2122
- string: "Adjunts relacionats",
2123
- type: "one2many",
2124
- views: {},
2125
- },
2126
- renovacio_auto: {
2127
- string: "Renovació Automàtica",
2128
- type: "boolean",
2129
- views: {},
2130
- },
2131
- representante_id: {
2132
- context: "",
2133
- domain: [],
2134
- readonly: true,
2135
- relation: "res.partner",
2136
- size: 64,
2137
- states: {
2138
- esborrany: [["readonly", false]],
2139
- modcontractual: [["readonly", false]],
2140
- validar: [["readonly", false]],
2141
- },
2142
- string: "Representante",
2143
- type: "many2one",
2144
- views: {},
2145
- },
2146
- state: {
2147
- readonly: true,
2148
- required: true,
2149
- selection: [
2150
- ["esborrany", "Esborrany"],
2151
- ["validar", "Validar"],
2152
- ["pendent", "Pendent"],
2153
- ["activa", "Activa"],
2154
- ["cancelada", "Cancel·lada"],
2155
- ["contracte", "Activació Contracte"],
2156
- ["novapolissa", "Creació nova pòlissa"],
2157
- ["modcontractual", "Modificació Contractual"],
2158
- ["impagament", "Impagament"],
2159
- ["tall", "Tall"],
2160
- ["baixa", "Baixa"],
2161
- ["facturacio", "Facturació"],
2162
- ],
2163
- string: "Estat",
2164
- type: "selection",
2165
- views: {},
2166
- },
2167
- tarifa: {
2168
- context: "",
2169
- domain: [],
2170
- readonly: true,
2171
- relation: "giscedata.polissa.tarifa",
2172
- size: 64,
2173
- states: {
2174
- esborrany: [["readonly", false]],
2175
- modcontractual: [
2176
- ["readonly", false],
2177
- ["required", true],
2178
- ],
2179
- validar: [
2180
- ["readonly", false],
2181
- ["required", true],
2182
- ],
2183
- },
2184
- string: "Tarifa d'accés",
2185
- type: "many2one",
2186
- views: {},
2187
- },
2188
- tarifa_codi: {
2189
- digits: [16, 2],
2190
- string: "Codi Tarifa",
2191
- type: "char",
2192
- views: {},
2193
- },
2194
- tensio: {
2195
- digits: [16, 2],
2196
- readonly: 1,
2197
- string: "Tensió (v)",
2198
- type: "integer",
2199
- views: {},
2200
- },
2201
- tensio_normalitzada: {
2202
- context: "",
2203
- domain: [],
2204
- readonly: true,
2205
- relation: "giscedata.tensions.tensio",
2206
- size: 64,
2207
- states: {
2208
- esborrany: [["readonly", false]],
2209
- modcontractual: [
2210
- ["readonly", false],
2211
- ["required", true],
2212
- ],
2213
- validar: [
2214
- ["readonly", false],
2215
- ["required", true],
2216
- ],
2217
- },
2218
- string: "Tensió normalitzada",
2219
- type: "many2one",
2220
- views: {},
2221
- },
2222
- tg: {
2223
- help: "Telegestió operativa amb o sense corba de càrrega (CCH)",
2224
- readonly: true,
2225
- selection: [
2226
- ["1", "Operativa amb CCH"],
2227
- ["2", "No operativa"],
2228
- ["3", "Operativa Sense CCH"],
2229
- ],
2230
- states: {
2231
- esborrany: [["readonly", false]],
2232
- modcontractual: [["readonly", false]],
2233
- validar: [["readonly", false]],
2234
- },
2235
- string: "Telegestió",
2236
- type: "selection",
2237
- views: {},
2238
- },
2239
- tipo_pago: {
2240
- context: "",
2241
- domain: [],
2242
- readonly: true,
2243
- relation: "payment.type",
2244
- size: 64,
2245
- states: {
2246
- esborrany: [["readonly", false]],
2247
- modcontractual: [
2248
- ["readonly", false],
2249
- ["required", true],
2250
- ],
2251
- validar: [
2252
- ["readonly", false],
2253
- ["required", true],
2254
- ],
2255
- },
2256
- string: "Tipo de pago",
2257
- type: "many2one",
2258
- views: {},
2259
- },
2260
- tipus_vivenda: {
2261
- readonly: true,
2262
- selection: [
2263
- ["habitual", "Habitual"],
2264
- ["no_habitual", "No habitual"],
2265
- ],
2266
- states: {
2267
- esborrany: [["readonly", false]],
2268
- modcontractual: [["readonly", false]],
2269
- validar: [["readonly", false]],
2270
- },
2271
- string: "Tipus vivenda",
2272
- type: "selection",
2273
- views: {},
2274
- },
2275
- titular: {
2276
- context: "",
2277
- domain: [],
2278
- readonly: true,
2279
- relation: "res.partner",
2280
- size: 40,
2281
- states: {
2282
- esborrany: [["readonly", false]],
2283
- validar: [
2284
- ["readonly", false],
2285
- ["required", true],
2286
- ],
2287
- },
2288
- string: "Titular",
2289
- type: "many2one",
2290
- views: {},
2291
- },
2292
- titular_nif: {
2293
- digits: [16, 2],
2294
- readonly: true,
2295
- string: "NIF titular",
2296
- type: "char",
2297
- views: {},
2298
- },
2299
- trafo: {
2300
- readonly: true,
2301
- states: {
2302
- esborrany: [["readonly", false]],
2303
- modcontractual: [
2304
- ["readonly", false],
2305
- ["required", true],
2306
- ],
2307
- validar: [["readonly", false]],
2308
- },
2309
- string: "Trafo KVA",
2310
- type: "float",
2311
- views: {},
2312
- },
2313
- unpaid_invoices: {
2314
- digits: [16, 2],
2315
- readonly: 1,
2316
- string: "Unpaid invoices",
2317
- type: "integer",
2318
- views: {},
2319
- },
2320
- user_id: {
2321
- context: "",
2322
- domain: [],
2323
- relation: "res.users",
2324
- size: 64,
2325
- string: "Comercial",
2326
- type: "many2one",
2327
- views: {},
2328
- },
2329
- versio_primera_factura: {
2330
- context: "",
2331
- domain: [],
2332
- help:
2333
- "Estableix la versió de la llista de preus que s'utilitzarà per la primera facturació.",
2334
- readonly: true,
2335
- relation: "product.pricelist.version",
2336
- size: 64,
2337
- states: {
2338
- esborrany: [["readonly", false]],
2339
- modcontractual: [
2340
- ["readonly", false],
2341
- ["required", false],
2342
- ],
2343
- validar: [
2344
- ["readonly", false],
2345
- ["required", false],
2346
- ],
2347
- },
2348
- string: "Versió primera facturació",
2349
- type: "many2one",
2350
- views: {},
2351
- },
2352
- },
2353
- model: "giscedata.polissa",
2354
- name: "giscedata.polissa.form",
2355
- search_fields: {
2356
- primary: [
2357
- "active",
2358
- "distribuidora",
2359
- "ref_dist",
2360
- "titular",
2361
- "cups",
2362
- "cups_direccio",
2363
- "tarifa",
2364
- "potencia",
2365
- "tipus_vivenda",
2366
- "facturacio",
2367
- "lot_facturacio",
2368
- "llista_preu",
2369
- "titular_nif",
2370
- "pagador",
2371
- "direccio_pagament",
2372
- "comercial_id",
2373
- "observacions",
2374
- "comptador",
2375
- "state",
2376
- "name",
2377
- ],
2378
- secondary: [
2379
- "payment_term",
2380
- "autoconsumo",
2381
- "data_ultima_lectura",
2382
- "pending_state",
2383
- "contract_type",
2384
- "direccio_notificacio",
2385
- "condicions_generals_id",
2386
- "codigo_promocional",
2387
- "tensio_normalitzada",
2388
- "unpaid_invoices",
2389
- "payment_mode_id",
2390
- "data_alta",
2391
- "tg",
2392
- "data_firma_contracte",
2393
- "data_baixa",
2394
- "facturacio_suspesa",
2395
- "lectura_en_baja",
2396
- "process_id",
2397
- "cups_cp",
2398
- "renovacio_auto",
2399
- "cups_poblacio",
2400
- "facturacio_potencia",
2401
- "debt_amount",
2402
- "cnae",
2403
- "pending_amount",
2404
- ],
2405
- },
2406
- toolbar: {
2407
- action: [
2408
- {
2409
- auto_refresh: 0,
2410
- context: "{}",
2411
- domain: false,
2412
- groups_id: [],
2413
- id: 1704,
2414
- limit: 80,
2415
- name: "Facturar comissions comercial",
2416
- res_model: "wizard.facturar.comissio.from.polissa",
2417
- src_model: false,
2418
- string: "Facturar comissions comercial",
2419
- target: "new",
2420
- type: "ir.actions.act_window",
2421
- usage: false,
2422
- view_id: [1953, "wizard.facturar.comissio.from.polissa.form"],
2423
- view_ids: [],
2424
- view_mode: "form",
2425
- view_type: "form",
2426
- views: [[1953, "form"]],
2427
- },
2428
- {
2429
- auto_refresh: 0,
2430
- context: "{}",
2431
- domain: false,
2432
- groups_id: [],
2433
- id: 1509,
2434
- limit: 80,
2435
- name: "Generar cas Gestió ATR",
2436
- res_model: "giscedata.switching.polissa.c101.wizard",
2437
- src_model: false,
2438
- string: "Generar cas Gestió ATR",
2439
- target: "new",
2440
- type: "ir.actions.act_window",
2441
- usage: false,
2442
- view_id: [1661, "wizard.switching.polissa.c101.form"],
2443
- view_ids: [],
2444
- view_mode: "form",
2445
- view_type: "form",
2446
- views: [[1661, "form"]],
2447
- },
2448
- {
2449
- auto_refresh: 0,
2450
- context: "{}",
2451
- domain: false,
2452
- groups_id: [],
2453
- id: 1505,
2454
- limit: 80,
2455
- name: "Update contract SIPS data",
2456
- res_model: "wizard.update.contract.sips.data",
2457
- src_model: false,
2458
- string: "Update contract SIPS data",
2459
- target: "new",
2460
- type: "ir.actions.act_window",
2461
- usage: false,
2462
- view_id: [1655, "wizard.update.contract.sips.data.form"],
2463
- view_ids: [],
2464
- view_mode: "form",
2465
- view_type: "form",
2466
- views: [[1655, "form"]],
2467
- },
2468
- {
2469
- auto_refresh: 0,
2470
- context: "{'model': 'giscedata.polissa'}",
2471
- domain: false,
2472
- groups_id: [],
2473
- id: 1616,
2474
- limit: 80,
2475
- name: "Càrrega de lectures de Pool",
2476
- res_model: "giscedata.lectures.pool.wizard",
2477
- src_model: false,
2478
- string: "Càrrega de lectures de Pool",
2479
- target: "new",
2480
- type: "ir.actions.act_window",
2481
- usage: false,
2482
- view_id: false,
2483
- view_ids: [],
2484
- view_mode: "form",
2485
- view_type: "form",
2486
- views: [[1830, "form"]],
2487
- },
2488
- {
2489
- auto_refresh: 0,
2490
- context: "{}",
2491
- domain: false,
2492
- groups_id: [],
2493
- id: 1469,
2494
- limit: 80,
2495
- name: "Canvi de compte",
2496
- res_model: "wizard.bank.account.change",
2497
- src_model: false,
2498
- string: "Canvi de compte",
2499
- target: "new",
2500
- type: "ir.actions.act_window",
2501
- usage: false,
2502
- view_id: false,
2503
- view_ids: [],
2504
- view_mode: "form",
2505
- view_type: "form",
2506
- views: [[1609, "form"]],
2507
- },
2508
- {
2509
- auto_refresh: 0,
2510
- context: "{}",
2511
- domain: false,
2512
- groups_id: [],
2513
- id: 1464,
2514
- limit: 80,
2515
- name: "Avançar facturació",
2516
- res_model: "wizard.avancar.facturacio",
2517
- src_model: false,
2518
- string: "Avançar facturació",
2519
- target: "new",
2520
- type: "ir.actions.act_window",
2521
- usage: false,
2522
- view_id: false,
2523
- view_ids: [],
2524
- view_mode: "form",
2525
- view_type: "form",
2526
- views: [[1600, "form"]],
2527
- },
2528
- {
2529
- auto_refresh: 0,
2530
- context: "{}",
2531
- domain: false,
2532
- groups_id: [],
2533
- id: 1463,
2534
- limit: 80,
2535
- name: "Canvi de dades fiscals i compte",
2536
- res_model: "wizard.payer.change",
2537
- src_model: false,
2538
- string: "Canvi de dades fiscals i compte",
2539
- target: "new",
2540
- type: "ir.actions.act_window",
2541
- usage: false,
2542
- view_id: false,
2543
- view_ids: [],
2544
- view_mode: "form",
2545
- view_type: "form",
2546
- views: [[1599, "form"]],
2547
- },
2548
- {
2549
- auto_refresh: 0,
2550
- context: "{'model': 'giscedata.polissa'}",
2551
- domain: false,
2552
- groups_id: [],
2553
- id: 1431,
2554
- limit: 80,
2555
- name: "Devolució diposit",
2556
- res_model: "wizard.refund.deposit",
2557
- src_model: false,
2558
- string: "Devolució diposit",
2559
- target: "new",
2560
- type: "ir.actions.act_window",
2561
- usage: false,
2562
- view_id: false,
2563
- view_ids: [],
2564
- view_mode: "form",
2565
- view_type: "form",
2566
- views: [[1554, "form"]],
2567
- },
2568
- {
2569
- auto_refresh: 0,
2570
- context: "{}",
2571
- domain: false,
2572
- groups_id: [],
2573
- id: 1367,
2574
- limit: 80,
2575
- name: "Afegir polisses a un lot",
2576
- res_model: "wizard.afegir.polisses.lot",
2577
- src_model: false,
2578
- string: "Afegir polisses a un lot",
2579
- target: "new",
2580
- type: "ir.actions.act_window",
2581
- usage: false,
2582
- view_id: false,
2583
- view_ids: [],
2584
- view_mode: "form",
2585
- view_type: "form",
2586
- views: [[1490, "form"]],
2587
- },
2588
- {
2589
- auto_refresh: 0,
2590
- context: "{}",
2591
- domain: false,
2592
- groups_id: [],
2593
- id: 434,
2594
- limit: 80,
2595
- name: "Actualitzar data firma contracte",
2596
- res_model: "wizard.update.data.firma.contracte",
2597
- src_model: false,
2598
- string: "Actualitzar data firma contracte",
2599
- target: "new",
2600
- type: "ir.actions.act_window",
2601
- usage: false,
2602
- view_id: false,
2603
- view_ids: [],
2604
- view_mode: "form",
2605
- view_type: "form",
2606
- views: [[496, "form"]],
2607
- },
2608
- {
2609
- auto_refresh: 0,
2610
- context: "{'default_polissa_id': active_id}",
2611
- domain: false,
2612
- groups_id: [],
2613
- id: 433,
2614
- limit: 80,
2615
- name: "Actualitzar data d'alta",
2616
- res_model: "wizard.update.data.alta",
2617
- src_model: false,
2618
- string: "Actualitzar data d'alta",
2619
- target: "new",
2620
- type: "ir.actions.act_window",
2621
- usage: false,
2622
- view_id: false,
2623
- view_ids: [],
2624
- view_mode: "form",
2625
- view_type: "form",
2626
- views: [[495, "form"]],
2627
- },
2628
- {
2629
- auto_refresh: 0,
2630
- context: "{'model_name': 'giscedata.polissa'}",
2631
- domain: false,
2632
- groups_id: [],
2633
- id: 1658,
2634
- limit: 80,
2635
- name: "Buscar Procesos de Firma",
2636
- res_model: "wizard.signature.model",
2637
- src_model: false,
2638
- string: "Buscar Procesos de Firma",
2639
- target: "new",
2640
- type: "ir.actions.act_window",
2641
- usage: false,
2642
- view_id: false,
2643
- view_ids: [],
2644
- view_mode: "form",
2645
- view_type: "form",
2646
- views: [[1837, "form"]],
2647
- },
2648
- {
2649
- auto_refresh: 0,
2650
- context: "{}",
2651
- domain: false,
2652
- groups_id: [],
2653
- id: 1657,
2654
- limit: 80,
2655
- name: "Signar contracte digitalment",
2656
- res_model: "wizard.signar.contracte.esborrany",
2657
- src_model: false,
2658
- string: "Signar contracte digitalment",
2659
- target: "new",
2660
- type: "ir.actions.act_window",
2661
- usage: false,
2662
- view_id: false,
2663
- view_ids: [],
2664
- view_mode: "form",
2665
- view_type: "form",
2666
- views: [[1915, "form"]],
2667
- },
2668
- {
2669
- auto_refresh: 0,
2670
- context: "{'model':'giscedata.polissa'}",
2671
- domain: false,
2672
- groups_id: [],
2673
- id: 1650,
2674
- limit: 80,
2675
- name: "Generar Casos",
2676
- res_model: "wizard.create.case",
2677
- src_model: false,
2678
- string: "Generar Casos",
2679
- target: "new",
2680
- type: "ir.actions.act_window",
2681
- usage: false,
2682
- view_id: false,
2683
- view_ids: [],
2684
- view_mode: "form",
2685
- view_type: "form",
2686
- views: [[1852, "form"]],
2687
- },
2688
- ],
2689
- print: [
2690
- {
2691
- attachment: false,
2692
- attachment_use: false,
2693
- auto: true,
2694
- context: "{}",
2695
- groups_id: [],
2696
- header: false,
2697
- id: 956,
2698
- jasper_file_ids: [],
2699
- jasper_model_id: false,
2700
- jasper_output: false,
2701
- jasper_report: false,
2702
- model: "giscedata.polissa",
2703
- multi: false,
2704
- name: "Fitxa contracte",
2705
- report_name: "fitxa_contracte",
2706
- report_type: "pdf",
2707
- report_webkit: false,
2708
- report_webkit_data: false,
2709
- report_xml: false,
2710
- report_xsl: false,
2711
- signature_in_coordinates: false,
2712
- string: "Fitxa contracte",
2713
- type: "ir.actions.report.xml",
2714
- usage: false,
2715
- webkit_debug: false,
2716
- webkit_flags: false,
2717
- webkit_header: [1, "Base Sample"],
2718
- webkit_sign: false,
2719
- },
2720
- {
2721
- attachment: false,
2722
- attachment_use: false,
2723
- auto: false,
2724
- context: "{}",
2725
- groups_id: [],
2726
- header: false,
2727
- id: 436,
2728
- jasper_file_ids: [],
2729
- jasper_model_id: false,
2730
- jasper_output: false,
2731
- jasper_report: false,
2732
- model: "giscedata.polissa",
2733
- multi: false,
2734
- name: "Informe mod. contractuales",
2735
- report_name: "modcon",
2736
- report_type: "webkit",
2737
- report_webkit: "giscedata_polissa/report/modcon_report.mako",
2738
- report_webkit_data: false,
2739
- report_xml: false,
2740
- report_xsl: false,
2741
- signature_in_coordinates: false,
2742
- string: "Informe mod. contractuales",
2743
- type: "ir.actions.report.xml",
2744
- usage: false,
2745
- webkit_debug: false,
2746
- webkit_flags: false,
2747
- webkit_header: [2, "Sense fons header"],
2748
- webkit_sign: false,
2749
- },
2750
- {
2751
- attachment: false,
2752
- attachment_use: false,
2753
- auto: false,
2754
- context: "{}",
2755
- groups_id: [],
2756
- header: false,
2757
- id: 435,
2758
- jasper_file_ids: [],
2759
- jasper_model_id: false,
2760
- jasper_output: false,
2761
- jasper_report: false,
2762
- model: "giscedata.polissa",
2763
- multi: false,
2764
- name: "Contracte",
2765
- report_name: "giscedata.polissa",
2766
- report_type: "webkit",
2767
- report_webkit: "giscedata_polissa_comer/report/contracte.mako",
2768
- report_webkit_data: false,
2769
- report_xml: false,
2770
- report_xsl: false,
2771
- signature_in_coordinates:
2772
- '[{"top": 81, "left": 17, "height": 10, "width": 22}]',
2773
- string: "Contracte",
2774
- type: "ir.actions.report.xml",
2775
- usage: false,
2776
- webkit_debug: false,
2777
- webkit_flags: false,
2778
- webkit_header: [3, "Generic contract"],
2779
- webkit_sign: false,
2780
- },
2781
- ],
2782
- relate: [
2783
- {
2784
- auto_refresh: 0,
2785
- context: "{}",
2786
- domain: "[('cups_polissa_id', '=', active_id)]",
2787
- groups_id: [],
2788
- id: 1591,
2789
- limit: 0,
2790
- name: "Casos ATR",
2791
- res_model: "giscedata.switching",
2792
- src_model: "giscedata.polissa",
2793
- string: "Casos ATR",
2794
- target: "current",
2795
- type: "ir.actions.act_window",
2796
- usage: "",
2797
- view_id: false,
2798
- view_ids: [],
2799
- view_mode: "tree,form",
2800
- view_type: "form",
2801
- views: [
2802
- [1667, "tree"],
2803
- [1666, "form"],
2804
- ],
2805
- },
2806
- {
2807
- auto_refresh: 0,
2808
- context: "{}",
2809
- domain:
2810
- "[('ref', '=', name), ('product_id.default_code', '=', 'CON06')]",
2811
- groups_id: [],
2812
- id: 1441,
2813
- limit: 80,
2814
- name: "Moviments de fiances",
2815
- res_model: "account.move.line",
2816
- src_model: "res.partner",
2817
- string: "Moviments de fiances",
2818
- target: "current",
2819
- type: "ir.actions.act_window",
2820
- usage: false,
2821
- view_id: [184, "account.move.line.tree"],
2822
- view_ids: [],
2823
- view_mode: "tree,form",
2824
- view_type: "form",
2825
- views: [
2826
- [184, "tree"],
2827
- [185, "form"],
2828
- ],
2829
- },
2830
- {
2831
- auto_refresh: 0,
2832
- context: "{}",
2833
- domain: "[('polissa_id', '=', active_id)]",
2834
- groups_id: [],
2835
- id: 1411,
2836
- limit: 80,
2837
- name: "Factura manual",
2838
- res_model: "wizard.manual.invoice",
2839
- src_model: false,
2840
- string: "Factura manual",
2841
- target: "new",
2842
- type: "ir.actions.act_window",
2843
- usage: false,
2844
- view_id: false,
2845
- view_ids: [],
2846
- view_mode: "form",
2847
- view_type: "form",
2848
- views: [[1532, "form"]],
2849
- },
2850
- {
2851
- auto_refresh: 0,
2852
- context: "{}",
2853
- domain: "[('reference','=','giscedata.polissa,%d'%active_id)]",
2854
- groups_id: [],
2855
- id: 1405,
2856
- limit: 80,
2857
- name: "Mandatos",
2858
- res_model: "payment.mandate",
2859
- src_model: "giscedata.polissa",
2860
- string: "Mandatos",
2861
- target: "current",
2862
- type: "ir.actions.act_window",
2863
- usage: false,
2864
- view_id: false,
2865
- view_ids: [],
2866
- view_mode: "tree,form",
2867
- view_type: "form",
2868
- views: [
2869
- [1086, "tree"],
2870
- [1087, "form"],
2871
- ],
2872
- },
2873
- {
2874
- auto_refresh: 0,
2875
- context: "{'active_test': False}",
2876
- domain: "[('polissa_id','=', active_id)]",
2877
- groups_id: [],
2878
- id: 1394,
2879
- limit: 80,
2880
- name: "Extra lines",
2881
- res_model: "giscedata.facturacio.extra",
2882
- src_model: "giscedata.polissa",
2883
- string: "Extra lines",
2884
- target: "current",
2885
- type: "ir.actions.act_window",
2886
- usage: false,
2887
- view_id: false,
2888
- view_ids: [],
2889
- view_mode: "tree,form",
2890
- view_type: "form",
2891
- views: [
2892
- [1514, "tree"],
2893
- [1515, "form"],
2894
- ],
2895
- },
2896
- {
2897
- auto_refresh: 0,
2898
- context: "{}",
2899
- domain: "[('polissa_id', '=', active_id)]",
2900
- groups_id: [],
2901
- id: 1388,
2902
- limit: 80,
2903
- name: "Contractes Lot",
2904
- res_model: "giscedata.facturacio.contracte_lot",
2905
- src_model: "giscedata.polissa",
2906
- string: "Contractes Lot",
2907
- target: "current",
2908
- type: "ir.actions.act_window",
2909
- usage: false,
2910
- view_id: [1510, "giscedata.facturacio.contracte_lot.tree"],
2911
- view_ids: [],
2912
- view_mode: "tree,form",
2913
- view_type: "form",
2914
- views: [
2915
- [1510, "tree"],
2916
- [1511, "form"],
2917
- ],
2918
- },
2919
- {
2920
- auto_refresh: 0,
2921
- context: "{}",
2922
- domain: "[('polissa_id', '=', active_id), ('state', '=', 'open')]",
2923
- groups_id: [],
2924
- id: 1381,
2925
- limit: 80,
2926
- name: "Factures obertes",
2927
- res_model: "giscedata.facturacio.factura",
2928
- src_model: "giscedata.polissa",
2929
- string: "Factures obertes",
2930
- target: "current",
2931
- type: "ir.actions.act_window",
2932
- usage: false,
2933
- view_id: [1495, "giscedata.facturacio.factura.tree"],
2934
- view_ids: [],
2935
- view_mode: "tree,form",
2936
- view_type: "form",
2937
- views: [
2938
- [1495, "tree"],
2939
- [false, "form"],
2940
- ],
2941
- },
2942
- {
2943
- auto_refresh: 0,
2944
- context: "{}",
2945
- domain:
2946
- "[('polissa_id', '=', active_id),('type','in',('in_refund', 'in_invoice'))]",
2947
- groups_id: [],
2948
- id: 1380,
2949
- limit: 80,
2950
- name: "Factures Proveïdor",
2951
- res_model: "giscedata.facturacio.factura",
2952
- src_model: "giscedata.polissa",
2953
- string: "Factures Proveïdor",
2954
- target: "current",
2955
- type: "ir.actions.act_window",
2956
- usage: false,
2957
- view_id: [1495, "giscedata.facturacio.factura.tree"],
2958
- view_ids: [],
2959
- view_mode: "tree,form",
2960
- view_type: "form",
2961
- views: [
2962
- [1495, "tree"],
2963
- [false, "form"],
2964
- ],
2965
- },
2966
- {
2967
- auto_refresh: 0,
2968
- context: "{}",
2969
- domain:
2970
- "[('polissa_id', '=', active_id),('type','in',('out_refund', 'out_invoice'))]",
2971
- groups_id: [],
2972
- id: 1379,
2973
- limit: 80,
2974
- name: "Factures Client",
2975
- res_model: "giscedata.facturacio.factura",
2976
- src_model: "giscedata.polissa",
2977
- string: "Factures Client",
2978
- target: "current",
2979
- type: "ir.actions.act_window",
2980
- usage: false,
2981
- view_id: [1495, "giscedata.facturacio.factura.tree"],
2982
- view_ids: [],
2983
- view_mode: "tree,form",
2984
- view_type: "form",
2985
- views: [
2986
- [1495, "tree"],
2987
- [false, "form"],
2988
- ],
2989
- },
2990
- {
2991
- auto_refresh: 0,
2992
- context: "{}",
2993
- domain: "[('polissa_id', '=', active_id)]",
2994
- groups_id: [],
2995
- id: 1378,
2996
- limit: 80,
2997
- name: "Factures",
2998
- res_model: "giscedata.facturacio.factura",
2999
- src_model: "giscedata.polissa",
3000
- string: "Factures",
3001
- target: "current",
3002
- type: "ir.actions.act_window",
3003
- usage: false,
3004
- view_id: [1495, "giscedata.facturacio.factura.tree"],
3005
- view_ids: [],
3006
- view_mode: "tree,form",
3007
- view_type: "form",
3008
- views: [
3009
- [1495, "tree"],
3010
- [false, "form"],
3011
- ],
3012
- },
3013
- {
3014
- auto_refresh: 0,
3015
- context: "{}",
3016
- domain: "[('polissa', '=', active_id)]",
3017
- groups_id: [],
3018
- id: 940,
3019
- limit: 80,
3020
- name: "Comptadors",
3021
- res_model: "giscedata.lectures.comptador",
3022
- src_model: "giscedata.polissa",
3023
- string: "Comptadors",
3024
- target: "current",
3025
- type: "ir.actions.act_window",
3026
- usage: false,
3027
- view_id: false,
3028
- view_ids: [],
3029
- view_mode: "tree,form",
3030
- view_type: "form",
3031
- views: [
3032
- [1033, "tree"],
3033
- [1032, "form"],
3034
- ],
3035
- },
3036
- {
3037
- auto_refresh: 0,
3038
- context: "{}",
3039
- domain: "[('cups_id', '=', cups)]",
3040
- groups_id: [],
3041
- id: 1500,
3042
- limit: 80,
3043
- name: "Bulletins",
3044
- res_model: "giscedata.butlleti",
3045
- src_model: "giscedata.polissa",
3046
- string: "Bulletins",
3047
- target: "current",
3048
- type: "ir.actions.act_window",
3049
- usage: false,
3050
- view_id: false,
3051
- view_ids: [],
3052
- view_mode: "tree,form",
3053
- view_type: "form",
3054
- views: [
3055
- [1645, "tree"],
3056
- [1646, "form"],
3057
- ],
3058
- },
3059
- {
3060
- auto_refresh: 0,
3061
- context: "{'active_test': False}",
3062
- domain: "[('polissa_id', '=', active_id)]",
3063
- groups_id: [],
3064
- id: 424,
3065
- limit: 80,
3066
- name: "Modificacions Contractuals",
3067
- res_model: "giscedata.polissa.modcontractual",
3068
- src_model: "giscedata.polissa",
3069
- string: "Modificacions Contractuals",
3070
- target: "current",
3071
- type: "ir.actions.act_window",
3072
- usage: false,
3073
- view_id: [485, "giscedata.polissa.modcontractual.tree.llistat"],
3074
- view_ids: [],
3075
- view_mode: "tree,form",
3076
- view_type: "form",
3077
- views: [
3078
- [485, "tree"],
3079
- [488, "form"],
3080
- ],
3081
- },
3082
- {
3083
- auto_refresh: 0,
3084
- context: "{}",
3085
- domain: "[('polissa_id','=',active_id)]",
3086
- groups_id: [],
3087
- id: 1651,
3088
- limit: 80,
3089
- name: "Casos",
3090
- res_model: "crm.case",
3091
- src_model: "giscedata.polissa",
3092
- string: "Casos",
3093
- target: "current",
3094
- type: "ir.actions.act_window",
3095
- usage: false,
3096
- view_id: false,
3097
- view_ids: [],
3098
- view_mode: "tree,form",
3099
- view_type: "form",
3100
- views: [
3101
- [1623, "tree"],
3102
- [1624, "form"],
3103
- ],
3104
- },
3105
- {
3106
- auto_refresh: 0,
3107
- context: "{}",
3108
- domain: "[('id', '=', active_id)]",
3109
- groups_id: [],
3110
- id: -1,
3111
- limit: 0,
3112
- name: "Polissa d'un Client",
3113
- res_model: "giscedata.polissa",
3114
- src_model: "giscedata.polissa",
3115
- string: "Polissa d'un Client",
3116
- target: "current",
3117
- type: "ir.actions.act_window",
3118
- usage: "",
3119
- view_id: false,
3120
- view_ids: [],
3121
- view_mode: "tree,form",
3122
- view_type: "form",
3123
- views: [
3124
- [false, "tree"],
3125
- [false, "form"],
3126
- ],
3127
- },
3128
- ],
3129
- },
3130
- type: "form",
3131
- view_id: 479,
3132
- },
3133
- };