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

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