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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/dist/react-ooui.es.js +1 -1
  2. package/dist/react-ooui.es.js.map +1 -1
  3. package/package.json +6 -8
  4. package/src/ConnectionProvider.ts +0 -16
  5. package/src/__tests__/iconMapper.test.ts +0 -30
  6. package/src/__tests__/searchFilterHelper.spec.ts +0 -386
  7. package/src/actionbar/ActionButton.tsx +0 -40
  8. package/src/actionbar/AttachmentsButton.tsx +0 -132
  9. package/src/actionbar/AttachmentsButtonWrapper.tsx +0 -157
  10. package/src/actionbar/ButtonWithBadge.tsx +0 -44
  11. package/src/actionbar/ChangeViewButton.tsx +0 -137
  12. package/src/actionbar/DashboardActionBar.tsx +0 -63
  13. package/src/actionbar/DropdownButton.tsx +0 -124
  14. package/src/actionbar/FormActionBar.tsx +0 -491
  15. package/src/actionbar/GraphActionBar.tsx +0 -67
  16. package/src/actionbar/NewButton.tsx +0 -46
  17. package/src/actionbar/SearchBar.tsx +0 -73
  18. package/src/actionbar/TreeActionBar.tsx +0 -383
  19. package/src/common/ButtonWithTooltip.tsx +0 -18
  20. package/src/common/DatePicker.tsx +0 -98
  21. package/src/common/Field.tsx +0 -93
  22. package/src/common/SelectAllRecordsRow.tsx +0 -94
  23. package/src/common/TimePicker.tsx +0 -38
  24. package/src/context/ActionViewContext.tsx +0 -213
  25. package/src/context/ConfigContext.tsx +0 -28
  26. package/src/context/ContentRootContext.tsx +0 -461
  27. package/src/context/DashboardActionContext.tsx +0 -44
  28. package/src/context/FormContext.tsx +0 -79
  29. package/src/context/FormModalContext.tsx +0 -28
  30. package/src/context/LocaleContext.tsx +0 -50
  31. package/src/context/One2manyContext.tsx +0 -45
  32. package/src/context/TabManagerContext.tsx +0 -117
  33. package/src/helpers/containerHelper.ts +0 -145
  34. package/src/helpers/dayjs.ts +0 -21
  35. package/src/helpers/dynamicColumnsHelper.ts +0 -73
  36. package/src/helpers/errorHelper.ts +0 -27
  37. package/src/helpers/filesHelper.ts +0 -41
  38. package/src/helpers/formHelper.ts +0 -301
  39. package/src/helpers/iconMapper.ts +0 -164
  40. package/src/helpers/logInfoHelper.tsx +0 -30
  41. package/src/helpers/one2manyHelper.ts +0 -194
  42. package/src/helpers/searchHelper.ts +0 -196
  43. package/src/helpers/timeHelper.ts +0 -58
  44. package/src/helpers/treeHelper.tsx +0 -226
  45. package/src/helpers/viewHelper.ts +0 -23
  46. package/src/hooks/useEffectDebugger.ts +0 -43
  47. package/src/hooks/useExport.ts +0 -439
  48. package/src/hooks/useFetchViews.ts +0 -0
  49. package/src/hooks/useSearch.ts +0 -434
  50. package/src/hooks/useWindowDimensions.ts +0 -33
  51. package/src/index.ts +0 -168
  52. package/src/locales/ca_ES.tsx +0 -99
  53. package/src/locales/en_US.tsx +0 -96
  54. package/src/locales/es_ES.tsx +0 -101
  55. package/src/stories/Binary.stories.tsx +0 -23
  56. package/src/stories/Boolean.stories.tsx +0 -22
  57. package/src/stories/Button.stories.tsx +0 -130
  58. package/src/stories/Char.stories.tsx +0 -76
  59. package/src/stories/FiberGrid.stories.tsx +0 -109
  60. package/src/stories/Float.stories.tsx +0 -22
  61. package/src/stories/FloatTime.stories.tsx +0 -32
  62. package/src/stories/Image.stories.tsx +0 -25
  63. package/src/stories/Integer.stories.tsx +0 -22
  64. package/src/stories/Label.stories.tsx +0 -100
  65. package/src/stories/Many2one.stories.tsx +0 -31
  66. package/src/stories/One2many.stories.tsx +0 -288
  67. package/src/stories/ProgressBar.stories.tsx +0 -22
  68. package/src/stories/Reference.stories.tsx +0 -43
  69. package/src/stories/Selection.stories.tsx +0 -34
  70. package/src/stories/Separator.stories.tsx +0 -53
  71. package/src/stories/Text.stories.tsx +0 -35
  72. package/src/stories/Time.stories.tsx +0 -31
  73. package/src/stories/Utils.stories.tsx +0 -14
  74. package/src/stories/containers/Group.stories.tsx +0 -84
  75. package/src/stories/containers/NewLine.stories.tsx +0 -52
  76. package/src/stories/containers/Notebook.stories.tsx +0 -188
  77. package/src/stories/custom/Avatar.stories.tsx +0 -22
  78. package/src/stories/custom/ButtonGroup.stories.tsx +0 -74
  79. package/src/stories/custom/CodeEditor.stories.tsx +0 -25
  80. package/src/stories/custom/Comments.stories.tsx +0 -197
  81. package/src/stories/custom/Indicator.stories.tsx +0 -36
  82. package/src/stories/custom/Markdown.stories.tsx +0 -38
  83. package/src/stories/custom/MultiCheckbox.stories.tsx +0 -60
  84. package/src/stories/custom/Radio.stories.tsx +0 -68
  85. package/src/stories/custom/Steps.stories.tsx +0 -43
  86. package/src/stories/custom/Switch.stories.tsx +0 -23
  87. package/src/stories/custom/Tag.stories.tsx +0 -66
  88. package/src/stories/custom/Tags.stories.tsx +0 -74
  89. package/src/stories/dashboard/Dashboard.stories.tsx +0 -23
  90. package/src/stories/dashboard/DashboardGrid.stories.tsx +0 -43
  91. package/src/stories/forms/ActivacioContracteForm.stories.tsx +0 -25
  92. package/src/stories/forms/Attachment.stories.tsx +0 -24
  93. package/src/stories/forms/CUPSForm.stories.tsx +0 -25
  94. package/src/stories/forms/Company.stories.tsx +0 -25
  95. package/src/stories/forms/CrmCaseForm.stories.tsx +0 -25
  96. package/src/stories/forms/Documents.stories.tsx +0 -25
  97. package/src/stories/forms/FormWithGridFiber.stories.tsx +0 -25
  98. package/src/stories/forms/FormWithLinks.stories.tsx +0 -30
  99. package/src/stories/forms/Lead.stories.tsx +0 -25
  100. package/src/stories/forms/ModContractForm.stories.tsx +0 -26
  101. package/src/stories/forms/PartnersForm.stories.tsx +0 -25
  102. package/src/stories/forms/PolissaForm.stories.tsx +0 -25
  103. package/src/stories/forms/PreferencesForm.stories.tsx +0 -691
  104. package/src/stories/forms/Signatures.stories.tsx +0 -25
  105. package/src/stories/forms/Switching.stories.tsx +0 -25
  106. package/src/stories/graphs/GraphIndicator.stories.tsx +0 -20
  107. package/src/stories/graphs/PieGraph.stories.tsx +0 -78
  108. package/src/stories/mocks/index.ts +0 -46
  109. package/src/stories/mocks/mockProvider.ts +0 -189
  110. package/src/stories/mocks/models/activacioContracte.ts +0 -112
  111. package/src/stories/mocks/models/attachment.ts +0 -1326
  112. package/src/stories/mocks/models/butlleti.ts +0 -296
  113. package/src/stories/mocks/models/company.ts +0 -135
  114. package/src/stories/mocks/models/crm_case.ts +0 -595
  115. package/src/stories/mocks/models/cups.ts +0 -937
  116. package/src/stories/mocks/models/document.ts +0 -223
  117. package/src/stories/mocks/models/factura.ts +0 -2713
  118. package/src/stories/mocks/models/form_with_gridfiber.ts +0 -141
  119. package/src/stories/mocks/models/hist_autoconsum.ts +0 -146
  120. package/src/stories/mocks/models/lead.ts +0 -2101
  121. package/src/stories/mocks/models/modcontractual.ts +0 -952
  122. package/src/stories/mocks/models/partner.ts +0 -1340
  123. package/src/stories/mocks/models/polissa.ts +0 -3127
  124. package/src/stories/mocks/models/res_partner_category.ts +0 -15
  125. package/src/stories/mocks/models/signatura.ts +0 -558
  126. package/src/stories/mocks/models/switching.ts +0 -767
  127. package/src/stories/modals/FormModal.stories.tsx +0 -36
  128. package/src/stories/modals/SearchModal.stories.tsx +0 -37
  129. package/src/stories/trees/FacturesTree.stories.tsx +0 -16
  130. package/src/stories/ui/ActionBar.stories.tsx +0 -21
  131. package/src/stories/ui/FavouriteButton.stories.tsx +0 -16
  132. package/src/stories/ui/GoToResourceModal.stories.tsx +0 -25
  133. package/src/stories/views/ActionView.stories.tsx +0 -28
  134. package/src/stories/views/SearchTree.stories.tsx +0 -1064
  135. package/src/stories/views/Tab.stories.tsx +0 -93
  136. package/src/stories/views/TabsAndContent.stories.tsx +0 -88
  137. package/src/stories/views/Tree.stories.jsx +0 -178
  138. package/src/stories/views/searchFilter/DateRangePicker.stories.tsx +0 -22
  139. package/src/stories/views/searchFilter/DateTimeRangePicker.stories.tsx +0 -23
  140. package/src/stories/views/searchFilter/PairFields.stories.tsx +0 -23
  141. package/src/stories/views/searchFilter/SearchFilter.stories.tsx +0 -165
  142. package/src/stories/views/searchFilter/examples/PartnersSearchFilter.stories.tsx +0 -409
  143. package/src/types/index.ts +0 -392
  144. package/src/ui/ActionErrorDialog.tsx +0 -24
  145. package/src/ui/ConfirmDialog.tsx +0 -28
  146. package/src/ui/ErrorAlert.tsx +0 -37
  147. package/src/ui/FavouriteButton.tsx +0 -271
  148. package/src/ui/FormErrorsDialog.tsx +0 -17
  149. package/src/ui/GenericErrorDialog.tsx +0 -16
  150. package/src/ui/GoToResourceModal.tsx +0 -76
  151. package/src/ui/InfoDialog.tsx +0 -13
  152. package/src/ui/RefreshItemDialog.tsx +0 -29
  153. package/src/ui/RemoveItemDialog.tsx +0 -20
  154. package/src/ui/TitleHeader.tsx +0 -117
  155. package/src/ui/UnlinkItemDialog.tsx +0 -20
  156. package/src/ui/UnsavedChangesDialog.tsx +0 -29
  157. package/src/ui/WarningDialog.tsx +0 -17
  158. package/src/views/ActionView.tsx +0 -526
  159. package/src/views/CurrentTabContent.tsx +0 -21
  160. package/src/views/RootView.tsx +0 -509
  161. package/src/views/TabContent.tsx +0 -31
  162. package/src/views/TabSelector.tsx +0 -31
  163. package/src/views/Welcome.tsx +0 -18
  164. package/src/views/actionViews/DashboardActionView.tsx +0 -52
  165. package/src/views/actionViews/FormActionView.tsx +0 -70
  166. package/src/views/actionViews/GraphActionView.tsx +0 -152
  167. package/src/views/actionViews/TreeActionView.tsx +0 -87
  168. package/src/views/tabs/Tab.tsx +0 -82
  169. package/src/widgets/WidgetFactory.tsx +0 -142
  170. package/src/widgets/base/Binary.tsx +0 -145
  171. package/src/widgets/base/Boolean.tsx +0 -44
  172. package/src/widgets/base/Button.tsx +0 -77
  173. package/src/widgets/base/Char.tsx +0 -157
  174. package/src/widgets/base/Date.tsx +0 -12
  175. package/src/widgets/base/DateTime.tsx +0 -12
  176. package/src/widgets/base/Email.tsx +0 -27
  177. package/src/widgets/base/Float.tsx +0 -38
  178. package/src/widgets/base/FloatTime.tsx +0 -73
  179. package/src/widgets/base/Image.tsx +0 -120
  180. package/src/widgets/base/Integer.tsx +0 -55
  181. package/src/widgets/base/Label.tsx +0 -56
  182. package/src/widgets/base/LinkInput.tsx +0 -106
  183. package/src/widgets/base/MultiSelection.tsx +0 -90
  184. package/src/widgets/base/ProgressBar.tsx +0 -38
  185. package/src/widgets/base/Reference.tsx +0 -115
  186. package/src/widgets/base/ReferenceTree.tsx +0 -62
  187. package/src/widgets/base/Selection.tsx +0 -71
  188. package/src/widgets/base/Separator.tsx +0 -25
  189. package/src/widgets/base/Text.tsx +0 -162
  190. package/src/widgets/base/Time.tsx +0 -40
  191. package/src/widgets/base/Url.tsx +0 -26
  192. package/src/widgets/base/many2one/Many2one.tsx +0 -322
  193. package/src/widgets/base/many2one/Many2oneSuffix.tsx +0 -232
  194. package/src/widgets/base/many2one/Many2oneSuffixModal.tsx +0 -42
  195. package/src/widgets/base/many2one/Many2oneTree.tsx +0 -18
  196. package/src/widgets/base/one2many/One2many.tsx +0 -100
  197. package/src/widgets/base/one2many/One2manyInput.tsx +0 -724
  198. package/src/widgets/base/one2many/One2manyTopBar.tsx +0 -158
  199. package/src/widgets/containers/Container.tsx +0 -99
  200. package/src/widgets/containers/Group.tsx +0 -37
  201. package/src/widgets/containers/Notebook.tsx +0 -52
  202. package/src/widgets/custom/Avatar.tsx +0 -40
  203. package/src/widgets/custom/ButtonGroup.tsx +0 -169
  204. package/src/widgets/custom/CodeEditor.tsx +0 -32
  205. package/src/widgets/custom/Comments.tsx +0 -147
  206. package/src/widgets/custom/FiberGrid.tsx +0 -48
  207. package/src/widgets/custom/Indicator.tsx +0 -66
  208. package/src/widgets/custom/Markdown.tsx +0 -32
  209. package/src/widgets/custom/MultiCheckbox.tsx +0 -165
  210. package/src/widgets/custom/Radio.tsx +0 -47
  211. package/src/widgets/custom/Steps.tsx +0 -56
  212. package/src/widgets/custom/Switch.tsx +0 -26
  213. package/src/widgets/custom/Tag.tsx +0 -53
  214. package/src/widgets/custom/Tags.tsx +0 -164
  215. package/src/widgets/custom/Timeline.tsx +0 -196
  216. package/src/widgets/modals/ExportModal.tsx +0 -75
  217. package/src/widgets/modals/FormModal.tsx +0 -125
  218. package/src/widgets/modals/SearchModal.tsx +0 -130
  219. package/src/widgets/modals/TranslationModal.tsx +0 -202
  220. package/src/widgets/views/Dashboard/Dashboard.tsx +0 -381
  221. package/src/widgets/views/Dashboard/DashboardForm.tsx +0 -30
  222. package/src/widgets/views/Dashboard/DashboardTree.tsx +0 -238
  223. package/src/widgets/views/Dashboard/dashboardHelper.ts +0 -79
  224. package/src/widgets/views/DashboardGrid/DashboardGrid.tsx +0 -53
  225. package/src/widgets/views/DashboardGrid/DashboardGrid.types.ts +0 -4
  226. package/src/widgets/views/DashboardGrid/DashboardGridItem.tsx +0 -62
  227. package/src/widgets/views/DashboardGrid/DashboardGridItem.types.ts +0 -10
  228. package/src/widgets/views/DashboardGrid/index.ts +0 -4
  229. package/src/widgets/views/Form.tsx +0 -1152
  230. package/src/widgets/views/Graph/Graph.tsx +0 -145
  231. package/src/widgets/views/Graph/GraphChart.tsx +0 -113
  232. package/src/widgets/views/Graph/GraphDefaults.ts +0 -170
  233. package/src/widgets/views/Graph/GraphIndicator.tsx +0 -421
  234. package/src/widgets/views/Graph/useGraphData.tsx +0 -176
  235. package/src/widgets/views/SearchTree.tsx +0 -367
  236. package/src/widgets/views/Tree/Tree.tsx +0 -295
  237. package/src/widgets/views/Tree/index.ts +0 -1
  238. package/src/widgets/views/Tree/treeComponents.tsx +0 -283
  239. package/src/widgets/views/searchFilter/DateRangePicker.tsx +0 -16
  240. package/src/widgets/views/searchFilter/DateTimeRangePicker.tsx +0 -87
  241. package/src/widgets/views/searchFilter/PairFields.tsx +0 -56
  242. package/src/widgets/views/searchFilter/SearchBottomBar.tsx +0 -54
  243. package/src/widgets/views/searchFilter/SearchField.tsx +0 -63
  244. package/src/widgets/views/searchFilter/SearchFilter.tsx +0 -160
  245. package/src/widgets/views/searchFilter/SearchParams.tsx +0 -35
