@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,2727 +0,0 @@
1
- export default {
2
- model: "giscedata.facturacio.factura",
3
- exampleValues: {
4
- account_id: [492, "430000 Clientes (euros)"],
5
- address_contact_id: [
6
- 80,
7
- "Apellido2 Apellido2, Nombre, CL. nombre de la callle, 23 10000",
8
- ],
9
- address_invoice_id: [
10
- 80,
11
- "Apellido2 Apellido2, Nombre, CL. nombre de la callle, 23 10000",
12
- ],
13
- amount_tax: 10.43,
14
- amount_to_pay: 0.0,
15
- amount_total: 55.28,
16
- amount_untaxed: 44.85,
17
- cch_fact_available: false,
18
- check_total: 0.0,
19
- comment: false,
20
- company_id: [1, "GISCE-TI"],
21
- comptadors: [15],
22
- cups_id: [35, "ES0031514469809618CZ"],
23
- currency_id: [1, "EUR"],
24
- data_final: "2020-09-30",
25
- data_inici: "2020-09-01",
26
- date_boe: "2018-12-28",
27
- date_due: false,
28
- date_invoice: "2020-09-30",
29
- devolucio_id: false,
30
- dies: 30,
31
- div_totals: false,
32
- energia_kwh: 127,
33
- energia_periodes: [
34
- {
35
- consumption: 127.0,
36
- from_date: "2020-08-31",
37
- period: "2.0A (P1)",
38
- to_date: "2020-09-30",
39
- },
40
- ],
41
- enviat: false,
42
- enviat_carpeta: false,
43
- enviat_data: false,
44
- facturacio: 1,
45
- fiscal_position: false,
46
- group_move_id: false,
47
- id: 31,
48
- importacio_id: false,
49
- invoice_id: [88, "CI: False"],
50
- invoice_line: [60, 61, 62],
51
- journal_id: [54, "Factures Energia"],
52
- lang_partner: "es_ES",
53
- lang_partner_sel: "es_ES",
54
- lectures_energia_ids: [29, 30],
55
- lectures_potencia_ids: [10],
56
- linia_ids: [41, 42, 43],
57
- linies_energia: [42],
58
- linies_generacio: [],
59
- linies_lloguer: [41],
60
- linies_potencia: [43],
61
- linies_reactiva: [],
62
- llista_preu: [22, "Hola (EUR)"],
63
- lot_facturacio: false,
64
- mandate_id: false,
65
- move_id: false,
66
- move_lines: [],
67
- move_name: false,
68
- name: "00011",
69
- number: false,
70
- origin: false,
71
- origin_date_invoice: false,
72
- partner_bank: [29, "ES85 0072 9426 3446 9138 3319"],
73
- partner_id: [82, "Apellido2 Apellido2, Nombre"],
74
- payment_ids: [],
75
- payment_mode_id: [8, "Domiciliat"],
76
- payment_order_history_ids: [],
77
- payment_order_id: false,
78
- payment_term: false,
79
- payment_type: [6, "Recibo domiciliado"],
80
- pending_history_ids: [],
81
- pending_state: false,
82
- pending_state_date: false,
83
- per_enviar: "email",
84
- period_id: false,
85
- polissa_id: [34, "00011"],
86
- polissa_state: false,
87
- polissa_tg: "2",
88
- potencia: 3.45,
89
- potencia_kwdia: 3.45,
90
- reconciled: false,
91
- rectificative_type: "N",
92
- rectifying_id: false,
93
- ref: false,
94
- reference: false,
95
- reference_type: "none",
96
- refund_by_id: false,
97
- residual: 55.28,
98
- saldo: 55.28,
99
- signed_amount_tax: 10.43,
100
- signed_amount_total: 55.28,
101
- signed_amount_untaxed: 44.85,
102
- signed_residual: 55.28,
103
- state: "draft",
104
- tarifa_acces_id: [1, "2.0A"],
105
- tax_line: [2, 1],
106
- tipo_factura: "01",
107
- tipo_facturacion: "1",
108
- tipo_rectificadora: "N",
109
- total_altres: 0.0,
110
- total_atr: 16.35,
111
- total_energia: 5.59,
112
- total_energia_atr: 5.59,
113
- total_exces_potencia: 0.0,
114
- total_generacio: 0.0,
115
- total_lloguers: 28.5,
116
- total_potencia: 10.76,
117
- total_reactiva: 0.0,
118
- type: "out_invoice",
119
- },
120
- form: {
121
- arch:
122
- '<form string="Invoice">\n <group colspan="4" col="6">\n <field name="journal_id" select="2"/>\n <field name="type" readonly="1" select="2"/>\n <field name="number" select="1"/>\n <field name="partner_id" size="64" on_change="onchange_partner_id(type, partner_id, date_invoice, payment_term)" select="1"/>\n <field domain="[(\'partner_id\',\'=\',partner_id)]" name="address_invoice_id"/>\n <field name="currency_id" on_change="onchange_currency_id(currency_id)" select="2"/>\n <field name="date_invoice" select="1"/>\n <field name="period_id"/>\n <group colspan="2" col="1">\n <label align="0.0" string="(keep empty to use the current period)"/>\n </group>\n </group>\n <notebook colspan="4">\n <page string="Invoice">\n <field domain="[(\'type\',\'&lt;&gt;\',\'view\'), (\'company_id\', \'=\', company_id),(\'journal_id\',\'=\',journal_id)]" name="account_id"/>\n <field name="name" select="2"/>\n <field name="payment_term" select="2"/>\n <field name="payment_type" select="2" widget="selection"/>\n <field name="payment_mode_id" select="1" widget="selection"/>\n <field name="total_atr"/>\n <field colspan="4" name="linia_ids" nolabel="1" widget="one2many_list"/>\n <group col="1" colspan="2">\n <field name="tax_line" nolabel="1">\n </field>\n </group>\n <group col="4" colspan="2">\n <button colspan="2" name="button_reset_taxes" states="draft" string="Compute Taxes" type="object"/>\n <field name="amount_untaxed"/>\n <label string="" colspan="2"/>\n <field name="amount_tax"/>\n <field name="reconciled"/>\n <field name="amount_total" select="1"/>\n <group attrs="{\'invisible\': [(\'type\',\'not in\',(\'in_refund\',\'in_invoice\'))]}" colspan="4">\n <group attrs="{\'invisible\': [(\'check_total\', \'==\',0.00)]}">\n <group attrs="{\'invisible\': [(\'state\', \'!=\',\'draft\')]}">\n <label string=" " colspan="2"/>\n <field string="Total Original" name="check_total" readonly="1"/>\n </group>\n </group>\n </group>\n <field name="state" select="1"/>\n <field name="residual"/>\n <group col="3" colspan="4">\n <button name="invoice_proforma2" type="object" states="draft" string="PRO-FORMA" icon="gtk-print"/>\n <button name="invoice_open" type="object" states="draft,proforma2" string="Validate" icon="gtk-execute"/>\n <button name="invoice_cancel" type="object" states="proforma2,open" string="Cancel" icon="gtk-cancel"/>\n <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/>\n <button name="140" type="action" string="Re-Open" states="paid" icon="gtk-convert" readonly="0"/>\n </group>\n </group>\n </page>\n <page string="Energia">\n <field name="tipo_facturacion" select="2"/>\n <group colspan="2" col="2" attrs="{\'invisible\': [(\'rectificative_type\', \'!=\', \'RA\')]}">\n <field name="saldo"/>\n </group>\n <!--\n <field name="tipo_factura" select="2"/>\n <group colspan="2" col="4">\n <field name="rectificative_type" select="2"/>\n <group colspan="2" col="2" attrs="{\'invisible\': [(\'rectificative_type\', \'=\', \'N\')]}">\n <field name="ref" select="2"/>\n </group>\n <group colspan="2" col="2" attrs="{\'invisible\': [(\'rectificative_type\', \'!=\', \'RA\')]}">\n <field name="saldo"/>\n </group>\n </group>\n -->\n <field name="date_boe"/>\n <field name="lot_facturacio"/>\n <newline/>\n <field name="data_inici" select="2"/>\n <field name="data_final" select="2"/>\n <field name="polissa_id" on_change="onchange_polissa(polissa_id, type, context)" select="1"/>\n <field name="polissa_state" select="2"/>\n <field name="llista_preu" select="2"/>\n <field name="tarifa_acces_id" select="2"/>\n <field name="potencia" select="2"/>\n <field name="cups_id" select="2" size="25"/>\n <field name="facturacio" select="2"/>\n <field name="cch_fact_available" select="2"/>\n <field name="polissa_tg" select="2"/>\n <group colspan="4" string="Lectures">\n <field name="lectures_energia_ids" colspan="2" nolabel="1" height="200">\n </field>\n <field name="lectures_potencia_ids" colspan="2" nolabel="1" height="200">\n </field>\n </group>\n </page>\n <page string="Other Info">\n <field name="company_id"/>\n <field name="fiscal_position"/>\n <newline/>\n <field name="date_due" select="1"/>\n <field name="invoice_id" readonly="1"/>\n <newline/>\n <field name="tipo_factura" select="2"/>\n <group colspan="2" col="4">\n <field name="rectificative_type" select="2"/>\n <group colspan="2" col="2" attrs="{\'invisible\': [(\'rectificative_type\', \'in\', (\'N\', \'C\', \'G\'))]}">\n <field name="rectifying_id" select="2"/>\n </group>\n </group>\n <newline/>\n <field domain="[(\'partner_id\', \'=\', partner_id)]" name="partner_bank" on_change="onchange_partner_bank(partner_bank)" select="2"/>\n <field name="mandate_id"/>\n <field name="origin" select="2"/>\n <field name="devolucio_id" select="2" readonly="1"/>\n <field name="pending_state" select="2" size="32"/>\n <field name="pending_state_date" select="2"/>\n <field name="payment_order_id" readonly="1"/>\n <field name="origin_date_invoice" select="2"/>\n <field colspan="4" domain="[(\'partner_id\',\'=\',partner_id)]" name="address_contact_id"/>\n <field name="move_id"/>\n <field name="group_move_id" readonly="1"/>\n <separator colspan="4" string="Enviament per E-mail"/>\n <field name="per_enviar" select="2" invisible="1"/>\n <group colspan="4" col="6" attrs="{\'invisible\':[(\'per_enviar\', \'=\', \'postal\')]}">\n <field name="enviat" select="1"/>\n <field name="enviat_carpeta" select="2"/>\n <field name="enviat_data" select="2"/>\n </group>\n <group colspan="4" col="4" attrs="{\'invisible\':[(\'per_enviar\', \'!=\', \'postal\')]}">\n <label colspan="4" string="Aquest contracte no té l\'enviament a través de correu electrònic habilitat."/>\n </group>\n <separator colspan="4" string="Additionnal Information"/>\n <field colspan="4" name="comment" nolabel="1"/>\n </page>\n <page string="Payments">\n <field name="payment_ids" colspan="4" nolabel="1" widget="one2many_list">\n </field><field name="payment_order_history_ids" readonly="1" nolabel="1"/>\n \n </page><page string="Pending History">\n <field name="pending_history_ids" nolabel="1"/>\n </page>\n \n </notebook>\n <field name="lang_partner" select="2" invisible="1"/>\n <field name="lang_partner_sel" select="2" invisible="1"/>\n <field name="div_totals" select="2" invisible="1"/>\n </form>',
123
- field_parent: false,
124
- fields: {
125
- account_id: {
126
- context: "",
127
- domain: [],
128
- help: "The partner account used for this invoice.",
129
- readonly: true,
130
- relation: "account.account",
131
- required: true,
132
- size: 64,
133
- states: {
134
- draft: [["readonly", false]],
135
- },
136
- string: "Account",
137
- type: "many2one",
138
- views: {},
139
- },
140
- address_contact_id: {
141
- context: "",
142
- domain: [],
143
- readonly: true,
144
- relation: "res.partner.address",
145
- size: 64,
146
- states: {
147
- draft: [["readonly", false]],
148
- },
149
- string: "Contact Address",
150
- type: "many2one",
151
- views: {},
152
- },
153
- address_invoice_id: {
154
- context: "",
155
- domain: [],
156
- readonly: true,
157
- relation: "res.partner.address",
158
- required: true,
159
- size: 64,
160
- states: {
161
- draft: [["readonly", false]],
162
- },
163
- string: "Invoice Address",
164
- type: "many2one",
165
- views: {},
166
- },
167
- amount_tax: {
168
- digits: [16, 6],
169
- readonly: 1,
170
- select: 1,
171
- string: "Tax",
172
- type: "float",
173
- views: {},
174
- },
175
- amount_total: {
176
- digits: [16, 6],
177
- readonly: 1,
178
- select: 1,
179
- string: "Total",
180
- type: "float",
181
- views: {},
182
- },
183
- amount_untaxed: {
184
- digits: [16, 6],
185
- readonly: 1,
186
- string: "Untaxed",
187
- type: "float",
188
- views: {},
189
- },
190
- cch_fact_available: {
191
- readonly: true,
192
- string: "CCH disponible",
193
- type: "boolean",
194
- views: {},
195
- },
196
- check_total: {
197
- digits: [16, 6],
198
- states: {
199
- close: [["readonly", true]],
200
- open: [["readonly", true]],
201
- },
202
- string: "Total",
203
- type: "float",
204
- views: {},
205
- },
206
- comment: {
207
- string: "Additional Information",
208
- type: "text",
209
- views: {},
210
- },
211
- company_id: {
212
- context: "",
213
- domain: [],
214
- relation: "res.company",
215
- required: true,
216
- size: 64,
217
- string: "Company",
218
- type: "many2one",
219
- views: {},
220
- },
221
- cups_id: {
222
- context: "",
223
- domain: [],
224
- readonly: true,
225
- relation: "giscedata.cups.ps",
226
- required: true,
227
- select: 1,
228
- size: 64,
229
- states: {
230
- draft: [["readonly", false]],
231
- },
232
- string: "CUPS",
233
- type: "many2one",
234
- views: {},
235
- },
236
- currency_id: {
237
- context: "",
238
- domain: [],
239
- readonly: true,
240
- relation: "res.currency",
241
- required: true,
242
- size: 64,
243
- states: {
244
- draft: [["readonly", false]],
245
- },
246
- string: "Currency",
247
- type: "many2one",
248
- views: {},
249
- },
250
- data_final: {
251
- readonly: true,
252
- states: {
253
- draft: [["readonly", false]],
254
- },
255
- string: "Data final",
256
- type: "date",
257
- views: {},
258
- },
259
- data_inici: {
260
- readonly: true,
261
- states: {
262
- draft: [["readonly", false]],
263
- },
264
- string: "Data inici",
265
- type: "date",
266
- views: {},
267
- },
268
- date_boe: {
269
- readonly: true,
270
- required: true,
271
- states: {
272
- draft: [["readonly", false]],
273
- },
274
- string: "Data B.O.E.",
275
- type: "date",
276
- views: {},
277
- },
278
- date_due: {
279
- help:
280
- "If you use payment terms, the due date will be computed automatically at the generation of accounting entries. If you keep the payment term and the due date empty, it means direct payment. The payment term may compute several due dates, for example 50% now, 50% in one month.",
281
- states: {
282
- close: [["readonly", true]],
283
- open: [["readonly", true]],
284
- },
285
- string: "Due Date",
286
- type: "date",
287
- views: {},
288
- },
289
- date_invoice: {
290
- help: "Keep empty to use the current date",
291
- select: true,
292
- states: {
293
- open: [["readonly", true]],
294
- paid: [["readonly", true]],
295
- },
296
- string: "Date Invoiced",
297
- type: "date",
298
- views: {},
299
- },
300
- devolucio_id: {
301
- context: "",
302
- domain: [],
303
- relation: "giscedata.facturacio.devolucio",
304
- size: 64,
305
- string: "Devolució",
306
- type: "many2one",
307
- views: {},
308
- },
309
- div_totals: {
310
- digits: [16, 6],
311
- string: "Divergència",
312
- type: "float",
313
- views: {},
314
- },
315
- enviat: {
316
- readonly: true,
317
- string: "Enviada per E-mail",
318
- type: "boolean",
319
- views: {},
320
- },
321
- enviat_carpeta: {
322
- readonly: true,
323
- selection: [
324
- ["inbox", "Entrada"],
325
- ["drafts", "Esborranys"],
326
- ["outbox", "Sortida"],
327
- ["trash", "Paperera"],
328
- ["followup", "Amunt"],
329
- ["sent", "Enviats"],
330
- ],
331
- string: "Carpeta",
332
- type: "selection",
333
- views: {},
334
- },
335
- enviat_data: {
336
- readonly: true,
337
- string: "Data enviament",
338
- type: "datetime",
339
- views: {},
340
- },
341
- facturacio: {
342
- required: true,
343
- select: 1,
344
- selection: [
345
- [1, "Mensual"],
346
- [2, "Bimestral"],
347
- ],
348
- string: "Periodicitat de facturació",
349
- type: "selection",
350
- views: {},
351
- },
352
- fiscal_position: {
353
- context: "",
354
- domain: [],
355
- relation: "account.fiscal.position",
356
- size: 64,
357
- string: "Fiscal Position",
358
- type: "many2one",
359
- views: {},
360
- },
361
- group_move_id: {
362
- context: "",
363
- domain: [],
364
- relation: "account.move",
365
- select: true,
366
- size: 64,
367
- string: "Group move",
368
- type: "many2one",
369
- views: {},
370
- },
371
- invoice_id: {
372
- context: "",
373
- domain: [],
374
- relation: "account.invoice",
375
- required: true,
376
- select: true,
377
- size: 64,
378
- string: "Factura Comptable",
379
- type: "many2one",
380
- views: {},
381
- },
382
- journal_id: {
383
- context: "",
384
- domain: [],
385
- readonly: true,
386
- relation: "account.journal",
387
- required: true,
388
- select: 1,
389
- size: 64,
390
- states: {
391
- draft: [["readonly", false]],
392
- },
393
- string: "Journal",
394
- type: "many2one",
395
- views: {},
396
- },
397
- lang_partner: {
398
- digits: [16, 2],
399
- readonly: 1,
400
- size: "5",
401
- string: "Idioma Client",
402
- type: "char",
403
- views: {},
404
- },
405
- lang_partner_sel: {
406
- digits: [16, 2],
407
- readonly: 1,
408
- selection: [
409
- ["en_US", "English"],
410
- ["ca_ES", "Catalan / Català"],
411
- ["es_ES", "Spanish / Español"],
412
- ["*", "Sense Idioma"],
413
- ],
414
- size: "5",
415
- string: "Idioma Client",
416
- type: "selection",
417
- views: {},
418
- },
419
- lectures_energia_ids: {
420
- context: "",
421
- domain: [],
422
- inv_field: "factura_id",
423
- readonly: true,
424
- relation: "giscedata.facturacio.lectures.energia",
425
- states: {
426
- draft: [["readonly", false]],
427
- },
428
- string: "Lectures Energia",
429
- type: "one2many",
430
- views: {
431
- tree: {
432
- arch:
433
- '<tree string="Lectures Energia">\n <field name="name"/>\n <field name="comptador"/>\n <field name="tipus"/>\n <field name="magnitud"/>\n <field name="lect_anterior"/>\n <field name="lect_actual"/>\n <field name="ajust"/>\n <field name="consum"/>\n </tree>\n ',
434
- fields: {
435
- ajust: {
436
- digits: [16, 3],
437
- string: "Ajust",
438
- type: "float",
439
- views: {},
440
- },
441
- comptador: {
442
- readonly: true,
443
- required: true,
444
- size: 64,
445
- string: "Comptador",
446
- type: "char",
447
- views: {},
448
- },
449
- consum: {
450
- digits: [16, 3],
451
- readonly: true,
452
- required: true,
453
- string: "Consum",
454
- type: "float",
455
- views: {},
456
- },
457
- lect_actual: {
458
- readonly: true,
459
- required: true,
460
- string: "Lectura actual",
461
- type: "integer",
462
- views: {},
463
- },
464
- lect_anterior: {
465
- readonly: true,
466
- required: true,
467
- string: "Lectura anterior",
468
- type: "integer",
469
- views: {},
470
- },
471
- magnitud: {
472
- readonly: true,
473
- required: true,
474
- selection: [
475
- ["AE", "Activa Entrant"],
476
- ["AS", "Activa Sortint"],
477
- ["R1", "Reactiva Q1"],
478
- ["R2", "Reactiva Q2"],
479
- ["R3", "Reactiva Q3"],
480
- ["R4", "Reactiva Q4"],
481
- ],
482
- string: "Magnitud",
483
- type: "selection",
484
- views: {},
485
- },
486
- name: {
487
- readonly: true,
488
- required: true,
489
- size: 16,
490
- string: "Període",
491
- type: "char",
492
- views: {},
493
- },
494
- tipus: {
495
- readonly: true,
496
- required: true,
497
- selection: [
498
- ["activa", "Activa"],
499
- ["reactiva", "Reactiva"],
500
- ],
501
- string: "Tipus",
502
- type: "selection",
503
- views: {},
504
- },
505
- },
506
- },
507
- },
508
- },
509
- lectures_potencia_ids: {
510
- context: "",
511
- domain: [],
512
- inv_field: "factura_id",
513
- readonly: true,
514
- relation: "giscedata.facturacio.lectures.potencia",
515
- states: {
516
- draft: [["readonly", false]],
517
- },
518
- string: "Lectures Potencia",
519
- type: "one2many",
520
- views: {
521
- tree: {
522
- arch:
523
- '<tree string="Lectures Pot&#xE8;ncia">\n <field name="name"/>\n <field name="comptador"/>\n <field name="pot_contract"/>\n <field name="pot_maximetre"/>\n <field name="exces"/>\n </tree>\n ',
524
- fields: {
525
- comptador: {
526
- readonly: true,
527
- required: true,
528
- size: 64,
529
- string: "Comptador",
530
- type: "char",
531
- views: {},
532
- },
533
- exces: {
534
- digits: [16, 3],
535
- string: "Exces",
536
- type: "float",
537
- views: {},
538
- },
539
- name: {
540
- required: true,
541
- size: 16,
542
- string: "Període",
543
- type: "char",
544
- views: {},
545
- },
546
- pot_contract: {
547
- digits: [16, 3],
548
- required: true,
549
- string: "Potència contractada",
550
- type: "float",
551
- views: {},
552
- },
553
- pot_maximetre: {
554
- digits: [16, 3],
555
- required: true,
556
- string: "Potència maxímetre",
557
- type: "float",
558
- views: {},
559
- },
560
- },
561
- },
562
- },
563
- },
564
- linia_ids: {
565
- context: "",
566
- domain: [],
567
- inv_field: "factura_id",
568
- readonly: true,
569
- relation: "giscedata.facturacio.factura.linia",
570
- states: {
571
- draft: [["readonly", false]],
572
- },
573
- string: "Línies Energia",
574
- type: "one2many",
575
- views: {},
576
- },
577
- llista_preu: {
578
- context: "",
579
- domain: [],
580
- readonly: true,
581
- relation: "product.pricelist",
582
- required: true,
583
- size: 64,
584
- states: {
585
- draft: [["readonly", false]],
586
- },
587
- string: "Llista de preus",
588
- type: "many2one",
589
- views: {},
590
- },
591
- lot_facturacio: {
592
- context: "",
593
- domain: [],
594
- readonly: true,
595
- relation: "giscedata.facturacio.lot",
596
- select: 2,
597
- size: 64,
598
- string: "Lot de facturació",
599
- type: "many2one",
600
- views: {},
601
- },
602
- mandate_id: {
603
- context: "",
604
- domain: [],
605
- relation: "payment.mandate",
606
- size: 64,
607
- string: "Mandate",
608
- type: "many2one",
609
- views: {},
610
- },
611
- move_id: {
612
- context: "",
613
- domain: [],
614
- help: "Link to the automatically generated account moves.",
615
- readonly: true,
616
- relation: "account.move",
617
- select: true,
618
- size: 64,
619
- string: "Invoice Movement",
620
- type: "many2one",
621
- views: {},
622
- },
623
- name: {
624
- readonly: true,
625
- select: true,
626
- size: 64,
627
- states: {
628
- draft: [["readonly", false]],
629
- },
630
- string: "Description",
631
- type: "char",
632
- views: {},
633
- },
634
- number: {
635
- help:
636
- "Unique number of the invoice, computed automatically when the invoice is created.",
637
- readonly: true,
638
- size: 32,
639
- string: "Invoice Number",
640
- type: "char",
641
- views: {},
642
- },
643
- origin: {
644
- help: "Reference of the document that produced this invoice.",
645
- readonly: true,
646
- select: true,
647
- size: 64,
648
- states: {
649
- draft: [["readonly", false]],
650
- },
651
- string: "Origin",
652
- type: "char",
653
- views: {},
654
- },
655
- origin_date_invoice: {
656
- help: "Date when the original invoice was opened",
657
- readonly: true,
658
- states: {
659
- draft: [["readonly", false]],
660
- },
661
- string: "Original Invoice Date",
662
- type: "date",
663
- views: {},
664
- },
665
- partner_bank: {
666
- context: "",
667
- domain: [],
668
- help: "The bank account to pay to or to be paid from",
669
- relation: "res.partner.bank",
670
- size: 64,
671
- string: "Bank Account",
672
- type: "many2one",
673
- views: {},
674
- },
675
- partner_id: {
676
- change_default: true,
677
- context: "",
678
- domain: [],
679
- readonly: true,
680
- relation: "res.partner",
681
- required: true,
682
- select: true,
683
- size: 64,
684
- states: {
685
- draft: [["readonly", false]],
686
- },
687
- string: "Partner",
688
- type: "many2one",
689
- views: {},
690
- },
691
- payment_ids: {
692
- context: "",
693
- digits: [16, 2],
694
- domain: [],
695
- readonly: 1,
696
- relation: "account.move.line",
697
- string: "Payments",
698
- type: "many2many",
699
- views: {
700
- tree: {
701
- arch:
702
- '<tree string="Payments">\n <field name="date"/>\n <field name="ref"/>\n <field name="name"/>\n <field name="journal_id"/>\n <field name="debit"/>\n <field name="credit"/>\n <field name="amount_currency"/>\n <field name="currency_id"/>\n </tree>\n ',
703
- fields: {
704
- amount_currency: {
705
- help:
706
- "The amount expressed in an optional other currency if it is a multi-currency entry.",
707
- string: "Amount Currency",
708
- type: "float",
709
- views: {},
710
- },
711
- credit: {
712
- digits: [16, 2],
713
- string: "Credit",
714
- type: "float",
715
- views: {},
716
- },
717
- currency_id: {
718
- context: "",
719
- domain: [],
720
- help:
721
- "The optional other currency if it is a multi-currency entry.",
722
- relation: "res.currency",
723
- size: 64,
724
- string: "Currency",
725
- type: "many2one",
726
- views: {},
727
- },
728
- date: {
729
- digits: [16, 2],
730
- required: true,
731
- string: "Effective date",
732
- type: "date",
733
- views: {},
734
- },
735
- debit: {
736
- digits: [16, 2],
737
- string: "Debit",
738
- type: "float",
739
- views: {},
740
- },
741
- journal_id: {
742
- context: "",
743
- domain: [],
744
- relation: "account.journal",
745
- required: true,
746
- select: 1,
747
- size: 64,
748
- string: "Journal",
749
- type: "many2one",
750
- views: {},
751
- },
752
- name: {
753
- required: true,
754
- size: 64,
755
- string: "Name",
756
- type: "char",
757
- views: {},
758
- },
759
- ref: {
760
- size: 64,
761
- string: "Ref.",
762
- type: "char",
763
- views: {},
764
- },
765
- },
766
- },
767
- },
768
- },
769
- payment_mode_id: {
770
- context: "",
771
- domain: [],
772
- relation: "payment.mode",
773
- required: true,
774
- selection: [
775
- [9, "0001_payment_mode"],
776
- [8, "Domiciliat"],
777
- [1, "No Domiciliat"],
778
- [10, "Remesas BBVA"],
779
- [2, "Remesat on li dongui la gana"],
780
- ],
781
- size: 64,
782
- string: "Grup de pagament",
783
- type: "many2one",
784
- views: {},
785
- },
786
- payment_order_history_ids: {
787
- context: "",
788
- domain: [],
789
- inv_field: "invoice_id",
790
- readonly: true,
791
- relation: "payment.order.history",
792
- string: "Històric de remeses",
793
- type: "one2many",
794
- views: {},
795
- },
796
- payment_order_id: {
797
- context: "",
798
- domain: [],
799
- relation: "payment.order",
800
- select: 1,
801
- size: 128,
802
- string: "Remesa",
803
- type: "many2one",
804
- views: {},
805
- },
806
- payment_term: {
807
- context: "",
808
- domain: [],
809
- help:
810
- "If you use payment terms, the due date will be computed automatically at the generation of accounting entries. If you keep the payment term and the due date empty, it means direct payment. The payment term may compute several due dates, for example 50% now, 50% in one month.",
811
- readonly: true,
812
- relation: "account.payment.term",
813
- size: 64,
814
- states: {
815
- draft: [["readonly", false]],
816
- },
817
- string: "Payment Term",
818
- type: "many2one",
819
- views: {},
820
- },
821
- payment_type: {
822
- context: "",
823
- domain: [],
824
- relation: "payment.type",
825
- selection: [
826
- [false, ""],
827
- [1, "Demo payment type"],
828
- [6, "Recibo domiciliado"],
829
- [7, "Transferencia"],
830
- ],
831
- size: 64,
832
- string: "Payment type",
833
- type: "many2one",
834
- views: {},
835
- },
836
- pending_history_ids: {
837
- context: "",
838
- domain: [],
839
- inv_field: "invoice_id",
840
- readonly: true,
841
- relation: "account.invoice.pending.history",
842
- string: "Pending States History",
843
- type: "one2many",
844
- views: {},
845
- },
846
- pending_state: {
847
- context: "",
848
- digits: [16, 2],
849
- domain: [],
850
- readonly: 1,
851
- relation: "account.invoice.pending.state",
852
- string: "Pending State",
853
- type: "many2one",
854
- views: {},
855
- },
856
- pending_state_date: {
857
- digits: [16, 2],
858
- readonly: 1,
859
- string: "Pending State Date",
860
- type: "datetime",
861
- views: {},
862
- },
863
- per_enviar: {
864
- digits: [16, 2],
865
- readonly: 1,
866
- select: 2,
867
- selection: [
868
- ["email", "E-mail"],
869
- ["postal", "Correu postal"],
870
- ],
871
- string: "Tipus d'enviament",
872
- type: "selection",
873
- views: {},
874
- },
875
- period_id: {
876
- context: "",
877
- domain: [["state", "<>", "done"]],
878
- help: "Keep empty to use the period of the validation(invoice) date.",
879
- readonly: true,
880
- relation: "account.period",
881
- size: 64,
882
- states: {
883
- draft: [["readonly", false]],
884
- },
885
- string: "Force Period",
886
- type: "many2one",
887
- views: {},
888
- },
889
- polissa_id: {
890
- context: "",
891
- domain: [],
892
- readonly: true,
893
- relation: "giscedata.polissa",
894
- required: true,
895
- select: true,
896
- size: 64,
897
- states: {
898
- draft: [["readonly", false]],
899
- },
900
- string: "Contracte",
901
- type: "many2one",
902
- views: {},
903
- },
904
- polissa_state: {
905
- digits: [16, 2],
906
- readonly: 1,
907
- selection: [
908
- ["esborrany", "Esborrany"],
909
- ["validar", "Validar"],
910
- ["pendent", "Pendent"],
911
- ["activa", "Activa"],
912
- ["cancelada", "Cancel·lada"],
913
- ["contracte", "Activació Contracte"],
914
- ["novapolissa", "Creació nova pòlissa"],
915
- ["modcontractual", "Modificació Contractual"],
916
- ["impagament", "Impagament"],
917
- ["avis1", "Avís 1"],
918
- ["avis2", "Avís 2"],
919
- ["facturacio", "Facturació"],
920
- ["tall", "Tall"],
921
- ["baixa", "Baixa"],
922
- ],
923
- size: 256,
924
- string: "Estat Abonat",
925
- type: "selection",
926
- views: {},
927
- },
928
- polissa_tg: {
929
- readonly: true,
930
- selection: [
931
- ["1", "Operativa amb CCH"],
932
- ["2", "No operativa"],
933
- ["3", "Operativa Sense CCH"],
934
- ],
935
- string: "Pòlissa TG",
936
- type: "selection",
937
- views: {},
938
- },
939
- potencia: {
940
- digits: [16, 3],
941
- readonly: true,
942
- required: true,
943
- states: {
944
- draft: [["readonly", false]],
945
- },
946
- string: "Potència contractada (kW)",
947
- type: "float",
948
- views: {},
949
- },
950
- reconciled: {
951
- digits: [16, 2],
952
- help:
953
- "The account moves of the invoice have been reconciled with account moves of the payment(s).",
954
- readonly: 1,
955
- string: "Paid/Reconciled",
956
- type: "boolean",
957
- views: {},
958
- },
959
- rectificative_type: {
960
- readonly: true,
961
- select: true,
962
- selection: [
963
- ["N", "Normal"],
964
- ["R", "Rectificative"],
965
- ["A", "Nullifier"],
966
- ["B", "Nullifier with substitution"],
967
- ["C", "Complementary"],
968
- ["G", "Regularizer"],
969
- ["RA", "Rectificative without Nullifier"],
970
- ["BRA", "Nullifier fake"],
971
- ],
972
- states: {
973
- draft: [["readonly", false]],
974
- },
975
- string: "Rectificative type",
976
- type: "selection",
977
- views: {},
978
- },
979
- rectifying_id: {
980
- context: "",
981
- domain: [],
982
- readonly: true,
983
- relation: "account.invoice",
984
- size: 64,
985
- string: "Ref. invoice",
986
- type: "many2one",
987
- views: {},
988
- },
989
- residual: {
990
- digits: [16, 6],
991
- help: "Remaining amount due.",
992
- readonly: 1,
993
- string: "Residual",
994
- type: "float",
995
- views: {},
996
- },
997
- saldo: {
998
- digits: [16, 6],
999
- readonly: true,
1000
- string: "Saldo",
1001
- type: "float",
1002
- views: {},
1003
- },
1004
- state: {
1005
- readonly: true,
1006
- select: true,
1007
- selection: [
1008
- ["draft", "Draft"],
1009
- ["proforma", "Accounting Pro-forma"],
1010
- ["proforma2", "Pro-forma"],
1011
- ["open", "Open"],
1012
- ["paid", "Done"],
1013
- ["cancel", "Cancelled"],
1014
- ],
1015
- string: "State",
1016
- type: "selection",
1017
- views: {},
1018
- },
1019
- tarifa_acces_id: {
1020
- context: "",
1021
- domain: [],
1022
- readonly: true,
1023
- relation: "giscedata.polissa.tarifa",
1024
- required: true,
1025
- select: 1,
1026
- size: 64,
1027
- states: {
1028
- draft: [["readonly", false]],
1029
- },
1030
- string: "Tarifa d'accés",
1031
- type: "many2one",
1032
- views: {},
1033
- },
1034
- tax_line: {
1035
- context: "",
1036
- domain: [],
1037
- inv_field: "invoice_id",
1038
- readonly: true,
1039
- relation: "account.invoice.tax",
1040
- states: {
1041
- draft: [["readonly", false]],
1042
- },
1043
- string: "Tax Lines",
1044
- type: "one2many",
1045
- views: {
1046
- tree: {
1047
- arch:
1048
- '<tree editable="bottom" string="Taxes">\n <field name="name"/>\n <field name="base" on_change="base_change(base,parent.currency_id,parent.company_id,parent.date_invoice)" readonly="1"/>\n <field name="amount" on_change="amount_change(amount,parent.currency_id,parent.company_id,parent.date_invoice)"/>\n <field invisible="True" name="base_amount"/>\n <field invisible="True" name="tax_amount"/>\n </tree>\n ',
1049
- fields: {
1050
- amount: {
1051
- digits: [16, 6],
1052
- string: "Amount",
1053
- type: "float",
1054
- views: {},
1055
- },
1056
- base: {
1057
- digits: [16, 6],
1058
- string: "Base",
1059
- type: "float",
1060
- views: {},
1061
- },
1062
- base_amount: {
1063
- digits: [16, 6],
1064
- string: "Base Code Amount",
1065
- type: "float",
1066
- views: {},
1067
- },
1068
- name: {
1069
- required: true,
1070
- size: 64,
1071
- string: "Tax Description",
1072
- type: "char",
1073
- views: {},
1074
- },
1075
- tax_amount: {
1076
- digits: [16, 6],
1077
- string: "Tax Code Amount",
1078
- type: "float",
1079
- views: {},
1080
- },
1081
- },
1082
- },
1083
- },
1084
- },
1085
- tipo_factura: {
1086
- readonly: true,
1087
- selection: [
1088
- ["01", "Normal"],
1089
- ["02", "Modificación de Contrato"],
1090
- ["03", "Baja de Contrato"],
1091
- ["04", "Derechos de Contratacion"],
1092
- ["05", "Deposito de garantía"],
1093
- ["06", "Inspección - Anomalia"],
1094
- ["07", "Atenciones (verificaciones, )"],
1095
- ["08", "Indemnizacion"],
1096
- ["09", "Intereses de demora"],
1097
- ["10", "Servicios"],
1098
- ["11", "Inspección - Fraude"],
1099
- ],
1100
- states: {
1101
- draft: [["readonly", false]],
1102
- },
1103
- string: "Tipus de factura",
1104
- type: "selection",
1105
- views: {},
1106
- },
1107
- tipo_facturacion: {
1108
- readonly: true,
1109
- selection: [
1110
- ["1", "Regular (Periodo completo)"],
1111
- ["2", "Irregular (Periodo incompleto)"],
1112
- ],
1113
- states: {
1114
- draft: [["readonly", false]],
1115
- },
1116
- string: "Tipus de facturació",
1117
- type: "selection",
1118
- views: {},
1119
- },
1120
- total_atr: {
1121
- digits: [16, 2],
1122
- readonly: 1,
1123
- string: "Total Peatges",
1124
- type: "float",
1125
- views: {},
1126
- },
1127
- type: {
1128
- readonly: true,
1129
- select: true,
1130
- selection: [
1131
- ["out_invoice", "Customer Invoice"],
1132
- ["in_invoice", "Supplier Invoice"],
1133
- ["out_refund", "Customer Refund"],
1134
- ["in_refund", "Supplier Refund"],
1135
- ],
1136
- string: "Type",
1137
- type: "selection",
1138
- views: {},
1139
- },
1140
- },
1141
- model: "giscedata.facturacio.factura",
1142
- name: "account.invoice.form",
1143
- search_fields: {
1144
- primary: [
1145
- "number",
1146
- "partner_id",
1147
- "date_invoice",
1148
- "payment_mode_id",
1149
- "amount_total",
1150
- "state",
1151
- "polissa_id",
1152
- "date_due",
1153
- "enviat",
1154
- "origin",
1155
- "tarifa_acces_id",
1156
- "journal_id",
1157
- "cups_id",
1158
- "amount_tax",
1159
- "type",
1160
- "payment_order_id",
1161
- "move_id",
1162
- "facturacio",
1163
- "name",
1164
- "rectificative_type",
1165
- "invoice_id",
1166
- "group_move_id",
1167
- ],
1168
- secondary: [
1169
- "devolucio_id",
1170
- "cch_fact_available",
1171
- "payment_term",
1172
- "currency_id",
1173
- "data_inici",
1174
- "pending_state",
1175
- "per_enviar",
1176
- "polissa_tg",
1177
- "enviat_carpeta",
1178
- "rectifying_id",
1179
- "llista_preu",
1180
- "partner_bank",
1181
- "potencia",
1182
- "tipo_factura",
1183
- "pending_state_date",
1184
- "polissa_state",
1185
- "div_totals",
1186
- "tipo_facturacion",
1187
- "data_final",
1188
- "enviat_data",
1189
- "lang_partner_sel",
1190
- "lang_partner",
1191
- "payment_type",
1192
- "origin_date_invoice",
1193
- ],
1194
- },
1195
- toolbar: {
1196
- action: [
1197
- {
1198
- auto_refresh: 0,
1199
- context: "{}",
1200
- domain: false,
1201
- groups_id: [],
1202
- id: 1749,
1203
- limit: 80,
1204
- name: "Aprovar factura F1 (XML)",
1205
- res_model: "giscedata.facturacio.switching.aprovar.factura",
1206
- src_model: false,
1207
- string: "Aprovar factura F1 (XML)",
1208
- target: "new",
1209
- type: "ir.actions.act_window",
1210
- usage: false,
1211
- view_id: false,
1212
- view_ids: [],
1213
- view_mode: "form",
1214
- view_type: "form",
1215
- views: [[2031, "form"]],
1216
- },
1217
- {
1218
- auto_refresh: 0,
1219
- context: "{'model':'giscedata.facturacio.factura'}",
1220
- domain: false,
1221
- groups_id: [],
1222
- id: 1741,
1223
- limit: 80,
1224
- name: "Change pending",
1225
- res_model: "wizard.change.pending",
1226
- src_model: false,
1227
- string: "Change pending",
1228
- target: "new",
1229
- type: "ir.actions.act_window",
1230
- usage: false,
1231
- view_id: false,
1232
- view_ids: [],
1233
- view_mode: "form",
1234
- view_type: "form",
1235
- views: [[1975, "form"]],
1236
- },
1237
- {
1238
- auto_refresh: 0,
1239
- context: "{'from_model':'giscedata.facturacio.factura'}",
1240
- domain: false,
1241
- groups_id: [],
1242
- id: 1740,
1243
- limit: 80,
1244
- name: "Enviar emails de impagaments",
1245
- res_model: "wizard.send.impagats.mail",
1246
- src_model: false,
1247
- string: "Enviar emails de impagaments",
1248
- target: "new",
1249
- type: "ir.actions.act_window",
1250
- usage: false,
1251
- view_id: false,
1252
- view_ids: [],
1253
- view_mode: "form",
1254
- view_type: "form",
1255
- views: [[1976, "form"]],
1256
- },
1257
- {
1258
- auto_refresh: 0,
1259
- context: "{}",
1260
- domain: false,
1261
- groups_id: [],
1262
- id: 1596,
1263
- limit: 80,
1264
- name: "Generar cas Gestió ATR",
1265
- res_model: "wizard.atr.from.invoice",
1266
- src_model: false,
1267
- string: "Generar cas Gestió ATR",
1268
- target: "new",
1269
- type: "ir.actions.act_window",
1270
- usage: false,
1271
- view_id: [1799, "wizard.atr.from.invoice.form"],
1272
- view_ids: [],
1273
- view_mode: "form",
1274
- view_type: "form",
1275
- views: [[1799, "form"]],
1276
- },
1277
- {
1278
- auto_refresh: 0,
1279
- context: "{'model': 'giscedata.facturacio.factura'}",
1280
- domain: false,
1281
- groups_id: [],
1282
- id: 1731,
1283
- limit: 80,
1284
- name: "Afegir factures a remesa",
1285
- res_model: "wizard.afegir.factures.remesa",
1286
- src_model: false,
1287
- string: "Afegir factures a remesa",
1288
- target: "new",
1289
- type: "ir.actions.act_window",
1290
- usage: false,
1291
- view_id: false,
1292
- view_ids: [],
1293
- view_mode: "form",
1294
- view_type: "form",
1295
- views: [[2009, "form"]],
1296
- },
1297
- {
1298
- auto_refresh: 0,
1299
- context: "{}",
1300
- domain: false,
1301
- groups_id: [],
1302
- id: 1729,
1303
- limit: 80,
1304
- name: "Resum Factures Remesa",
1305
- res_model: "wizard.resum.factures.remesa",
1306
- src_model: false,
1307
- string: "Resum Factures Remesa",
1308
- target: "new",
1309
- type: "ir.actions.act_window",
1310
- usage: false,
1311
- view_id: [2007, "Resum Factures Remesa"],
1312
- view_ids: [],
1313
- view_mode: "form",
1314
- view_type: "form",
1315
- views: [[2007, "form"]],
1316
- },
1317
- {
1318
- auto_refresh: 0,
1319
- context: "{}",
1320
- domain: false,
1321
- groups_id: [],
1322
- id: 1467,
1323
- limit: 80,
1324
- name: "Obrir i enviar factures per email",
1325
- res_model: "wizard.invoice.open.and.send",
1326
- src_model: false,
1327
- string: "Obrir i enviar factures per email",
1328
- target: "new",
1329
- type: "ir.actions.act_window",
1330
- usage: false,
1331
- view_id: false,
1332
- view_ids: [],
1333
- view_mode: "form",
1334
- view_type: "form",
1335
- views: [[1607, "form"]],
1336
- },
1337
- {
1338
- groups_id: [],
1339
- id: 1457,
1340
- model: "giscedata.facturacio.factura",
1341
- multi: false,
1342
- name: "Avís Impagament",
1343
- string: "Avís Impagament",
1344
- type: "ir.actions.wizard",
1345
- usage: false,
1346
- wiz_name: "wizard_avis_impagament",
1347
- },
1348
- {
1349
- auto_refresh: 0,
1350
- context: "{'from_model':'giscedata.facturacio.factura'}",
1351
- domain: false,
1352
- groups_id: [],
1353
- id: 1439,
1354
- limit: 80,
1355
- name: "Afegir un comentari a les factures seleccionades",
1356
- res_model: "wizard.comment.to.multiple.invoices",
1357
- src_model: false,
1358
- string: "Afegir un comentari a les factures seleccionades",
1359
- target: "new",
1360
- type: "ir.actions.act_window",
1361
- usage: false,
1362
- view_id: [1067, "wizard.comment.to.multiple.invoices.form"],
1363
- view_ids: [],
1364
- view_mode: "form",
1365
- view_type: "form",
1366
- views: [[1067, "form"]],
1367
- },
1368
- {
1369
- auto_refresh: 0,
1370
- context: "{'model': 'giscegas.facturacio.factura'}",
1371
- domain: false,
1372
- groups_id: [],
1373
- id: 2230,
1374
- limit: 80,
1375
- name: "Cambiar plazo de pago",
1376
- res_model: "wizard.change.payment.term",
1377
- src_model: false,
1378
- string: "Cambiar plazo de pago",
1379
- target: "new",
1380
- type: "ir.actions.act_window",
1381
- usage: false,
1382
- view_id: false,
1383
- view_ids: [],
1384
- view_mode: "form",
1385
- view_type: "form",
1386
- views: [[1066, "form"]],
1387
- },
1388
- {
1389
- auto_refresh: 0,
1390
- context: "{}",
1391
- domain: false,
1392
- groups_id: [],
1393
- id: 1433,
1394
- limit: 80,
1395
- name: "Fraccionar Pagaments (via Extra Lines)",
1396
- res_model: "wizard.fraccionar.via.extralines",
1397
- src_model: false,
1398
- string: "Fraccionar Pagaments (via Extra Lines)",
1399
- target: "new",
1400
- type: "ir.actions.act_window",
1401
- usage: false,
1402
- view_id: false,
1403
- view_ids: [],
1404
- view_mode: "form",
1405
- view_type: "form",
1406
- views: [[1557, "form"]],
1407
- },
1408
- {
1409
- auto_refresh: 0,
1410
- context: "{}",
1411
- domain: false,
1412
- groups_id: [],
1413
- id: 1427,
1414
- limit: 80,
1415
- name: "Actualitzar data de venciment",
1416
- res_model: "wizard.modificar.data.venc",
1417
- src_model: false,
1418
- string: "Actualitzar data de venciment",
1419
- target: "new",
1420
- type: "ir.actions.act_window",
1421
- usage: false,
1422
- view_id: false,
1423
- view_ids: [],
1424
- view_mode: "form",
1425
- view_type: "form",
1426
- views: [[1546, "form"]],
1427
- },
1428
- {
1429
- auto_refresh: 0,
1430
- context: "{'model': 'giscedata.facturacio.factura'}",
1431
- domain: false,
1432
- groups_id: [],
1433
- id: 1425,
1434
- limit: 80,
1435
- name: "Agrupar pago facturas",
1436
- res_model: "wizard.group.invoices.payment",
1437
- src_model: false,
1438
- string: "Agrupar pago facturas",
1439
- target: "new",
1440
- type: "ir.actions.act_window",
1441
- usage: false,
1442
- view_id: false,
1443
- view_ids: [],
1444
- view_mode: "form",
1445
- view_type: "form",
1446
- views: [[1545, "form"]],
1447
- },
1448
- {
1449
- auto_refresh: 0,
1450
- context: "{'model':'giscedata.facturacio.factura'}",
1451
- domain: false,
1452
- groups_id: [97],
1453
- id: 1420,
1454
- limit: 80,
1455
- name: "Pagament retornat",
1456
- res_model: "wizard.unpay",
1457
- src_model: false,
1458
- string: "Pagament retornat",
1459
- target: "new",
1460
- type: "ir.actions.act_window",
1461
- usage: false,
1462
- view_id: false,
1463
- view_ids: [],
1464
- view_mode: "form",
1465
- view_type: "form",
1466
- views: [[1541, "form"]],
1467
- },
1468
- {
1469
- auto_refresh: 0,
1470
- context: "{'model':'giscedata.facturacio.factura'}",
1471
- domain: false,
1472
- groups_id: [97],
1473
- id: 1418,
1474
- limit: 80,
1475
- name: "Desfer pago",
1476
- res_model: "wizard.undo.payment",
1477
- src_model: false,
1478
- string: "Desfer pago",
1479
- target: "new",
1480
- type: "ir.actions.act_window",
1481
- usage: false,
1482
- view_id: false,
1483
- view_ids: [],
1484
- view_mode: "form",
1485
- view_type: "form",
1486
- views: [[1540, "form"]],
1487
- },
1488
- {
1489
- auto_refresh: 0,
1490
- context: "{}",
1491
- domain: false,
1492
- groups_id: [],
1493
- id: 1410,
1494
- limit: 80,
1495
- name: "Abonar factura",
1496
- res_model: "wizard.ranas",
1497
- src_model: false,
1498
- string: "Abonar factura",
1499
- target: "new",
1500
- type: "ir.actions.act_window",
1501
- usage: false,
1502
- view_id: false,
1503
- view_ids: [],
1504
- view_mode: "form",
1505
- view_type: "form",
1506
- views: [[1531, "form"]],
1507
- },
1508
- {
1509
- auto_refresh: 0,
1510
- context: "{}",
1511
- domain: false,
1512
- groups_id: [],
1513
- id: 1407,
1514
- limit: 80,
1515
- name: "Pagar factura",
1516
- res_model: "facturacio.pay.invoice",
1517
- src_model: false,
1518
- string: "Pagar factura",
1519
- target: "new",
1520
- type: "ir.actions.act_window",
1521
- usage: false,
1522
- view_id: false,
1523
- view_ids: [],
1524
- view_mode: "form",
1525
- view_type: "form",
1526
- views: [[1529, "form"]],
1527
- },
1528
- ],
1529
- print: [
1530
- {
1531
- attachment: false,
1532
- attachment_use: false,
1533
- auto: false,
1534
- context: "{'carta': 3}",
1535
- groups_id: [],
1536
- header: false,
1537
- id: 2266,
1538
- jasper_file_ids: [],
1539
- jasper_model_id: false,
1540
- jasper_output: false,
1541
- jasper_report: false,
1542
- model: "giscedata.facturacio.factura",
1543
- multi: false,
1544
- name: "Carta Tall",
1545
- report_name: "giscedata.facturacio.factura.carta.tall.normal",
1546
- report_type: "webkit",
1547
- report_webkit:
1548
- "giscedata_facturacio_impagat_comer_cartes/report/carta_tall.mako",
1549
- report_webkit_data: false,
1550
- report_xml: false,
1551
- report_xsl: false,
1552
- signature_in_coordinates: false,
1553
- string: "Carta Tall",
1554
- type: "ir.actions.report.xml",
1555
- usage: false,
1556
- webkit_debug: false,
1557
- webkit_flags: false,
1558
- webkit_header: [35, "Carta requeriment generica header"],
1559
- webkit_sign: false,
1560
- },
1561
- {
1562
- attachment: false,
1563
- attachment_use: false,
1564
- auto: false,
1565
- context: "{'carta': 3}",
1566
- groups_id: [],
1567
- header: false,
1568
- id: 2265,
1569
- jasper_file_ids: [],
1570
- jasper_model_id: false,
1571
- jasper_output: false,
1572
- jasper_report: false,
1573
- model: "giscedata.facturacio.factura",
1574
- multi: false,
1575
- name: "Carta Tall - Bo Social",
1576
- report_name: "giscedata.facturacio.factura.carta.tall.bo.social",
1577
- report_type: "webkit",
1578
- report_webkit:
1579
- "giscedata_facturacio_impagat_comer_cartes/report/carta_requeriment.mako",
1580
- report_webkit_data: false,
1581
- report_xml: false,
1582
- report_xsl: false,
1583
- signature_in_coordinates: false,
1584
- string: "Carta Tall - Bo Social",
1585
- type: "ir.actions.report.xml",
1586
- usage: false,
1587
- webkit_debug: false,
1588
- webkit_flags: false,
1589
- webkit_header: [35, "Carta requeriment generica header"],
1590
- webkit_sign: false,
1591
- },
1592
- {
1593
- attachment: false,
1594
- attachment_use: false,
1595
- auto: false,
1596
- context: "{'carta': 2}",
1597
- groups_id: [],
1598
- header: false,
1599
- id: 2264,
1600
- jasper_file_ids: [],
1601
- jasper_model_id: false,
1602
- jasper_output: false,
1603
- jasper_report: false,
1604
- model: "giscedata.facturacio.factura",
1605
- multi: false,
1606
- name: "2a Carta de requeriment",
1607
- report_name: "giscedata.facturacio.factura.segona.carta.requeriment",
1608
- report_type: "webkit",
1609
- report_webkit:
1610
- "giscedata_facturacio_impagat_comer_cartes/report/carta_requeriment.mako",
1611
- report_webkit_data: false,
1612
- report_xml: false,
1613
- report_xsl: false,
1614
- signature_in_coordinates: false,
1615
- string: "2a Carta de requeriment",
1616
- type: "ir.actions.report.xml",
1617
- usage: false,
1618
- webkit_debug: false,
1619
- webkit_flags: false,
1620
- webkit_header: [35, "Carta requeriment generica header"],
1621
- webkit_sign: false,
1622
- },
1623
- {
1624
- attachment: false,
1625
- attachment_use: false,
1626
- auto: false,
1627
- context: "{'carta': 1}",
1628
- groups_id: [],
1629
- header: false,
1630
- id: 2263,
1631
- jasper_file_ids: [],
1632
- jasper_model_id: false,
1633
- jasper_output: false,
1634
- jasper_report: false,
1635
- model: "giscedata.facturacio.factura",
1636
- multi: false,
1637
- name: "1ra Carta de requeriment",
1638
- report_name: "giscedata.facturacio.factura.carta.requeriment",
1639
- report_type: "webkit",
1640
- report_webkit:
1641
- "giscedata_facturacio_impagat_comer_cartes/report/carta_requeriment.mako",
1642
- report_webkit_data: false,
1643
- report_xml: false,
1644
- report_xsl: false,
1645
- signature_in_coordinates: false,
1646
- string: "1ra Carta de requeriment",
1647
- type: "ir.actions.report.xml",
1648
- usage: false,
1649
- webkit_debug: false,
1650
- webkit_flags: false,
1651
- webkit_header: [35, "Carta requeriment generica header"],
1652
- webkit_sign: false,
1653
- },
1654
- {
1655
- attachment: false,
1656
- attachment_use: false,
1657
- auto: false,
1658
- context: "{}",
1659
- groups_id: [],
1660
- header: false,
1661
- id: 1454,
1662
- jasper_file_ids: [],
1663
- jasper_model_id: false,
1664
- jasper_output: false,
1665
- jasper_report: false,
1666
- model: "giscedata.facturacio.factura",
1667
- multi: false,
1668
- name: "Factura Conceptes",
1669
- report_name: "giscedata.facturacio.factura.conceptes",
1670
- report_type: "webkit",
1671
- report_webkit:
1672
- "giscedata_facturacio_comer/report/factura_conceptes.mako",
1673
- report_webkit_data: false,
1674
- report_xml: false,
1675
- report_xsl: false,
1676
- signature_in_coordinates: false,
1677
- string: "Factura Conceptes",
1678
- type: "ir.actions.report.xml",
1679
- usage: false,
1680
- webkit_debug: false,
1681
- webkit_flags: false,
1682
- webkit_header: [20, "Factura Conceptes"],
1683
- webkit_sign: false,
1684
- },
1685
- {
1686
- attachment: false,
1687
- attachment_use: false,
1688
- auto: false,
1689
- context: "{}",
1690
- groups_id: [],
1691
- header: false,
1692
- id: 1453,
1693
- jasper_file_ids: [],
1694
- jasper_model_id: false,
1695
- jasper_output: false,
1696
- jasper_report: false,
1697
- model: "giscedata.facturacio.factura",
1698
- multi: false,
1699
- name: "Factura",
1700
- report_name: "giscedata.facturacio.factura",
1701
- report_type: "webkit",
1702
- report_webkit: false,
1703
- report_webkit_data: false,
1704
- report_xml: false,
1705
- report_xsl: false,
1706
- signature_in_coordinates: false,
1707
- string: "Factura",
1708
- type: "ir.actions.report.xml",
1709
- usage: false,
1710
- webkit_debug: false,
1711
- webkit_flags: false,
1712
- webkit_header: [19, "Factura"],
1713
- webkit_sign: false,
1714
- },
1715
- {
1716
- attachment: false,
1717
- attachment_use: false,
1718
- auto: false,
1719
- context: "{}",
1720
- groups_id: [],
1721
- header: false,
1722
- id: 1396,
1723
- jasper_file_ids: [],
1724
- jasper_model_id: false,
1725
- jasper_output: false,
1726
- jasper_report: false,
1727
- model: "giscedata.facturacio.factura",
1728
- multi: false,
1729
- name: "Recibo",
1730
- report_name: "giscedata.facturacio.factura.rebut",
1731
- report_type: "webkit",
1732
- report_webkit: "giscedata_facturacio_comer/report/rebut.mako",
1733
- report_webkit_data: false,
1734
- report_xml: false,
1735
- report_xsl: false,
1736
- signature_in_coordinates: false,
1737
- string: "Recibo",
1738
- type: "ir.actions.report.xml",
1739
- usage: false,
1740
- webkit_debug: false,
1741
- webkit_flags: false,
1742
- webkit_header: [17, "Rebut sense fons header"],
1743
- webkit_sign: false,
1744
- },
1745
- ],
1746
- relate: [
1747
- {
1748
- auto_refresh: 0,
1749
- context: "{}",
1750
- domain: "[('move_line_id.move_id.id','=', move_id)]",
1751
- groups_id: [],
1752
- id: 1732,
1753
- limit: 80,
1754
- name: "Payment lines",
1755
- res_model: "payment.line",
1756
- src_model: "giscedata.facturacio.factura",
1757
- string: "Payment lines",
1758
- target: "current",
1759
- type: "ir.actions.act_window",
1760
- usage: false,
1761
- view_id: false,
1762
- view_ids: [],
1763
- view_mode: "tree,form",
1764
- view_type: "form",
1765
- views: [
1766
- [469, "tree"],
1767
- [468, "form"],
1768
- ],
1769
- },
1770
- {
1771
- auto_refresh: 0,
1772
- context: "{}",
1773
- domain: "[('numfactura', '=', number)]",
1774
- groups_id: [],
1775
- id: 1722,
1776
- limit: 80,
1777
- name: "Línies de devolució",
1778
- res_model: "giscedata.facturacio.devolucio.linia",
1779
- src_model: "giscedata.facturacio.factura",
1780
- string: "Línies de devolució",
1781
- target: "current",
1782
- type: "ir.actions.act_window",
1783
- usage: false,
1784
- view_id: false,
1785
- view_ids: [],
1786
- view_mode: "tree,form",
1787
- view_type: "form",
1788
- views: [
1789
- [1980, "tree"],
1790
- [1979, "form"],
1791
- ],
1792
- },
1793
- {
1794
- auto_refresh: 0,
1795
- context: "{}",
1796
- domain: "[('id', '=', polissa_id)]",
1797
- groups_id: [],
1798
- id: 1390,
1799
- limit: 80,
1800
- name: "Pòlissa",
1801
- res_model: "giscedata.polissa",
1802
- src_model: "giscedata.facturacio.factura",
1803
- string: "Pòlissa",
1804
- target: "current",
1805
- type: "ir.actions.act_window",
1806
- usage: false,
1807
- view_id: false,
1808
- view_ids: [],
1809
- view_mode: "tree,form",
1810
- view_type: "form",
1811
- views: [
1812
- [480, "tree"],
1813
- [479, "form"],
1814
- ],
1815
- },
1816
- {
1817
- auto_refresh: 0,
1818
- context: "{}",
1819
- domain: "[('id', '=', active_id)]",
1820
- groups_id: [],
1821
- id: -1,
1822
- limit: 0,
1823
- name: "giscedata.facturacio.factura",
1824
- res_model: "giscedata.facturacio.factura",
1825
- src_model: "giscedata.facturacio.factura",
1826
- string: "giscedata.facturacio.factura",
1827
- target: "current",
1828
- type: "ir.actions.act_window",
1829
- usage: "",
1830
- view_id: false,
1831
- view_ids: [],
1832
- view_mode: "tree,form",
1833
- view_type: "form",
1834
- views: [
1835
- [false, "tree"],
1836
- [false, "form"],
1837
- ],
1838
- },
1839
- ],
1840
- },
1841
- type: "form",
1842
- view_id: 225,
1843
- },
1844
- tree: {
1845
- arch:
1846
- '<tree colors="blue:state==\'draft\';red:polissa_state==\'tall\'" string="Invoice">\n <field name="number"/>\n <field name="state"/>\n <field name="polissa_id"/>\n <field name="cups_id"/>\n <field name="pending_state" select="1"/>\n <field name="pending_state_date"/>\n <field name="polissa_state"/>\n <field name="data_inici"/>\n <field name="data_final"/>\n <field name="partner_id"/>\n <field name="amount_untaxed" sum="Untaxed amount"/>\n <field name="residual" sum="Total Pendent"/>\n <field name="amount_total" sum="Total amount"/>\n <field name="date_invoice" select="1"/>\n <field name="date_due" select="1"/>\n <field name="potencia"/>\n <field name="energia_kwh" select="1"/>\n <field name="dies" select="1"/>\n <field name="group_move_id" select="2"/>\n </tree>',
1847
- field_parent: false,
1848
- fields: {
1849
- amount_total: {
1850
- digits: [16, 6],
1851
- readonly: 1,
1852
- select: 1,
1853
- string: "Total",
1854
- type: "float",
1855
- views: {},
1856
- },
1857
- amount_untaxed: {
1858
- digits: [16, 6],
1859
- readonly: 1,
1860
- string: "Untaxed",
1861
- type: "float",
1862
- views: {},
1863
- },
1864
- cups_id: {
1865
- context: "",
1866
- domain: [],
1867
- readonly: true,
1868
- relation: "giscedata.cups.ps",
1869
- required: true,
1870
- select: 1,
1871
- size: 64,
1872
- states: {
1873
- draft: [["readonly", false]],
1874
- },
1875
- string: "CUPS",
1876
- type: "many2one",
1877
- views: {},
1878
- },
1879
- data_final: {
1880
- readonly: true,
1881
- states: {
1882
- draft: [["readonly", false]],
1883
- },
1884
- string: "Data final",
1885
- type: "date",
1886
- views: {},
1887
- },
1888
- data_inici: {
1889
- readonly: true,
1890
- states: {
1891
- draft: [["readonly", false]],
1892
- },
1893
- string: "Data inici",
1894
- type: "date",
1895
- views: {},
1896
- },
1897
- date_due: {
1898
- help:
1899
- "If you use payment terms, the due date will be computed automatically at the generation of accounting entries. If you keep the payment term and the due date empty, it means direct payment. The payment term may compute several due dates, for example 50% now, 50% in one month.",
1900
- states: {
1901
- close: [["readonly", true]],
1902
- open: [["readonly", true]],
1903
- },
1904
- string: "Due Date",
1905
- type: "date",
1906
- views: {},
1907
- },
1908
- date_invoice: {
1909
- help: "Keep empty to use the current date",
1910
- select: true,
1911
- states: {
1912
- open: [["readonly", true]],
1913
- paid: [["readonly", true]],
1914
- },
1915
- string: "Date Invoiced",
1916
- type: "date",
1917
- views: {},
1918
- },
1919
- dies: {
1920
- digits: [16, 2],
1921
- readonly: 1,
1922
- select: true,
1923
- string: "Dies facturats",
1924
- type: "integer",
1925
- views: {},
1926
- },
1927
- energia_kwh: {
1928
- digits: [16, 2],
1929
- readonly: 1,
1930
- string: "Energia facturada",
1931
- type: "integer",
1932
- views: {},
1933
- },
1934
- group_move_id: {
1935
- context: "",
1936
- domain: [],
1937
- relation: "account.move",
1938
- select: true,
1939
- size: 64,
1940
- string: "Group move",
1941
- type: "many2one",
1942
- views: {},
1943
- },
1944
- number: {
1945
- help:
1946
- "Unique number of the invoice, computed automatically when the invoice is created.",
1947
- readonly: true,
1948
- size: 32,
1949
- string: "Invoice Number",
1950
- type: "char",
1951
- views: {},
1952
- },
1953
- partner_id: {
1954
- change_default: true,
1955
- context: "",
1956
- domain: [],
1957
- readonly: true,
1958
- relation: "res.partner",
1959
- required: true,
1960
- select: true,
1961
- size: 64,
1962
- states: {
1963
- draft: [["readonly", false]],
1964
- },
1965
- string: "Partner",
1966
- type: "many2one",
1967
- views: {},
1968
- },
1969
- pending_state: {
1970
- context: "",
1971
- digits: [16, 2],
1972
- domain: [],
1973
- readonly: 1,
1974
- relation: "account.invoice.pending.state",
1975
- string: "Pending State",
1976
- type: "many2one",
1977
- views: {},
1978
- },
1979
- pending_state_date: {
1980
- digits: [16, 2],
1981
- readonly: 1,
1982
- string: "Pending State Date",
1983
- type: "datetime",
1984
- views: {},
1985
- },
1986
- polissa_id: {
1987
- context: "",
1988
- domain: [],
1989
- readonly: true,
1990
- relation: "giscedata.polissa",
1991
- required: true,
1992
- select: true,
1993
- size: 64,
1994
- states: {
1995
- draft: [["readonly", false]],
1996
- },
1997
- string: "Contracte",
1998
- type: "many2one",
1999
- views: {},
2000
- },
2001
- polissa_state: {
2002
- digits: [16, 2],
2003
- readonly: 1,
2004
- selection: [
2005
- ["esborrany", "Esborrany"],
2006
- ["validar", "Validar"],
2007
- ["pendent", "Pendent"],
2008
- ["activa", "Activa"],
2009
- ["cancelada", "Cancel·lada"],
2010
- ["contracte", "Activació Contracte"],
2011
- ["novapolissa", "Creació nova pòlissa"],
2012
- ["modcontractual", "Modificació Contractual"],
2013
- ["impagament", "Impagament"],
2014
- ["avis1", "Avís 1"],
2015
- ["avis2", "Avís 2"],
2016
- ["facturacio", "Facturació"],
2017
- ["tall", "Tall"],
2018
- ["baixa", "Baixa"],
2019
- ],
2020
- size: 256,
2021
- string: "Estat Abonat",
2022
- type: "selection",
2023
- views: {},
2024
- },
2025
- potencia: {
2026
- digits: [16, 3],
2027
- readonly: true,
2028
- required: true,
2029
- states: {
2030
- draft: [["readonly", false]],
2031
- },
2032
- string: "Potència contractada (kW)",
2033
- type: "float",
2034
- views: {},
2035
- },
2036
- residual: {
2037
- digits: [16, 6],
2038
- help: "Remaining amount due.",
2039
- readonly: 1,
2040
- string: "Residual",
2041
- type: "float",
2042
- views: {},
2043
- },
2044
- state: {
2045
- readonly: true,
2046
- select: true,
2047
- selection: [
2048
- ["draft", "Draft"],
2049
- ["proforma", "Accounting Pro-forma"],
2050
- ["proforma2", "Pro-forma"],
2051
- ["open", "Open"],
2052
- ["paid", "Done"],
2053
- ["cancel", "Cancelled"],
2054
- ],
2055
- string: "State",
2056
- type: "selection",
2057
- views: {},
2058
- },
2059
- },
2060
- model: "giscedata.facturacio.factura",
2061
- name: "giscedata.facturacio.factura.impagades.tree",
2062
- search_fields: {
2063
- primary: [
2064
- "pending_state",
2065
- "date_invoice",
2066
- "date_due",
2067
- "energia_kwh",
2068
- "dies",
2069
- "group_move_id",
2070
- "cups_id",
2071
- "state",
2072
- "polissa_id",
2073
- "partner_id",
2074
- "amount_total",
2075
- ],
2076
- secondary: [],
2077
- },
2078
- toolbar: {
2079
- action: [
2080
- {
2081
- auto_refresh: 0,
2082
- context: "{}",
2083
- domain: false,
2084
- groups_id: [],
2085
- id: 1749,
2086
- limit: 80,
2087
- name: "Aprovar factura F1 (XML)",
2088
- res_model: "giscedata.facturacio.switching.aprovar.factura",
2089
- src_model: false,
2090
- string: "Aprovar factura F1 (XML)",
2091
- target: "new",
2092
- type: "ir.actions.act_window",
2093
- usage: false,
2094
- view_id: false,
2095
- view_ids: [],
2096
- view_mode: "form",
2097
- view_type: "form",
2098
- views: [[2031, "form"]],
2099
- },
2100
- {
2101
- auto_refresh: 0,
2102
- context: "{'model':'giscedata.facturacio.factura'}",
2103
- domain: false,
2104
- groups_id: [],
2105
- id: 1741,
2106
- limit: 80,
2107
- name: "Change pending",
2108
- res_model: "wizard.change.pending",
2109
- src_model: false,
2110
- string: "Change pending",
2111
- target: "new",
2112
- type: "ir.actions.act_window",
2113
- usage: false,
2114
- view_id: false,
2115
- view_ids: [],
2116
- view_mode: "form",
2117
- view_type: "form",
2118
- views: [[1975, "form"]],
2119
- },
2120
- {
2121
- auto_refresh: 0,
2122
- context: "{'from_model':'giscedata.facturacio.factura'}",
2123
- domain: false,
2124
- groups_id: [],
2125
- id: 1740,
2126
- limit: 80,
2127
- name: "Enviar emails de impagaments",
2128
- res_model: "wizard.send.impagats.mail",
2129
- src_model: false,
2130
- string: "Enviar emails de impagaments",
2131
- target: "new",
2132
- type: "ir.actions.act_window",
2133
- usage: false,
2134
- view_id: false,
2135
- view_ids: [],
2136
- view_mode: "form",
2137
- view_type: "form",
2138
- views: [[1976, "form"]],
2139
- },
2140
- {
2141
- auto_refresh: 0,
2142
- context: "{}",
2143
- domain: false,
2144
- groups_id: [],
2145
- id: 1596,
2146
- limit: 80,
2147
- name: "Generar cas Gestió ATR",
2148
- res_model: "wizard.atr.from.invoice",
2149
- src_model: false,
2150
- string: "Generar cas Gestió ATR",
2151
- target: "new",
2152
- type: "ir.actions.act_window",
2153
- usage: false,
2154
- view_id: [1799, "wizard.atr.from.invoice.form"],
2155
- view_ids: [],
2156
- view_mode: "form",
2157
- view_type: "form",
2158
- views: [[1799, "form"]],
2159
- },
2160
- {
2161
- auto_refresh: 0,
2162
- context: "{'model': 'giscedata.facturacio.factura'}",
2163
- domain: false,
2164
- groups_id: [],
2165
- id: 1731,
2166
- limit: 80,
2167
- name: "Afegir factures a remesa",
2168
- res_model: "wizard.afegir.factures.remesa",
2169
- src_model: false,
2170
- string: "Afegir factures a remesa",
2171
- target: "new",
2172
- type: "ir.actions.act_window",
2173
- usage: false,
2174
- view_id: false,
2175
- view_ids: [],
2176
- view_mode: "form",
2177
- view_type: "form",
2178
- views: [[2009, "form"]],
2179
- },
2180
- {
2181
- auto_refresh: 0,
2182
- context: "{}",
2183
- domain: false,
2184
- groups_id: [],
2185
- id: 1729,
2186
- limit: 80,
2187
- name: "Resum Factures Remesa",
2188
- res_model: "wizard.resum.factures.remesa",
2189
- src_model: false,
2190
- string: "Resum Factures Remesa",
2191
- target: "new",
2192
- type: "ir.actions.act_window",
2193
- usage: false,
2194
- view_id: [2007, "Resum Factures Remesa"],
2195
- view_ids: [],
2196
- view_mode: "form",
2197
- view_type: "form",
2198
- views: [[2007, "form"]],
2199
- },
2200
- {
2201
- auto_refresh: 0,
2202
- context: "{}",
2203
- domain: false,
2204
- groups_id: [],
2205
- id: 1467,
2206
- limit: 80,
2207
- name: "Obrir i enviar factures per email",
2208
- res_model: "wizard.invoice.open.and.send",
2209
- src_model: false,
2210
- string: "Obrir i enviar factures per email",
2211
- target: "new",
2212
- type: "ir.actions.act_window",
2213
- usage: false,
2214
- view_id: false,
2215
- view_ids: [],
2216
- view_mode: "form",
2217
- view_type: "form",
2218
- views: [[1607, "form"]],
2219
- },
2220
- {
2221
- groups_id: [],
2222
- id: 1457,
2223
- model: "giscedata.facturacio.factura",
2224
- multi: false,
2225
- name: "Avís Impagament",
2226
- string: "Avís Impagament",
2227
- type: "ir.actions.wizard",
2228
- usage: false,
2229
- wiz_name: "wizard_avis_impagament",
2230
- },
2231
- {
2232
- auto_refresh: 0,
2233
- context: "{'from_model':'giscedata.facturacio.factura'}",
2234
- domain: false,
2235
- groups_id: [],
2236
- id: 1439,
2237
- limit: 80,
2238
- name: "Afegir un comentari a les factures seleccionades",
2239
- res_model: "wizard.comment.to.multiple.invoices",
2240
- src_model: false,
2241
- string: "Afegir un comentari a les factures seleccionades",
2242
- target: "new",
2243
- type: "ir.actions.act_window",
2244
- usage: false,
2245
- view_id: [1067, "wizard.comment.to.multiple.invoices.form"],
2246
- view_ids: [],
2247
- view_mode: "form",
2248
- view_type: "form",
2249
- views: [[1067, "form"]],
2250
- },
2251
- {
2252
- auto_refresh: 0,
2253
- context: "{'model': 'giscegas.facturacio.factura'}",
2254
- domain: false,
2255
- groups_id: [],
2256
- id: 2230,
2257
- limit: 80,
2258
- name: "Cambiar plazo de pago",
2259
- res_model: "wizard.change.payment.term",
2260
- src_model: false,
2261
- string: "Cambiar plazo de pago",
2262
- target: "new",
2263
- type: "ir.actions.act_window",
2264
- usage: false,
2265
- view_id: false,
2266
- view_ids: [],
2267
- view_mode: "form",
2268
- view_type: "form",
2269
- views: [[1066, "form"]],
2270
- },
2271
- {
2272
- auto_refresh: 0,
2273
- context: "{}",
2274
- domain: false,
2275
- groups_id: [],
2276
- id: 1433,
2277
- limit: 80,
2278
- name: "Fraccionar Pagaments (via Extra Lines)",
2279
- res_model: "wizard.fraccionar.via.extralines",
2280
- src_model: false,
2281
- string: "Fraccionar Pagaments (via Extra Lines)",
2282
- target: "new",
2283
- type: "ir.actions.act_window",
2284
- usage: false,
2285
- view_id: false,
2286
- view_ids: [],
2287
- view_mode: "form",
2288
- view_type: "form",
2289
- views: [[1557, "form"]],
2290
- },
2291
- {
2292
- auto_refresh: 0,
2293
- context: "{}",
2294
- domain: false,
2295
- groups_id: [],
2296
- id: 1427,
2297
- limit: 80,
2298
- name: "Actualitzar data de venciment",
2299
- res_model: "wizard.modificar.data.venc",
2300
- src_model: false,
2301
- string: "Actualitzar data de venciment",
2302
- target: "new",
2303
- type: "ir.actions.act_window",
2304
- usage: false,
2305
- view_id: false,
2306
- view_ids: [],
2307
- view_mode: "form",
2308
- view_type: "form",
2309
- views: [[1546, "form"]],
2310
- },
2311
- {
2312
- auto_refresh: 0,
2313
- context: "{'model': 'giscedata.facturacio.factura'}",
2314
- domain: false,
2315
- groups_id: [],
2316
- id: 1425,
2317
- limit: 80,
2318
- name: "Agrupar pago facturas",
2319
- res_model: "wizard.group.invoices.payment",
2320
- src_model: false,
2321
- string: "Agrupar pago facturas",
2322
- target: "new",
2323
- type: "ir.actions.act_window",
2324
- usage: false,
2325
- view_id: false,
2326
- view_ids: [],
2327
- view_mode: "form",
2328
- view_type: "form",
2329
- views: [[1545, "form"]],
2330
- },
2331
- {
2332
- auto_refresh: 0,
2333
- context: "{'model':'giscedata.facturacio.factura'}",
2334
- domain: false,
2335
- groups_id: [97],
2336
- id: 1420,
2337
- limit: 80,
2338
- name: "Pagament retornat",
2339
- res_model: "wizard.unpay",
2340
- src_model: false,
2341
- string: "Pagament retornat",
2342
- target: "new",
2343
- type: "ir.actions.act_window",
2344
- usage: false,
2345
- view_id: false,
2346
- view_ids: [],
2347
- view_mode: "form",
2348
- view_type: "form",
2349
- views: [[1541, "form"]],
2350
- },
2351
- {
2352
- auto_refresh: 0,
2353
- context: "{'model':'giscedata.facturacio.factura'}",
2354
- domain: false,
2355
- groups_id: [97],
2356
- id: 1418,
2357
- limit: 80,
2358
- name: "Desfer pago",
2359
- res_model: "wizard.undo.payment",
2360
- src_model: false,
2361
- string: "Desfer pago",
2362
- target: "new",
2363
- type: "ir.actions.act_window",
2364
- usage: false,
2365
- view_id: false,
2366
- view_ids: [],
2367
- view_mode: "form",
2368
- view_type: "form",
2369
- views: [[1540, "form"]],
2370
- },
2371
- {
2372
- auto_refresh: 0,
2373
- context: "{}",
2374
- domain: false,
2375
- groups_id: [],
2376
- id: 1410,
2377
- limit: 80,
2378
- name: "Abonar factura",
2379
- res_model: "wizard.ranas",
2380
- src_model: false,
2381
- string: "Abonar factura",
2382
- target: "new",
2383
- type: "ir.actions.act_window",
2384
- usage: false,
2385
- view_id: false,
2386
- view_ids: [],
2387
- view_mode: "form",
2388
- view_type: "form",
2389
- views: [[1531, "form"]],
2390
- },
2391
- {
2392
- auto_refresh: 0,
2393
- context: "{}",
2394
- domain: false,
2395
- groups_id: [],
2396
- id: 1407,
2397
- limit: 80,
2398
- name: "Pagar factura",
2399
- res_model: "facturacio.pay.invoice",
2400
- src_model: false,
2401
- string: "Pagar factura",
2402
- target: "new",
2403
- type: "ir.actions.act_window",
2404
- usage: false,
2405
- view_id: false,
2406
- view_ids: [],
2407
- view_mode: "form",
2408
- view_type: "form",
2409
- views: [[1529, "form"]],
2410
- },
2411
- ],
2412
- print: [
2413
- {
2414
- attachment: false,
2415
- attachment_use: false,
2416
- auto: false,
2417
- context: "{'carta': 3}",
2418
- groups_id: [],
2419
- header: false,
2420
- id: 2266,
2421
- jasper_file_ids: [],
2422
- jasper_model_id: false,
2423
- jasper_output: false,
2424
- jasper_report: false,
2425
- model: "giscedata.facturacio.factura",
2426
- multi: false,
2427
- name: "Carta Tall",
2428
- report_name: "giscedata.facturacio.factura.carta.tall.normal",
2429
- report_type: "webkit",
2430
- report_webkit:
2431
- "giscedata_facturacio_impagat_comer_cartes/report/carta_tall.mako",
2432
- report_webkit_data: false,
2433
- report_xml: false,
2434
- report_xsl: false,
2435
- signature_in_coordinates: false,
2436
- string: "Carta Tall",
2437
- type: "ir.actions.report.xml",
2438
- usage: false,
2439
- webkit_debug: false,
2440
- webkit_flags: false,
2441
- webkit_header: [35, "Carta requeriment generica header"],
2442
- webkit_sign: false,
2443
- },
2444
- {
2445
- attachment: false,
2446
- attachment_use: false,
2447
- auto: false,
2448
- context: "{'carta': 3}",
2449
- groups_id: [],
2450
- header: false,
2451
- id: 2265,
2452
- jasper_file_ids: [],
2453
- jasper_model_id: false,
2454
- jasper_output: false,
2455
- jasper_report: false,
2456
- model: "giscedata.facturacio.factura",
2457
- multi: false,
2458
- name: "Carta Tall - Bo Social",
2459
- report_name: "giscedata.facturacio.factura.carta.tall.bo.social",
2460
- report_type: "webkit",
2461
- report_webkit:
2462
- "giscedata_facturacio_impagat_comer_cartes/report/carta_requeriment.mako",
2463
- report_webkit_data: false,
2464
- report_xml: false,
2465
- report_xsl: false,
2466
- signature_in_coordinates: false,
2467
- string: "Carta Tall - Bo Social",
2468
- type: "ir.actions.report.xml",
2469
- usage: false,
2470
- webkit_debug: false,
2471
- webkit_flags: false,
2472
- webkit_header: [35, "Carta requeriment generica header"],
2473
- webkit_sign: false,
2474
- },
2475
- {
2476
- attachment: false,
2477
- attachment_use: false,
2478
- auto: false,
2479
- context: "{'carta': 2}",
2480
- groups_id: [],
2481
- header: false,
2482
- id: 2264,
2483
- jasper_file_ids: [],
2484
- jasper_model_id: false,
2485
- jasper_output: false,
2486
- jasper_report: false,
2487
- model: "giscedata.facturacio.factura",
2488
- multi: false,
2489
- name: "2a Carta de requeriment",
2490
- report_name: "giscedata.facturacio.factura.segona.carta.requeriment",
2491
- report_type: "webkit",
2492
- report_webkit:
2493
- "giscedata_facturacio_impagat_comer_cartes/report/carta_requeriment.mako",
2494
- report_webkit_data: false,
2495
- report_xml: false,
2496
- report_xsl: false,
2497
- signature_in_coordinates: false,
2498
- string: "2a Carta de requeriment",
2499
- type: "ir.actions.report.xml",
2500
- usage: false,
2501
- webkit_debug: false,
2502
- webkit_flags: false,
2503
- webkit_header: [35, "Carta requeriment generica header"],
2504
- webkit_sign: false,
2505
- },
2506
- {
2507
- attachment: false,
2508
- attachment_use: false,
2509
- auto: false,
2510
- context: "{'carta': 1}",
2511
- groups_id: [],
2512
- header: false,
2513
- id: 2263,
2514
- jasper_file_ids: [],
2515
- jasper_model_id: false,
2516
- jasper_output: false,
2517
- jasper_report: false,
2518
- model: "giscedata.facturacio.factura",
2519
- multi: false,
2520
- name: "1ra Carta de requeriment",
2521
- report_name: "giscedata.facturacio.factura.carta.requeriment",
2522
- report_type: "webkit",
2523
- report_webkit:
2524
- "giscedata_facturacio_impagat_comer_cartes/report/carta_requeriment.mako",
2525
- report_webkit_data: false,
2526
- report_xml: false,
2527
- report_xsl: false,
2528
- signature_in_coordinates: false,
2529
- string: "1ra Carta de requeriment",
2530
- type: "ir.actions.report.xml",
2531
- usage: false,
2532
- webkit_debug: false,
2533
- webkit_flags: false,
2534
- webkit_header: [35, "Carta requeriment generica header"],
2535
- webkit_sign: false,
2536
- },
2537
- {
2538
- attachment: false,
2539
- attachment_use: false,
2540
- auto: false,
2541
- context: "{}",
2542
- groups_id: [],
2543
- header: false,
2544
- id: 1454,
2545
- jasper_file_ids: [],
2546
- jasper_model_id: false,
2547
- jasper_output: false,
2548
- jasper_report: false,
2549
- model: "giscedata.facturacio.factura",
2550
- multi: false,
2551
- name: "Factura Conceptes",
2552
- report_name: "giscedata.facturacio.factura.conceptes",
2553
- report_type: "webkit",
2554
- report_webkit:
2555
- "giscedata_facturacio_comer/report/factura_conceptes.mako",
2556
- report_webkit_data: false,
2557
- report_xml: false,
2558
- report_xsl: false,
2559
- signature_in_coordinates: false,
2560
- string: "Factura Conceptes",
2561
- type: "ir.actions.report.xml",
2562
- usage: false,
2563
- webkit_debug: false,
2564
- webkit_flags: false,
2565
- webkit_header: [20, "Factura Conceptes"],
2566
- webkit_sign: false,
2567
- },
2568
- {
2569
- attachment: false,
2570
- attachment_use: false,
2571
- auto: false,
2572
- context: "{}",
2573
- groups_id: [],
2574
- header: false,
2575
- id: 1453,
2576
- jasper_file_ids: [],
2577
- jasper_model_id: false,
2578
- jasper_output: false,
2579
- jasper_report: false,
2580
- model: "giscedata.facturacio.factura",
2581
- multi: false,
2582
- name: "Factura",
2583
- report_name: "giscedata.facturacio.factura",
2584
- report_type: "webkit",
2585
- report_webkit: false,
2586
- report_webkit_data: false,
2587
- report_xml: false,
2588
- report_xsl: false,
2589
- signature_in_coordinates: false,
2590
- string: "Factura",
2591
- type: "ir.actions.report.xml",
2592
- usage: false,
2593
- webkit_debug: false,
2594
- webkit_flags: false,
2595
- webkit_header: [19, "Factura"],
2596
- webkit_sign: false,
2597
- },
2598
- {
2599
- attachment: false,
2600
- attachment_use: false,
2601
- auto: false,
2602
- context: "{}",
2603
- groups_id: [],
2604
- header: false,
2605
- id: 1396,
2606
- jasper_file_ids: [],
2607
- jasper_model_id: false,
2608
- jasper_output: false,
2609
- jasper_report: false,
2610
- model: "giscedata.facturacio.factura",
2611
- multi: false,
2612
- name: "Recibo",
2613
- report_name: "giscedata.facturacio.factura.rebut",
2614
- report_type: "webkit",
2615
- report_webkit: "giscedata_facturacio_comer/report/rebut.mako",
2616
- report_webkit_data: false,
2617
- report_xml: false,
2618
- report_xsl: false,
2619
- signature_in_coordinates: false,
2620
- string: "Recibo",
2621
- type: "ir.actions.report.xml",
2622
- usage: false,
2623
- webkit_debug: false,
2624
- webkit_flags: false,
2625
- webkit_header: [17, "Rebut sense fons header"],
2626
- webkit_sign: false,
2627
- },
2628
- ],
2629
- relate: [
2630
- {
2631
- auto_refresh: 0,
2632
- context: "{}",
2633
- domain: "[('move_line_id.move_id.id','=', move_id)]",
2634
- groups_id: [],
2635
- id: 1732,
2636
- limit: 80,
2637
- name: "Payment lines",
2638
- res_model: "payment.line",
2639
- src_model: "giscedata.facturacio.factura",
2640
- string: "Payment lines",
2641
- target: "current",
2642
- type: "ir.actions.act_window",
2643
- usage: false,
2644
- view_id: false,
2645
- view_ids: [],
2646
- view_mode: "tree,form",
2647
- view_type: "form",
2648
- views: [
2649
- [469, "tree"],
2650
- [468, "form"],
2651
- ],
2652
- },
2653
- {
2654
- auto_refresh: 0,
2655
- context: "{}",
2656
- domain: "[('numfactura', '=', number)]",
2657
- groups_id: [],
2658
- id: 1722,
2659
- limit: 80,
2660
- name: "Línies de devolució",
2661
- res_model: "giscedata.facturacio.devolucio.linia",
2662
- src_model: "giscedata.facturacio.factura",
2663
- string: "Línies de devolució",
2664
- target: "current",
2665
- type: "ir.actions.act_window",
2666
- usage: false,
2667
- view_id: false,
2668
- view_ids: [],
2669
- view_mode: "tree,form",
2670
- view_type: "form",
2671
- views: [
2672
- [1980, "tree"],
2673
- [1979, "form"],
2674
- ],
2675
- },
2676
- {
2677
- auto_refresh: 0,
2678
- context: "{}",
2679
- domain: "[('id', '=', polissa_id)]",
2680
- groups_id: [],
2681
- id: 1390,
2682
- limit: 80,
2683
- name: "Pòlissa",
2684
- res_model: "giscedata.polissa",
2685
- src_model: "giscedata.facturacio.factura",
2686
- string: "Pòlissa",
2687
- target: "current",
2688
- type: "ir.actions.act_window",
2689
- usage: false,
2690
- view_id: false,
2691
- view_ids: [],
2692
- view_mode: "tree,form",
2693
- view_type: "form",
2694
- views: [
2695
- [480, "tree"],
2696
- [479, "form"],
2697
- ],
2698
- },
2699
- {
2700
- auto_refresh: 0,
2701
- context: "{}",
2702
- domain: "[('id', '=', active_id)]",
2703
- groups_id: [],
2704
- id: -1,
2705
- limit: 0,
2706
- name: "giscedata.facturacio.factura",
2707
- res_model: "giscedata.facturacio.factura",
2708
- src_model: "giscedata.facturacio.factura",
2709
- string: "giscedata.facturacio.factura",
2710
- target: "current",
2711
- type: "ir.actions.act_window",
2712
- usage: "",
2713
- view_id: false,
2714
- view_ids: [],
2715
- view_mode: "tree,form",
2716
- view_type: "form",
2717
- views: [
2718
- [false, "tree"],
2719
- [false, "form"],
2720
- ],
2721
- },
2722
- ],
2723
- },
2724
- type: "tree",
2725
- view_id: 2022,
2726
- },
2727
- };