@@ -1,1340 +0,0 @@
1
- export default {
2
- model: "res.partner",
3
- exampleValues: {
4
- active: true,
5
- address: [6, 10],
6
- bank_ids: [],
7
- category_id: [
8
- { id: 12, operation: "original" },
9
- { id: 6, operation: "original" },
10
- { id: 13, operation: "original" },
11
- { id: 14, operation: "original" },
12
- { id: 16, operation: "original" },
13
- ],
14
- test_selection: "test_1",
15
- child_ids: [],
16
- cifnif: "NI",
17
- city: "Taiwan",
18
- comercial: false,
19
- comment: false,
20
- country: [218, "Taiwan"],
21
- credit: 1983.71,
22
- credit_limit: false,
23
- customer: true,
24
- date: false,
25
- debit: 77,
26
- debit_limit: false,
27
- ean13: false,
28
- emails: "",
29
- energy_sector: "undefined",
30
- events: [39, 31, 30, 29, 5, 4],
31
- has_debt: 0,
32
- id: 6,
33
- lang: false,
34
- name: "ASUStek",
35
- ov_users_ids: [],
36
- parent_id: [1, "Test"],
37
- payment_type_customer: false,
38
- payment_type_supplier: false,
39
- polisses_ids: [],
40
- property_account_debtor: false,
41
- property_account_payable: [
42
- 480,
43
- "410000 Acreedores por prestaciones de servicios (euros)",
44
- ],
45
- property_account_position: false,
46
- property_account_receivable: [492, "430000 Clientes (euros)"],
47
- property_payment_term: false,
48
- property_product_pricelist: [1, "Public Pricelist (EUR)"],
49
- property_product_pricelist_purchase: [
50
- 8,
51
- "Default Purchase Pricelist (EUR)",
52
- ],
53
- property_stock_customer: [74, "Customers"],
54
- property_stock_supplier: [73, "Suppliers"],
55
- property_switching_xml_encoding: [1, "UTF8"],
56
- ref: "1234",
57
- ref2: false,
58
- ref_companies: [],
59
- representante_id: false,
60
- supplier: true,
61
- title: false,
62
- total_debt: 0,
63
- user_id: [3, "Demo User"],
64
- vat: false,
65
- vat_subjected: false,
66
- website: false,
67
- },
68
- form: {
69
- arch: '<form string="Partners"><field colspan="4" name="property_product_pricelist" /><field colspan="4" name="category_id" nolabel="1" select="2" widget="timeline" widget_props="{\'titleField\':\'id\',\'summaryField\':\'id\'}" summaryField="notes" titleField="id" /><field name="debit" widget="indicator" /><field name="user_id" widget="indicator" widget_props="{\'card\': true}"/><field name="test_selection" widget="indicator" widget_props="{\'card\': true}"/></form>',
70
- x: '<form string="Partners"><field name="parent_id"></form>',
71
- field_parent: false,
72
- fields: {
73
- city: {
74
- string: "city",
75
- type: "char",
76
- },
77
- active: {
78
- string: "Active",
79
- type: "boolean",
80
- views: {},
81
- },
82
- test_selection: {
83
- selection: [
84
- ["test_1", "Test 1"],
85
- ["test_2", "Test 2"],
86
- ],
87
- string: "Test selection",
88
- type: "selection",
89
- views: {},
90
- },
91
- address: {
92
- context: "",
93
- domain: [],
94
- inv_field: "partner_id",
95
- relation: "res.partner.address",
96
- string: "Contacts",
97
- type: "one2many",
98
- views: {},
99
- },
100
- bank_ids: {
101
- context: "",
102
- domain: [],
103
- inv_field: "partner_id",
104
- relation: "res.partner.bank",
105
- string: "Banks",
106
- type: "one2many",
107
- views: {
108
- form: {
109
- arch: '<form string="Bank account">\n <field name="state" select="2"/>\n <newline/>\n <field name="acc_number" on_change="onchange_banco(acc_number, acc_country_id, context)"/>\n <field name="acc_country_id" on_change="onchange_banco(acc_number, acc_country_id, context)"/>\n <newline/>\n <field name="iban" on_change="onchange_iban(iban, context)"/>\n <newline/>\n <field name="printable_iban"/>\n <newline/>\n <newline/>\n <field name="bank"/>\n <newline/>\n <field name="sequence"/>\n <field name="default_bank"/>\n <field colspan="4" name="name" select="2"/>\n <separator colspan="4" string="Bank account owner"/>\n <field colspan="4" name="owner_name" select="2" invisible="1"/>\n <field colspan="4" name="owner_id" required="0"/>\n <field colspan="4" name="street" invisible="1"/>\n <field colspan="4" name="owner_address_id" domain="[(\'partner_id\', \'=\', owner_id)]"/>\n <newline/>\n <field name="zip" invisible="1"/>\n <field name="city" invisible="1"/>\n <newline/>\n <field invisible="1" name="country_id" select="2"/>\n <field name="state_id" select="2" invisible="1"/>\n </form>\n ',
110
- fields: {
111
- acc_country_id: {
112
- context: "",
113
- domain: [],
114
- help: "If the country of the bank is Spain, it validates the bank code. It only reads the digit characters of the bank code:\n- If the number of digits is 18, computes the two digits of control.\n- If the number of digits is 20, computes the two digits of control and ignores the current ones.\n- If the number of digits is different from 18 or 20, it leaves the bank code unaltered.\nThe result is shown in the '1234 5678 06 1234567890' format.",
115
- relation: "res.country",
116
- required: true,
117
- size: 64,
118
- string: "Bank country",
119
- type: "many2one",
120
- views: {},
121
- },
122
- acc_number: {
123
- size: 64,
124
- states: {
125
- bank: [
126
- ["readonly", false],
127
- ["required", true],
128
- ],
129
- iban: [
130
- ["readonly", true],
131
- ["required", false],
132
- ],
133
- },
134
- string: "Account Number",
135
- type: "char",
136
- views: {},
137
- },
138
- bank: {
139
- context: "",
140
- domain: [],
141
- relation: "res.bank",
142
- size: 64,
143
- string: "Bank",
144
- type: "many2one",
145
- views: {},
146
- },
147
- city: {
148
- digits: [16, 2],
149
- readonly: 1,
150
- size: 128,
151
- string: "City",
152
- type: "char",
153
- views: {},
154
- },
155
- country_id: {
156
- context: "",
157
- digits: [16, 2],
158
- domain: [],
159
- readonly: 1,
160
- relation: "res.country",
161
- states: {
162
- bank: [
163
- ["readonly", true],
164
- ["required", false],
165
- ],
166
- iban: [
167
- ["readonly", false],
168
- ["required", false],
169
- ],
170
- },
171
- string: "Country",
172
- type: "many2one",
173
- views: {},
174
- },
175
- default_bank: {
176
- string: "Default",
177
- type: "boolean",
178
- views: {},
179
- },
180
- iban: {
181
- help: "International Bank Account Number",
182
- readonly: true,
183
- size: 34,
184
- states: {
185
- iban: [
186
- ["readonly", false],
187
- ["required", true],
188
- ],
189
- },
190
- string: "IBAN",
191
- type: "char",
192
- views: {},
193
- },
194
- name: {
195
- size: 128,
196
- string: "Description",
197
- type: "char",
198
- views: {},
199
- },
200
- owner_address_id: {
201
- context: "",
202
- domain: [],
203
- relation: "res.partner.address",
204
- select: true,
205
- size: 64,
206
- string: "Owner Address",
207
- type: "many2one",
208
- views: {},
209
- },
210
- owner_id: {
211
- context: "",
212
- domain: [],
213
- help: "If no owner is selected, the related partner will be used as owner",
214
- relation: "res.partner",
215
- required: true,
216
- select: true,
217
- size: 64,
218
- string: "Owner",
219
- type: "many2one",
220
- views: {},
221
- },
222
- owner_name: {
223
- digits: [16, 2],
224
- readonly: 1,
225
- size: 128,
226
- string: "Account Owner",
227
- type: "char",
228
- views: {},
229
- },
230
- printable_iban: {
231
- digits: [16, 2],
232
- help: "Space formated International Bank Account Number",
233
- readonly: 1,
234
- size: 42,
235
- string: "Printable IBAN",
236
- type: "char",
237
- views: {},
238
- },
239
- sequence: {
240
- string: "Sequence",
241
- type: "integer",
242
- views: {},
243
- },
244
- state: {
245
- change_default: true,
246
- required: true,
247
- selection: [
248
- ["bank", "Bank account"],
249
- ["iban", "IBAN Account"],
250
- ],
251
- string: "Bank Type",
252
- type: "selection",
253
- views: {},
254
- },
255
- state_id: {
256
- context: "",
257
- digits: [16, 2],
258
- domain: [],
259
- readonly: 1,
260
- relation: "res.country.state",
261
- string: "State",
262
- type: "many2one",
263
- views: {},
264
- },
265
- street: {
266
- digits: [16, 2],
267
- readonly: 1,
268
- size: 128,
269
- string: "Street",
270
- type: "char",
271
- views: {},
272
- },
273
- zip: {
274
- digits: [16, 2],
275
- readonly: 1,
276
- size: 24,
277
- states: {
278
- iban: [
279
- ["readonly", false],
280
- ["required", false],
281
- ],
282
- },
283
- string: "Zip",
284
- type: "char",
285
- views: {},
286
- },
287
- },
288
- },
289
- tree: {
290
- arch: '<tree string="Bank Details">\n <field name="test"/><field name="test1"/><field name="test2"/><field name="test3"/><field name="test4"/><field name="test5"/><field name="state"/>\n <field name="bank"/>\n <field name="owner_name"/>\n <field name="acc_number"/>\n <field name="iban"/>\n <field name="default_bank"/>\n </tree>\n ',
291
- fields: {
292
- acc_number: {
293
- size: 64,
294
- states: {
295
- bank: [
296
- ["readonly", false],
297
- ["required", true],
298
- ],
299
- iban: [
300
- ["readonly", true],
301
- ["required", false],
302
- ],
303
- },
304
- string: "Account Number",
305
- type: "char",
306
- views: {},
307
- },
308
- bank: {
309
- context: "",
310
- domain: [],
311
- relation: "res.bank",
312
- size: 64,
313
- string: "Bank",
314
- type: "many2one",
315
- views: {},
316
- },
317
- default_bank: {
318
- string: "Default",
319
- type: "boolean",
320
- views: {},
321
- },
322
- iban: {
323
- help: "International Bank Account Number",
324
- readonly: true,
325
- size: 34,
326
- states: {
327
- iban: [
328
- ["readonly", false],
329
- ["required", true],
330
- ],
331
- },
332
- string: "IBAN",
333
- type: "char",
334
- views: {},
335
- },
336
- owner_name: {
337
- digits: [16, 2],
338
- readonly: 1,
339
- size: 128,
340
- string: "Account Owner",
341
- type: "char",
342
- views: {},
343
- },
344
- state: {
345
- change_default: true,
346
- required: true,
347
- selection: [
348
- ["bank", "Bank account"],
349
- ["iban", "IBAN Account"],
350
- ],
351
- string: "Bank Type",
352
- type: "selection",
353
- views: {},
354
- },
355
- },
356
- },
357
- },
358
- },
359
- category_id: {
360
- context: "",
361
- domain: [],
362
- relation: "res.partner.category",
363
- string: "Categories",
364
- type: "many2many",
365
- views: {},
366
- },
367
- comercial: {
368
- select: true,
369
- size: 128,
370
- string: "Trade name",
371
- type: "char",
372
- views: {},
373
- },
374
- comment: {
375
- string: "Notes",
376
- type: "text",
377
- views: {},
378
- },
379
- test: {
380
- string: "Notes",
381
- type: "text",
382
- views: {},
383
- },
384
- test1: {
385
- string: "Notes",
386
- type: "text",
387
- views: {},
388
- },
389
- test2: {
390
- string: "Notes",
391
- type: "text",
392
- views: {},
393
- },
394
- test3: {
395
- string: "Notes",
396
- type: "text",
397
- views: {},
398
- },
399
- test4: {
400
- string: "Notes",
401
- type: "text",
402
- views: {},
403
- },
404
- test5: {
405
- string: "Notes",
406
- type: "text",
407
- views: {},
408
- },
409
- credit: {
410
- digits: [16, 2],
411
- help: "Total amount this customer owes you.",
412
- readonly: 1,
413
- string: "Total Receivable",
414
- type: "float",
415
- views: {},
416
- },
417
- credit_limit: {
418
- string: "Credit Limit",
419
- type: "float",
420
- views: {},
421
- },
422
- customer: {
423
- help: "Check this box if the partner is a customer.",
424
- string: "Customer",
425
- type: "boolean",
426
- views: {},
427
- },
428
- date: {
429
- select: 1,
430
- string: "Date",
431
- type: "date",
432
- views: {},
433
- },
434
- debit: {
435
- digits: [16, 2],
436
- help: "Total amount you have to pay to this supplier.",
437
- readonly: 1,
438
- string: "Total Payable",
439
- type: "float",
440
- views: {},
441
- },
442
- emails: {
443
- digits: [16, 2],
444
- readonly: 1,
445
- string: "Emails",
446
- type: "text",
447
- views: {},
448
- },
449
- energy_sector: {
450
- digits: [16, 2],
451
- readonly: 1,
452
- selection: [
453
- ["electric", "Electric"],
454
- ["gas", "Gas"],
455
- ["elegas", "Electric & Gas"],
456
- ["undefined", "Indefinit"],
457
- ],
458
- string: "Sector d'energía",
459
- type: "selection",
460
- views: {},
461
- },
462
- events: {
463
- context: "",
464
- domain: [],
465
- inv_field: "partner_id",
466
- relation: "res.partner.event",
467
- string: "Events",
468
- type: "one2many",
469
- views: {},
470
- },
471
- has_debt: {
472
- digits: [16, 2],
473
- readonly: 1,
474
- string: "Has debt",
475
- type: "boolean",
476
- views: {},
477
- },
478
- lang: {
479
- help: "If the selected language is loaded in the system, all documents related to this partner will be printed in this language. If not, it will be english.",
480
- selection: [
481
- ["en_US", "English"],
482
- ["ca_ES", "Catalan / Català"],
483
- ["es_ES", "Spanish / Español"],
484
- ["", ""],
485
- ],
486
- size: 5,
487
- string: "Language",
488
- type: "selection",
489
- views: {},
490
- },
491
- name: {
492
- required: true,
493
- select: true,
494
- size: 128,
495
- string: "Name",
496
- type: "char",
497
- views: {},
498
- },
499
- ov_users_ids: {
500
- context: {
501
- active_test: false,
502
- },
503
- domain: [],
504
- inv_field: "partner_id",
505
- relation: "ov.users",
506
- string: "Usuaris Oficina Virtual",
507
- type: "one2many",
508
- views: {},
509
- },
510
- parent_id: {
511
- context: "",
512
- domain: [],
513
- relation: "res.partner",
514
- select: 2,
515
- size: 64,
516
- string: "Main Company",
517
- type: "many2one",
518
- views: {},
519
- },
520
- payment_type_customer: {
521
- context: "",
522
- domain: [],
523
- help: "Payment type of the customer",
524
- relation: "payment.type",
525
- size: 64,
526
- string: "Customer payment type",
527
- type: "many2one",
528
- views: {},
529
- },
530
- payment_type_supplier: {
531
- context: "",
532
- domain: [],
533
- help: "Payment type of the supplier",
534
- relation: "payment.type",
535
- size: 64,
536
- string: "Supplier payment type",
537
- type: "many2one",
538
- views: {},
539
- },
540
- property_account_debtor: {
541
- context: "",
542
- digits: [16, 2],
543
- domain: "[('type', '=', 'receivable')]",
544
- help: "This account will be used as the debtor account for the current partner",
545
- relation: "account.account",
546
- required: true,
547
- string: "Account Debtor",
548
- type: "many2one",
549
- views: {},
550
- },
551
- property_account_payable: {
552
- context: "",
553
- digits: [16, 2],
554
- domain: "[('type', '=', 'payable')]",
555
- help: "This account will be used instead of the default one as the payable account for the current partner",
556
- relation: "account.account",
557
- required: true,
558
- string: "Account Payable",
559
- type: "many2one",
560
- views: {},
561
- },
562
- property_account_position: {
563
- context: "",
564
- digits: [16, 2],
565
- domain: [],
566
- help: "The fiscal position will determine taxes and the accounts used for the the partner.",
567
- relation: "account.fiscal.position",
568
- string: "Fiscal Position",
569
- type: "many2one",
570
- views: {},
571
- },
572
- property_account_receivable: {
573
- context: "",
574
- digits: [16, 2],
575
- domain: "[('type', '=', 'receivable')]",
576
- help: "This account will be used instead of the default one as the receivable account for the current partner",
577
- relation: "account.account",
578
- required: true,
579
- string: "Account Receivable",
580
- type: "many2one",
581
- views: {},
582
- },
583
- property_payment_term: {
584
- context: "",
585
- digits: [16, 2],
586
- domain: [],
587
- help: "This payment term will be used instead of the default one for the current partner",
588
- relation: "account.payment.term",
589
- string: "Payment Term",
590
- type: "many2one",
591
- views: {},
592
- },
593
- property_product_pricelist: {
594
- context: "",
595
- digits: [16, 2],
596
- domain: [["type", "=", "sale"]],
597
- help: "This pricelist will be used, instead of the default one, for sales to the current partner",
598
- relation: "product.pricelist",
599
- string: "Sale Pricelist",
600
- type: "many2one",
601
- views: {},
602
- },
603
- property_product_pricelist_purchase: {
604
- context: "",
605
- digits: [16, 2],
606
- domain: [["type", "=", "purchase"]],
607
- help: "This pricelist will be used, instead of the default one, for purchases from the current partner",
608
- relation: "product.pricelist",
609
- string: "Purchase Pricelist",
610
- type: "many2one",
611
- views: {},
612
- },
613
- property_stock_customer: {
614
- context: "",
615
- digits: [16, 2],
616
- domain: [],
617
- help: "This stock location will be used, instead of the default one, as the destination location for goods you send to this partner",
618
- relation: "stock.location",
619
- string: "Customer Location",
620
- type: "many2one",
621
- views: {},
622
- },
623
- property_stock_supplier: {
624
- context: "",
625
- digits: [16, 2],
626
- domain: [],
627
- help: "This stock location will be used, instead of the default one, as the source location for goods you receive from the current partner",
628
- relation: "stock.location",
629
- string: "Supplier Location",
630
- type: "many2one",
631
- views: {},
632
- },
633
- property_switching_xml_encoding: {
634
- context: "",
635
- digits: [16, 2],
636
- domain: [["name", "!=", false]],
637
- help: "Encoding XML amb el qual es generaran els XML's de switching per aquesta empresa",
638
- relation: "giscedata.switching.xml.encoding",
639
- required: true,
640
- string: "Encoding XML switching",
641
- type: "many2one",
642
- views: {},
643
- },
644
- ref: {
645
- select: true,
646
- size: 64,
647
- string: "Code",
648
- type: "char",
649
- views: {},
650
- },
651
- ref2: {
652
- size: 6,
653
- string: "Ref2",
654
- type: "char",
655
- views: {},
656
- },
657
- representante_id: {
658
- context: "",
659
- domain: [],
660
- relation: "res.partner",
661
- size: 64,
662
- string: "Representante",
663
- type: "many2one",
664
- views: {},
665
- },
666
- supplier: {
667
- help: "Check this box if the partner is a supplier. If it's not checked, purchase people will not see it when encoding a purchase order.",
668
- string: "Supplier",
669
- type: "boolean",
670
- views: {},
671
- },
672
- title: {
673
- selection: [
674
- ["Corp.", "Corp."],
675
- ["ltd", "Ltd"],
676
- ["", ""],
677
- ],
678
- size: 32,
679
- string: "Title",
680
- type: "selection",
681
- views: {},
682
- },
683
- total_debt: {
684
- digits: [16, 2],
685
- help: "Total amount this customer debts you.",
686
- readonly: 1,
687
- string: "Total Debt",
688
- type: "float",
689
- views: {},
690
- },
691
- user_id: {
692
- context: "",
693
- domain: [],
694
- help: "The internal user that is in charge of communicating with this partner if any.",
695
- relation: "res.users",
696
- size: 64,
697
- string: "Dedicated Salesman",
698
- type: "many2one",
699
- views: {},
700
- },
701
- vat: {
702
- help: "Value Added Tax number. Check the box if the partner is subjected to the VAT. Used by the VAT legal statement.",
703
- select: true,
704
- size: 32,
705
- string: "VAT",
706
- type: "char",
707
- views: {},
708
- },
709
- vat_subjected: {
710
- help: "Check this box if the partner is subjected to the VAT. It will be used for the VAT legal statement.",
711
- string: "VAT Legal Statement",
712
- type: "boolean",
713
- views: {},
714
- },
715
- website: {
716
- size: 64,
717
- string: "Website",
718
- type: "char",
719
- views: {},
720
- },
721
- },
722
- model: "res.partner",
723
- name: "res.partner.form",
724
- search_fields: {
725
- primary: [
726
- "name",
727
- "ref",
728
- "emails",
729
- "customer",
730
- "address",
731
- "payment_type_customer",
732
- "vat",
733
- "payment_type_supplier",
734
- "date",
735
- "comercial",
736
- ],
737
- secondary: [
738
- "lang",
739
- "credit_limit",
740
- "user_id",
741
- "bank_ids",
742
- "energy_sector",
743
- "has_debt",
744
- "credit",
745
- "debit",
746
- "active",
747
- "supplier",
748
- "category_id",
749
- ],
750
- },
751
- toolbar: {
752
- action: [
753
- {
754
- auto_refresh: 0,
755
- context: "{'from_model': 'res.partner'}",
756
- domain: false,
757
- groups_id: [],
758
- id: 1495,
759
- limit: 80,
760
- name: "Activar usuari a l'Oficina Virtual",
761
- res_model: "wizard.ov.user.enable",
762
- src_model: false,
763
- string: "Activar usuari a l'Oficina Virtual",
764
- target: "new",
765
- type: "ir.actions.act_window",
766
- usage: false,
767
- view_id: [1637, "wizard.ov.user.enable.form"],
768
- view_ids: [],
769
- view_mode: "tree,form",
770
- view_type: "form",
771
- views: [
772
- [false, "tree"],
773
- [1637, "form"],
774
- ],
775
- },
776
- {
777
- auto_refresh: 0,
778
- context: "{}",
779
- domain: false,
780
- groups_id: [],
781
- id: 397,
782
- limit: 80,
783
- name: "Unificar partners",
784
- res_model: "wizard.unify.partners",
785
- src_model: false,
786
- string: "Unificar partners",
787
- target: "new",
788
- type: "ir.actions.act_window",
789
- usage: false,
790
- view_id: [442, "wizard.unify.partners.form"],
791
- view_ids: [],
792
- view_mode: "tree,form",
793
- view_type: "form",
794
- views: [
795
- [false, "tree"],
796
- [442, "form"],
797
- ],
798
- },
799
- {
800
- groups_id: [],
801
- id: 83,
802
- model: "res.partner",
803
- multi: false,
804
- name: "Mass Mailing",
805
- string: "Mass Mailing",
806
- type: "ir.actions.wizard",
807
- usage: false,
808
- wiz_name: "res.partner.spam_send",
809
- },
810
- {
811
- groups_id: [],
812
- id: 82,
813
- model: "res.partner",
814
- multi: false,
815
- name: "Send SMS",
816
- string: "Send SMS",
817
- type: "ir.actions.wizard",
818
- usage: false,
819
- wiz_name: "res.partner.sms_send",
820
- },
821
- {
822
- auto_refresh: 0,
823
- context: "{}",
824
- domain: "[('id','in',active_ids)]",
825
- groups_id: [],
826
- id: 77,
827
- limit: 80,
828
- name: "Company Architecture",
829
- res_model: "res.partner",
830
- src_model: false,
831
- string: "Company Architecture",
832
- target: "current",
833
- type: "ir.actions.act_window",
834
- usage: false,
835
- view_id: [103, "res.partner.tree"],
836
- view_ids: [],
837
- view_mode: "tree,form",
838
- view_type: "tree",
839
- views: [
840
- [103, "tree"],
841
- [97, "form"],
842
- ],
843
- },
844
- {
845
- auto_refresh: 0,
846
- context: "{'from_model': 'res.partner'}",
847
- domain: false,
848
- groups_id: [],
849
- id: 1496,
850
- limit: 80,
851
- name: "Canviar contrasenya usuari d'Oficina Virtual",
852
- res_model: "wizard.ov.change.user.password",
853
- src_model: false,
854
- string: "Canviar contrasenya usuari d'Oficina Virtual",
855
- target: "new",
856
- type: "ir.actions.act_window",
857
- usage: false,
858
- view_id: [1638, "wizard.ov.change.user.password.form"],
859
- view_ids: [],
860
- view_mode: "tree,form",
861
- view_type: "form",
862
- views: [
863
- [false, "tree"],
864
- [1638, "form"],
865
- ],
866
- },
867
- ],
868
- print: [
869
- {
870
- attachment: false,
871
- attachment_use: false,
872
- auto: false,
873
- context: "{}",
874
- groups_id: [],
875
- header: true,
876
- id: 222,
877
- jasper_file_ids: [],
878
- jasper_model_id: false,
879
- jasper_output: false,
880
- jasper_report: false,
881
- model: "res.partner",
882
- multi: false,
883
- name: "Overdue Payments",
884
- report_name: "account.overdue",
885
- report_type: "pdf",
886
- report_webkit: false,
887
- report_webkit_data: false,
888
- report_xml: false,
889
- report_xsl: false,
890
- signature_in_coordinates: false,
891
- string: "Overdue Payments",
892
- type: "ir.actions.report.xml",
893
- usage: false,
894
- webkit_debug: false,
895
- webkit_flags: false,
896
- webkit_header: [1, "Base Sample"],
897
- webkit_sign: false,
898
- },
899
- {
900
- attachment: false,
901
- attachment_use: false,
902
- auto: true,
903
- context: "{}",
904
- groups_id: [],
905
- header: false,
906
- id: 404,
907
- jasper_file_ids: [],
908
- jasper_model_id: false,
909
- jasper_output: false,
910
- jasper_report: false,
911
- model: "res.partner",
912
- multi: false,
913
- name: "Jasper Partners",
914
- report_name: "res.partner.jaspertest",
915
- report_type: "pdf",
916
- report_webkit: false,
917
- report_webkit_data: false,
918
- report_xml: false,
919
- report_xsl: false,
920
- signature_in_coordinates: false,
921
- string: "Jasper Partners",
922
- type: "ir.actions.report.xml",
923
- usage: false,
924
- webkit_debug: false,
925
- webkit_flags: false,
926
- webkit_header: [1, "Base Sample"],
927
- webkit_sign: false,
928
- },
929
- {
930
- attachment: false,
931
- attachment_use: false,
932
- auto: true,
933
- context: "{}",
934
- groups_id: [],
935
- header: true,
936
- id: 64,
937
- jasper_file_ids: [],
938
- jasper_model_id: false,
939
- jasper_output: false,
940
- jasper_report: false,
941
- model: "res.partner",
942
- multi: false,
943
- name: "Labels",
944
- report_name: "res.partner.address",
945
- report_type: "pdf",
946
- report_webkit: false,
947
- report_webkit_data: false,
948
- report_xml: "base/res/partner/report/partner_address.xml",
949
- report_xsl: "base/res/partner/report/partner_address.xsl",
950
- signature_in_coordinates: false,
951
- string: "Labels",
952
- type: "ir.actions.report.xml",
953
- usage: false,
954
- webkit_debug: false,
955
- webkit_flags: false,
956
- webkit_header: [1, "Base Sample"],
957
- webkit_sign: false,
958
- },
959
- ],
960
- relate: [
961
- {
962
- auto_refresh: 0,
963
- context: "{'partner_id': 'active_id'}",
964
- domain: "[('partner_id', '=', active_id)]",
965
- groups_id: [],
966
- id: 949,
967
- limit: 0,
968
- name: "Purchase orders",
969
- res_model: "purchase.order",
970
- src_model: "res.partner",
971
- string: "Purchase orders",
972
- target: "current",
973
- type: "ir.actions.act_window",
974
- usage: "",
975
- view_id: false,
976
- view_ids: [],
977
- view_mode: "tree,form",
978
- view_type: "form",
979
- views: [
980
- [1058, "tree"],
981
- [1057, "form"],
982
- ],
983
- },
984
- {
985
- auto_refresh: 0,
986
- context: "{}",
987
- domain: "[('altre_p', '=', active_id)]",
988
- groups_id: [],
989
- id: 2185,
990
- limit: 80,
991
- name: "Gas: Como Notificación de Gas",
992
- res_model: "giscegas.polissa",
993
- src_model: "res.partner",
994
- string: "Gas: Como Notificación de Gas",
995
- target: "current",
996
- type: "ir.actions.act_window",
997
- usage: false,
998
- view_id: false,
999
- view_ids: [],
1000
- view_mode: "tree,form",
1001
- view_type: "form",
1002
- views: [
1003
- [2562, "tree"],
1004
- [2561, "form"],
1005
- ],
1006
- },
1007
- {
1008
- auto_refresh: 0,
1009
- context: "{}",
1010
- domain: "[('pagador', '=', active_id)]",
1011
- groups_id: [],
1012
- id: 2184,
1013
- limit: 80,
1014
- name: "Gas: Como Pagador de Gas",
1015
- res_model: "giscegas.polissa",
1016
- src_model: "res.partner",
1017
- string: "Gas: Como Pagador de Gas",
1018
- target: "current",
1019
- type: "ir.actions.act_window",
1020
- usage: false,
1021
- view_id: false,
1022
- view_ids: [],
1023
- view_mode: "tree,form",
1024
- view_type: "form",
1025
- views: [
1026
- [2562, "tree"],
1027
- [2561, "form"],
1028
- ],
1029
- },
1030
- {
1031
- auto_refresh: 0,
1032
- context: "{}",
1033
- domain: "[('titular', '=', active_id)]",
1034
- groups_id: [],
1035
- id: 2183,
1036
- limit: 80,
1037
- name: "Gas: Como Titular de Gas",
1038
- res_model: "giscegas.polissa",
1039
- src_model: "res.partner",
1040
- string: "Gas: Como Titular de Gas",
1041
- target: "current",
1042
- type: "ir.actions.act_window",
1043
- usage: false,
1044
- view_id: false,
1045
- view_ids: [],
1046
- view_mode: "tree,form",
1047
- view_type: "form",
1048
- views: [
1049
- [2562, "tree"],
1050
- [2561, "form"],
1051
- ],
1052
- },
1053
- {
1054
- auto_refresh: 0,
1055
- context: "{}",
1056
- domain: "[('altre_p', '=', active_id)]",
1057
- groups_id: [],
1058
- id: 431,
1059
- limit: 80,
1060
- name: "Como Notificación",
1061
- res_model: "giscedata.polissa",
1062
- src_model: "res.partner",
1063
- string: "Como Notificación",
1064
- target: "current",
1065
- type: "ir.actions.act_window",
1066
- usage: false,
1067
- view_id: false,
1068
- view_ids: [],
1069
- view_mode: "tree,form",
1070
- view_type: "form",
1071
- views: [
1072
- [480, "tree"],
1073
- [479, "form"],
1074
- ],
1075
- },
1076
- {
1077
- auto_refresh: 0,
1078
- context: "{}",
1079
- domain: "[('pagador', '=', active_id)]",
1080
- groups_id: [],
1081
- id: 430,
1082
- limit: 80,
1083
- name: "Como Pagador",
1084
- res_model: "giscedata.polissa",
1085
- src_model: "res.partner",
1086
- string: "Como Pagador",
1087
- target: "current",
1088
- type: "ir.actions.act_window",
1089
- usage: false,
1090
- view_id: false,
1091
- view_ids: [],
1092
- view_mode: "tree,form",
1093
- view_type: "form",
1094
- views: [
1095
- [480, "tree"],
1096
- [479, "form"],
1097
- ],
1098
- },
1099
- {
1100
- auto_refresh: 0,
1101
- context: "{}",
1102
- domain: "[('titular', '=', active_id)]",
1103
- groups_id: [],
1104
- id: 429,
1105
- limit: 80,
1106
- name: "Como Titular",
1107
- res_model: "giscedata.polissa",
1108
- src_model: "res.partner",
1109
- string: "Como Titular",
1110
- target: "current",
1111
- type: "ir.actions.act_window",
1112
- usage: false,
1113
- view_id: false,
1114
- view_ids: [],
1115
- view_mode: "tree,form",
1116
- view_type: "form",
1117
- views: [
1118
- [480, "tree"],
1119
- [479, "form"],
1120
- ],
1121
- },
1122
- {
1123
- auto_refresh: 0,
1124
- context: "{}",
1125
- domain: "[('partner_id','=',active_id)]",
1126
- groups_id: [],
1127
- id: 210,
1128
- limit: 0,
1129
- name: "Invoices",
1130
- res_model: "account.invoice",
1131
- src_model: "res.partner",
1132
- string: "Invoices",
1133
- target: "current",
1134
- type: "ir.actions.act_window",
1135
- usage: "",
1136
- view_id: false,
1137
- view_ids: [37, 38],
1138
- view_mode: "tree,form",
1139
- view_type: "form",
1140
- views: [
1141
- [false, "tree"],
1142
- [225, "form"],
1143
- ],
1144
- },
1145
- {
1146
- auto_refresh: 0,
1147
- context: "{}",
1148
- domain:
1149
- "[('partner_id', '=', active_id), ('account_id.code', 'in', ['430000000000', '431500000000'])]",
1150
- groups_id: [],
1151
- id: 183,
1152
- limit: 0,
1153
- name: "Customer Entries",
1154
- res_model: "account.move.line",
1155
- src_model: "res.partner",
1156
- string: "Customer Entries",
1157
- target: "current",
1158
- type: "ir.actions.act_window",
1159
- usage: "",
1160
- view_id: false,
1161
- view_ids: [],
1162
- view_mode: "tree,form",
1163
- view_type: "form",
1164
- views: [
1165
- [462, "tree"],
1166
- [185, "form"],
1167
- ],
1168
- },
1169
- {
1170
- auto_refresh: 0,
1171
- context: "{}",
1172
- domain: "[('partner_id', '=', active_id)]",
1173
- groups_id: [],
1174
- id: 182,
1175
- limit: 0,
1176
- name: "All Account Entries",
1177
- res_model: "account.move.line",
1178
- src_model: "res.partner",
1179
- string: "All Account Entries",
1180
- target: "current",
1181
- type: "ir.actions.act_window",
1182
- usage: "",
1183
- view_id: false,
1184
- view_ids: [],
1185
- view_mode: "tree,form",
1186
- view_type: "form",
1187
- views: [
1188
- [462, "tree"],
1189
- [185, "form"],
1190
- ],
1191
- },
1192
- {
1193
- auto_refresh: 0,
1194
- context: "{}",
1195
- domain:
1196
- "[('partner_id', '=', active_id), ('account_id.type', 'in', ['receivable', 'payable'])]",
1197
- groups_id: [],
1198
- id: 181,
1199
- limit: 0,
1200
- name: "All Receivables & Payables",
1201
- res_model: "account.move.line",
1202
- src_model: "res.partner",
1203
- string: "All Receivables & Payables",
1204
- target: "current",
1205
- type: "ir.actions.act_window",
1206
- usage: "",
1207
- view_id: false,
1208
- view_ids: [],
1209
- view_mode: "tree,form",
1210
- view_type: "form",
1211
- views: [
1212
- [462, "tree"],
1213
- [185, "form"],
1214
- ],
1215
- },
1216
- {
1217
- auto_refresh: 0,
1218
- context: "{}",
1219
- domain:
1220
- "[('partner_id', '=', active_id), ('account_id.type', 'in', ['receivable', 'payable']), ('reconcile_id','=',False)]",
1221
- groups_id: [],
1222
- id: 180,
1223
- limit: 0,
1224
- name: "Unreconciled Receivables & Payables",
1225
- res_model: "account.move.line",
1226
- src_model: "res.partner",
1227
- string: "Unreconciled Receivables & Payables",
1228
- target: "current",
1229
- type: "ir.actions.act_window",
1230
- usage: "",
1231
- view_id: false,
1232
- view_ids: [],
1233
- view_mode: "tree,form",
1234
- view_type: "form",
1235
- views: [
1236
- [462, "tree"],
1237
- [185, "form"],
1238
- ],
1239
- },
1240
- {
1241
- auto_refresh: 0,
1242
- context: "{}",
1243
- domain: "[('partner_id', '=', active_id)]",
1244
- groups_id: [],
1245
- id: 81,
1246
- limit: 0,
1247
- name: "Events",
1248
- res_model: "res.partner.event",
1249
- src_model: "res.partner",
1250
- string: "Events",
1251
- target: "current",
1252
- type: "ir.actions.act_window",
1253
- usage: "",
1254
- view_id: false,
1255
- view_ids: [],
1256
- view_mode: "tree,form",
1257
- view_type: "form",
1258
- views: [
1259
- [121, "tree"],
1260
- [120, "form"],
1261
- ],
1262
- },
1263
- {
1264
- auto_refresh: 0,
1265
- context: "{}",
1266
- domain: "[('partner_id', '=', active_id)]",
1267
- groups_id: [],
1268
- id: 1487,
1269
- limit: 0,
1270
- name: "All cases",
1271
- res_model: "crm.case",
1272
- src_model: "res.partner",
1273
- string: "All cases",
1274
- target: "current",
1275
- type: "ir.actions.act_window",
1276
- usage: "",
1277
- view_id: false,
1278
- view_ids: [],
1279
- view_mode: "tree,form,calendar",
1280
- view_type: "form",
1281
- views: [
1282
- [1623, "tree"],
1283
- [1624, "form"],
1284
- [1891, "calendar"],
1285
- ],
1286
- },
1287
- {
1288
- auto_refresh: 0,
1289
- context: "{}",
1290
- domain:
1291
- "[('partner_id', '=', active_id),('state','<>','done'),('state','<>','cancel'),('state','<>','pending')]",
1292
- groups_id: [],
1293
- id: 1486,
1294
- limit: 0,
1295
- name: "Open cases",
1296
- res_model: "crm.case",
1297
- src_model: "res.partner",
1298
- string: "Open cases",
1299
- target: "current",
1300
- type: "ir.actions.act_window",
1301
- usage: "",
1302
- view_id: false,
1303
- view_ids: [],
1304
- view_mode: "tree,form,calendar",
1305
- view_type: "form",
1306
- views: [
1307
- [1623, "tree"],
1308
- [1624, "form"],
1309
- [1891, "calendar"],
1310
- ],
1311
- },
1312
- {
1313
- auto_refresh: 0,
1314
- context: "{}",
1315
- domain: "[('id', '=', active_id)]",
1316
- groups_id: [],
1317
- id: -1,
1318
- limit: 0,
1319
- name: "Partner",
1320
- res_model: "res.partner",
1321
- src_model: "res.partner",
1322
- string: "Partner",
1323
- target: "current",
1324
- type: "ir.actions.act_window",
1325
- usage: "",
1326
- view_id: false,
1327
- view_ids: [],
1328
- view_mode: "tree,form",
1329
- view_type: "form",
1330
- views: [
1331
- [false, "tree"],
1332
- [false, "form"],
1333
- ],
1334
- },
1335
- ],
1336
- },
1337
- type: "tree",
1338
- view_id: 96,
1339
- },
1340
- };