@gisce/react-ooui 2.0.0-alpha.2 → 2.0.0-alpha.21
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.
- package/dist/ConnectionProvider.d.ts +7 -0
- package/dist/ConnectionProvider.d.ts.map +1 -0
- package/dist/actionbar/ActionButton.d.ts +12 -0
- package/dist/actionbar/ActionButton.d.ts.map +1 -0
- package/dist/actionbar/AttachmentsButton.d.ts +11 -0
- package/dist/actionbar/AttachmentsButton.d.ts.map +1 -0
- package/dist/actionbar/AttachmentsButtonWrapper.d.ts +18 -0
- package/dist/actionbar/AttachmentsButtonWrapper.d.ts.map +1 -0
- package/dist/actionbar/ButtonWithBadge.d.ts +7 -0
- package/dist/actionbar/ButtonWithBadge.d.ts.map +1 -0
- package/dist/actionbar/ChangeViewButton.d.ts +12 -0
- package/dist/actionbar/ChangeViewButton.d.ts.map +1 -0
- package/dist/actionbar/DashboardActionBar.d.ts +3 -0
- package/dist/actionbar/DashboardActionBar.d.ts.map +1 -0
- package/dist/actionbar/DropdownButton.d.ts +11 -0
- package/dist/actionbar/DropdownButton.d.ts.map +1 -0
- package/dist/actionbar/FormActionBar.d.ts +5 -0
- package/dist/actionbar/FormActionBar.d.ts.map +1 -0
- package/dist/actionbar/GraphActionBar.d.ts +5 -0
- package/dist/actionbar/GraphActionBar.d.ts.map +1 -0
- package/dist/actionbar/NewButton.d.ts +6 -0
- package/dist/actionbar/NewButton.d.ts.map +1 -0
- package/dist/actionbar/SearchBar.d.ts +8 -0
- package/dist/actionbar/SearchBar.d.ts.map +1 -0
- package/dist/actionbar/TreeActionBar.d.ts +8 -0
- package/dist/actionbar/TreeActionBar.d.ts.map +1 -0
- package/dist/common/ButtonWithTooltip.d.ts +7 -0
- package/dist/common/ButtonWithTooltip.d.ts.map +1 -0
- package/dist/common/DatePicker.d.ts +19 -0
- package/dist/common/DatePicker.d.ts.map +1 -0
- package/dist/common/Field.d.ts +14 -0
- package/dist/common/Field.d.ts.map +1 -0
- package/dist/common/SelectAllRecordsRow.d.ts +9 -0
- package/dist/common/SelectAllRecordsRow.d.ts.map +1 -0
- package/dist/context/ActionViewContext.d.ts +65 -0
- package/dist/context/ActionViewContext.d.ts.map +1 -0
- package/dist/context/ConfigContext.d.ts +7 -0
- package/dist/context/ConfigContext.d.ts.map +1 -0
- package/dist/context/ContentRootContext.d.ts +19 -0
- package/dist/context/ContentRootContext.d.ts.map +1 -0
- package/dist/context/DashboardActionContext.d.ts +19 -0
- package/dist/context/DashboardActionContext.d.ts.map +1 -0
- package/dist/context/FormContext.d.ts +35 -0
- package/dist/context/FormContext.d.ts.map +1 -0
- package/dist/context/FormModalContext.d.ts +11 -0
- package/dist/context/FormModalContext.d.ts.map +1 -0
- package/dist/context/LocaleContext.d.ts +14 -0
- package/dist/context/LocaleContext.d.ts.map +1 -0
- package/dist/context/One2manyContext.d.ts +17 -0
- package/dist/context/One2manyContext.d.ts.map +1 -0
- package/dist/context/TabManagerContext.d.ts +50 -0
- package/dist/context/TabManagerContext.d.ts.map +1 -0
- package/dist/helpers/containerHelper.d.ts +22 -0
- package/dist/helpers/containerHelper.d.ts.map +1 -0
- package/dist/helpers/dynamicColumnsHelper.d.ts +16 -0
- package/dist/helpers/dynamicColumnsHelper.d.ts.map +1 -0
- package/dist/helpers/errorHelper.d.ts +6 -0
- package/dist/helpers/errorHelper.d.ts.map +1 -0
- package/dist/helpers/filesHelper.d.ts +8 -0
- package/dist/helpers/filesHelper.d.ts.map +1 -0
- package/dist/helpers/formHelper.d.ts +36 -0
- package/dist/helpers/formHelper.d.ts.map +1 -0
- package/dist/helpers/iconMapper.d.ts +13 -0
- package/dist/helpers/iconMapper.d.ts.map +1 -0
- package/dist/helpers/logInfoHelper.d.ts +3 -0
- package/dist/helpers/logInfoHelper.d.ts.map +1 -0
- package/dist/helpers/one2manyHelper.d.ts +37 -0
- package/dist/helpers/one2manyHelper.d.ts.map +1 -0
- package/dist/helpers/searchHelper.d.ts +6 -0
- package/dist/helpers/searchHelper.d.ts.map +1 -0
- package/dist/helpers/timeHelper.d.ts +4 -0
- package/dist/helpers/timeHelper.d.ts.map +1 -0
- package/dist/helpers/treeHelper.d.ts +23 -0
- package/dist/helpers/treeHelper.d.ts.map +1 -0
- package/dist/helpers/viewHelper.d.ts +10 -0
- package/dist/helpers/viewHelper.d.ts.map +1 -0
- package/dist/hooks/useEffectDebugger.d.ts +3 -0
- package/dist/hooks/useEffectDebugger.d.ts.map +1 -0
- package/dist/hooks/useExport.d.ts +44 -0
- package/dist/hooks/useExport.d.ts.map +1 -0
- package/dist/hooks/useFetchViews.d.ts +1 -0
- package/dist/hooks/useFetchViews.d.ts.map +1 -0
- package/dist/hooks/useSearch.d.ts +56 -0
- package/dist/hooks/useSearch.d.ts.map +1 -0
- package/dist/hooks/useWindowDimensions.d.ts +7 -0
- package/dist/hooks/useWindowDimensions.d.ts.map +1 -0
- package/dist/index.d.ts +59 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/locales/ca_ES.d.ts +93 -0
- package/dist/locales/ca_ES.d.ts.map +1 -0
- package/dist/locales/en_US.d.ts +93 -0
- package/dist/locales/en_US.d.ts.map +1 -0
- package/dist/locales/es_ES.d.ts +93 -0
- package/dist/locales/es_ES.d.ts.map +1 -0
- package/dist/react-ooui.es.js +9836 -0
- package/dist/react-ooui.es.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types/index.d.ts +257 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/ui/ActionErrorDialog.d.ts +3 -0
- package/dist/ui/ActionErrorDialog.d.ts.map +1 -0
- package/dist/ui/ConfirmDialog.d.ts +7 -0
- package/dist/ui/ConfirmDialog.d.ts.map +1 -0
- package/dist/ui/ErrorAlert.d.ts +5 -0
- package/dist/ui/ErrorAlert.d.ts.map +1 -0
- package/dist/ui/FavouriteButton.d.ts +25 -0
- package/dist/ui/FavouriteButton.d.ts.map +1 -0
- package/dist/ui/FormErrorsDialog.d.ts +3 -0
- package/dist/ui/FormErrorsDialog.d.ts.map +1 -0
- package/dist/ui/GenericErrorDialog.d.ts +3 -0
- package/dist/ui/GenericErrorDialog.d.ts.map +1 -0
- package/dist/ui/GoToResourceModal.d.ts +9 -0
- package/dist/ui/GoToResourceModal.d.ts.map +1 -0
- package/dist/ui/InfoDialog.d.ts +3 -0
- package/dist/ui/InfoDialog.d.ts.map +1 -0
- package/dist/ui/RefreshItemDialog.d.ts +7 -0
- package/dist/ui/RefreshItemDialog.d.ts.map +1 -0
- package/dist/ui/RemoveItemDialog.d.ts +6 -0
- package/dist/ui/RemoveItemDialog.d.ts.map +1 -0
- package/dist/ui/TitleHeader.d.ts +7 -0
- package/dist/ui/TitleHeader.d.ts.map +1 -0
- package/dist/ui/UnlinkItemDialog.d.ts +6 -0
- package/dist/ui/UnlinkItemDialog.d.ts.map +1 -0
- package/dist/ui/UnsavedChangesDialog.d.ts +7 -0
- package/dist/ui/UnsavedChangesDialog.d.ts.map +1 -0
- package/dist/ui/WarningDialog.d.ts +3 -0
- package/dist/ui/WarningDialog.d.ts.map +1 -0
- package/dist/views/ActionView.d.ts +22 -0
- package/dist/views/ActionView.d.ts.map +1 -0
- package/dist/views/CurrentTabContent.d.ts +3 -0
- package/dist/views/CurrentTabContent.d.ts.map +1 -0
- package/dist/views/RootView.d.ts +14 -0
- package/dist/views/RootView.d.ts.map +1 -0
- package/dist/views/TabContent.d.ts +8 -0
- package/dist/views/TabContent.d.ts.map +1 -0
- package/dist/views/TabSelector.d.ts +3 -0
- package/dist/views/TabSelector.d.ts.map +1 -0
- package/dist/views/Welcome.d.ts +4 -0
- package/dist/views/Welcome.d.ts.map +1 -0
- package/dist/views/actionViews/DashboardActionView.d.ts +6 -0
- package/dist/views/actionViews/DashboardActionView.d.ts.map +1 -0
- package/dist/views/actionViews/FormActionView.d.ts +17 -0
- package/dist/views/actionViews/FormActionView.d.ts.map +1 -0
- package/dist/views/actionViews/GraphActionView.d.ts +12 -0
- package/dist/views/actionViews/GraphActionView.d.ts.map +1 -0
- package/dist/views/actionViews/TreeActionView.d.ts +19 -0
- package/dist/views/actionViews/TreeActionView.d.ts.map +1 -0
- package/dist/views/tabs/Tab.d.ts +10 -0
- package/dist/views/tabs/Tab.d.ts.map +1 -0
- package/dist/widgets/WidgetFactory.d.ts +4 -0
- package/dist/widgets/WidgetFactory.d.ts.map +1 -0
- package/dist/widgets/base/Binary.d.ts +13 -0
- package/dist/widgets/base/Binary.d.ts.map +1 -0
- package/dist/widgets/base/Boolean.d.ts +3 -0
- package/dist/widgets/base/Boolean.d.ts.map +1 -0
- package/dist/widgets/base/Button.d.ts +7 -0
- package/dist/widgets/base/Button.d.ts.map +1 -0
- package/dist/widgets/base/Char.d.ts +7 -0
- package/dist/widgets/base/Char.d.ts.map +1 -0
- package/dist/widgets/base/Date.d.ts +4 -0
- package/dist/widgets/base/Date.d.ts.map +1 -0
- package/dist/widgets/base/DateTime.d.ts +4 -0
- package/dist/widgets/base/DateTime.d.ts.map +1 -0
- package/dist/widgets/base/Email.d.ts +3 -0
- package/dist/widgets/base/Email.d.ts.map +1 -0
- package/dist/widgets/base/Float.d.ts +3 -0
- package/dist/widgets/base/Float.d.ts.map +1 -0
- package/dist/widgets/base/FloatTime.d.ts +12 -0
- package/dist/widgets/base/FloatTime.d.ts.map +1 -0
- package/dist/widgets/base/Image.d.ts +13 -0
- package/dist/widgets/base/Image.d.ts.map +1 -0
- package/dist/widgets/base/Integer.d.ts +7 -0
- package/dist/widgets/base/Integer.d.ts.map +1 -0
- package/dist/widgets/base/Label.d.ts +8 -0
- package/dist/widgets/base/Label.d.ts.map +1 -0
- package/dist/widgets/base/LinkInput.d.ts +11 -0
- package/dist/widgets/base/LinkInput.d.ts.map +1 -0
- package/dist/widgets/base/MultiSelection.d.ts +9 -0
- package/dist/widgets/base/MultiSelection.d.ts.map +1 -0
- package/dist/widgets/base/ProgressBar.d.ts +6 -0
- package/dist/widgets/base/ProgressBar.d.ts.map +1 -0
- package/dist/widgets/base/Reference.d.ts +16 -0
- package/dist/widgets/base/Reference.d.ts.map +1 -0
- package/dist/widgets/base/ReferenceTree.d.ts +8 -0
- package/dist/widgets/base/ReferenceTree.d.ts.map +1 -0
- package/dist/widgets/base/Selection.d.ts +9 -0
- package/dist/widgets/base/Selection.d.ts.map +1 -0
- package/dist/widgets/base/Separator.d.ts +7 -0
- package/dist/widgets/base/Separator.d.ts.map +1 -0
- package/dist/widgets/base/Text.d.ts +7 -0
- package/dist/widgets/base/Text.d.ts.map +1 -0
- package/dist/widgets/base/Time.d.ts +11 -0
- package/dist/widgets/base/Time.d.ts.map +1 -0
- package/dist/widgets/base/Url.d.ts +3 -0
- package/dist/widgets/base/Url.d.ts.map +1 -0
- package/dist/widgets/base/many2one/Many2one.d.ts +16 -0
- package/dist/widgets/base/many2one/Many2one.d.ts.map +1 -0
- package/dist/widgets/base/many2one/Many2oneSuffix.d.ts +8 -0
- package/dist/widgets/base/many2one/Many2oneSuffix.d.ts.map +1 -0
- package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts +9 -0
- package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts.map +1 -0
- package/dist/widgets/base/many2one/Many2oneTree.d.ts +6 -0
- package/dist/widgets/base/many2one/Many2oneTree.d.ts.map +1 -0
- package/dist/widgets/base/one2many/One2many.d.ts +7 -0
- package/dist/widgets/base/one2many/One2many.d.ts.map +1 -0
- package/dist/widgets/base/one2many/One2manyInput.d.ts +23 -0
- package/dist/widgets/base/one2many/One2manyInput.d.ts.map +1 -0
- package/dist/widgets/base/one2many/One2manyTopBar.d.ts +22 -0
- package/dist/widgets/base/one2many/One2manyTopBar.d.ts.map +1 -0
- package/dist/widgets/containers/Container.d.ts +9 -0
- package/dist/widgets/containers/Container.d.ts.map +1 -0
- package/dist/widgets/containers/Group.d.ts +10 -0
- package/dist/widgets/containers/Group.d.ts.map +1 -0
- package/dist/widgets/containers/Notebook.d.ts +9 -0
- package/dist/widgets/containers/Notebook.d.ts.map +1 -0
- package/dist/widgets/custom/Avatar.d.ts +10 -0
- package/dist/widgets/custom/Avatar.d.ts.map +1 -0
- package/dist/widgets/custom/ButtonGroup.d.ts +7 -0
- package/dist/widgets/custom/ButtonGroup.d.ts.map +1 -0
- package/dist/widgets/custom/CodeEditor.d.ts +8 -0
- package/dist/widgets/custom/CodeEditor.d.ts.map +1 -0
- package/dist/widgets/custom/Comments.d.ts +34 -0
- package/dist/widgets/custom/Comments.d.ts.map +1 -0
- package/dist/widgets/custom/FiberGrid.d.ts +9 -0
- package/dist/widgets/custom/FiberGrid.d.ts.map +1 -0
- package/dist/widgets/custom/Indicator.d.ts +9 -0
- package/dist/widgets/custom/Indicator.d.ts.map +1 -0
- package/dist/widgets/custom/Markdown.d.ts +4 -0
- package/dist/widgets/custom/Markdown.d.ts.map +1 -0
- package/dist/widgets/custom/MultiCheckbox.d.ts +13 -0
- package/dist/widgets/custom/MultiCheckbox.d.ts.map +1 -0
- package/dist/widgets/custom/Radio.d.ts +9 -0
- package/dist/widgets/custom/Radio.d.ts.map +1 -0
- package/dist/widgets/custom/Steps.d.ts +12 -0
- package/dist/widgets/custom/Steps.d.ts.map +1 -0
- package/dist/widgets/custom/Switch.d.ts +3 -0
- package/dist/widgets/custom/Switch.d.ts.map +1 -0
- package/dist/widgets/custom/Tag.d.ts +6 -0
- package/dist/widgets/custom/Tag.d.ts.map +1 -0
- package/dist/widgets/custom/Tags.d.ts +14 -0
- package/dist/widgets/custom/Tags.d.ts.map +1 -0
- package/dist/widgets/custom/Timeline.d.ts +15 -0
- package/dist/widgets/custom/Timeline.d.ts.map +1 -0
- package/dist/widgets/modals/ExportModal.d.ts +14 -0
- package/dist/widgets/modals/ExportModal.d.ts.map +1 -0
- package/dist/widgets/modals/FormModal.d.ts +11 -0
- package/dist/widgets/modals/FormModal.d.ts.map +1 -0
- package/dist/widgets/modals/SearchModal.d.ts +12 -0
- package/dist/widgets/modals/SearchModal.d.ts.map +1 -0
- package/dist/widgets/modals/TranslationModal.d.ts +11 -0
- package/dist/widgets/modals/TranslationModal.d.ts.map +1 -0
- package/dist/widgets/views/Dashboard/Dashboard.d.ts +5 -0
- package/dist/widgets/views/Dashboard/Dashboard.d.ts.map +1 -0
- package/dist/widgets/views/Dashboard/DashboardForm.d.ts +3 -0
- package/dist/widgets/views/Dashboard/DashboardForm.d.ts.map +1 -0
- package/dist/widgets/views/Dashboard/DashboardTree.d.ts +18 -0
- package/dist/widgets/views/Dashboard/DashboardTree.d.ts.map +1 -0
- package/dist/widgets/views/Dashboard/dashboardHelper.d.ts +6 -0
- package/dist/widgets/views/Dashboard/dashboardHelper.d.ts.map +1 -0
- package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts +3 -0
- package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts.map +1 -0
- package/dist/widgets/views/DashboardGrid/DashboardGrid.types.d.ts +6 -0
- package/dist/widgets/views/DashboardGrid/DashboardGrid.types.d.ts.map +1 -0
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts +3 -0
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts.map +1 -0
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.types.d.ts +11 -0
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.types.d.ts.map +1 -0
- package/dist/widgets/views/DashboardGrid/index.d.ts +5 -0
- package/dist/widgets/views/DashboardGrid/index.d.ts.map +1 -0
- package/dist/widgets/views/Form.d.ts +29 -0
- package/dist/widgets/views/Form.d.ts.map +1 -0
- package/dist/widgets/views/Graph/Graph.d.ts +11 -0
- package/dist/widgets/views/Graph/Graph.d.ts.map +1 -0
- package/dist/widgets/views/Graph/GraphChart.d.ts +10 -0
- package/dist/widgets/views/Graph/GraphChart.d.ts.map +1 -0
- package/dist/widgets/views/Graph/GraphDefaults.d.ts +83 -0
- package/dist/widgets/views/Graph/GraphDefaults.d.ts.map +1 -0
- package/dist/widgets/views/Graph/GraphIndicator.d.ts +16 -0
- package/dist/widgets/views/Graph/GraphIndicator.d.ts.map +1 -0
- package/dist/widgets/views/Graph/useGraphData.d.ts +20 -0
- package/dist/widgets/views/Graph/useGraphData.d.ts.map +1 -0
- package/dist/widgets/views/SearchTree.d.ts +24 -0
- package/dist/widgets/views/SearchTree.d.ts.map +1 -0
- package/dist/widgets/views/Tree.d.ts +32 -0
- package/dist/widgets/views/Tree.d.ts.map +1 -0
- package/dist/widgets/views/searchFilter/DateRangePicker.d.ts +3 -0
- package/dist/widgets/views/searchFilter/DateRangePicker.d.ts.map +1 -0
- package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts +3 -0
- package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts.map +1 -0
- package/dist/widgets/views/searchFilter/PairFields.d.ts +4 -0
- package/dist/widgets/views/searchFilter/PairFields.d.ts.map +1 -0
- package/dist/widgets/views/searchFilter/SearchBottomBar.d.ts +10 -0
- package/dist/widgets/views/searchFilter/SearchBottomBar.d.ts.map +1 -0
- package/dist/widgets/views/searchFilter/SearchField.d.ts +7 -0
- package/dist/widgets/views/searchFilter/SearchField.d.ts.map +1 -0
- package/dist/widgets/views/searchFilter/SearchFilter.d.ts +19 -0
- package/dist/widgets/views/searchFilter/SearchFilter.d.ts.map +1 -0
- package/dist/widgets/views/searchFilter/SearchParams.d.ts +7 -0
- package/dist/widgets/views/searchFilter/SearchParams.d.ts.map +1 -0
- package/package.json +36 -13
- package/src/ConnectionProvider.ts +1 -1
- package/src/__tests__/iconMapper.test.ts +4 -4
- package/src/actionbar/AttachmentsButton.tsx +25 -23
- package/src/actionbar/AttachmentsButtonWrapper.tsx +2 -2
- package/src/actionbar/ButtonWithBadge.tsx +4 -2
- package/src/actionbar/ChangeViewButton.tsx +1 -1
- package/src/actionbar/DashboardActionBar.tsx +2 -6
- package/src/actionbar/FormActionBar.tsx +2 -2
- package/src/actionbar/NewButton.tsx +1 -1
- package/src/actionbar/TreeActionBar.tsx +2 -2
- package/src/context/ActionViewContext.tsx +7 -3
- package/src/context/DashboardActionContext.tsx +2 -3
- package/src/context/FormModalContext.tsx +2 -3
- package/src/context/LocaleContext.tsx +1 -1
- package/src/context/One2manyContext.tsx +3 -4
- package/src/helpers/containerHelper.ts +1 -1
- package/src/helpers/dynamicColumnsHelper.ts +2 -2
- package/src/helpers/iconMapper.ts +5 -5
- package/src/helpers/logInfoHelper.tsx +8 -6
- package/src/helpers/timeHelper.ts +2 -2
- package/src/hooks/useEffectDebugger.ts +2 -2
- package/src/hooks/useExport.ts +8 -8
- package/src/hooks/useWindowDimensions.ts +1 -1
- package/src/stories/Time.stories.tsx +2 -3
- package/src/stories/Utils.stories.tsx +1 -3
- package/src/stories/containers/Group.stories.tsx +2 -3
- package/src/stories/containers/Notebook.stories.tsx +0 -6
- package/src/stories/custom/Avatar.stories.tsx +2 -6
- package/src/stories/custom/Comments.stories.tsx +32 -25
- package/src/stories/forms/FormWithLinks.stories.tsx +1 -2
- package/src/stories/forms/PreferencesForm.stories.tsx +1 -2
- package/src/stories/mocks/mockProvider.ts +5 -2
- package/src/stories/mocks/models/attachment.ts +1 -2
- package/src/stories/mocks/models/butlleti.ts +249 -297
- package/src/stories/mocks/models/company.ts +2 -4
- package/src/stories/mocks/models/document.ts +2 -4
- package/src/stories/mocks/models/factura.ts +14 -28
- package/src/stories/mocks/models/form_with_gridfiber.ts +2 -4
- package/src/stories/mocks/models/hist_autoconsum.ts +2 -4
- package/src/stories/mocks/models/lead.ts +8 -16
- package/src/stories/mocks/models/modcontractual.ts +3 -6
- package/src/stories/mocks/models/partner.ts +20 -40
- package/src/stories/mocks/models/polissa.ts +6 -12
- package/src/stories/mocks/models/res_partner_category.ts +3 -3
- package/src/stories/mocks/models/signatura.ts +135 -195
- package/src/stories/mocks/models/switching.ts +2 -4
- package/src/stories/views/Tree.stories.jsx +3 -5
- package/src/stories/views/searchFilter/examples/PartnersSearchFilter.stories.tsx +15 -30
- package/src/ui/ConfirmDialog.tsx +1 -1
- package/src/ui/GoToResourceModal.tsx +7 -3
- package/src/views/CurrentTabContent.tsx +1 -1
- package/src/views/TabContent.tsx +1 -1
- package/src/views/TabSelector.tsx +1 -1
- package/src/views/actionViews/DashboardActionView.tsx +1 -1
- package/src/views/actionViews/GraphActionView.tsx +1 -1
- package/src/views/actionViews/TreeActionView.tsx +2 -2
- package/src/widgets/WidgetFactory.tsx +1 -1
- package/src/widgets/base/Float.tsx +0 -1
- package/src/widgets/base/FloatTime.tsx +1 -1
- package/src/widgets/base/Integer.tsx +0 -1
- package/src/widgets/base/Reference.tsx +1 -1
- package/src/widgets/base/ReferenceTree.tsx +1 -1
- package/src/widgets/base/Separator.tsx +3 -4
- package/src/widgets/base/many2one/Many2oneSuffixModal.tsx +2 -2
- package/src/widgets/base/one2many/One2many.tsx +2 -2
- package/src/widgets/base/one2many/One2manyInput.tsx +1 -1
- package/src/widgets/custom/Avatar.tsx +15 -7
- package/src/widgets/custom/Markdown.tsx +12 -8
- package/src/widgets/custom/Radio.tsx +2 -4
- package/src/widgets/custom/Steps.tsx +10 -9
- package/src/widgets/custom/Switch.tsx +1 -5
- package/src/widgets/modals/SearchModal.tsx +31 -29
- package/src/widgets/modals/TranslationModal.tsx +2 -2
- package/src/widgets/views/Dashboard/Dashboard.tsx +3 -3
- package/src/widgets/views/DashboardGrid/DashboardGrid.tsx +3 -3
- package/src/widgets/views/Form.tsx +1 -1
- package/src/widgets/views/Graph/Graph.tsx +1 -1
- package/src/widgets/views/Graph/GraphChart.tsx +1 -1
- package/src/widgets/views/Graph/GraphDefaults.ts +2 -2
- package/src/widgets/views/SearchTree.tsx +2 -2
- package/src/widgets/views/searchFilter/SearchBottomBar.tsx +2 -6
- package/src/widgets/views/searchFilter/SearchField.tsx +5 -1
- package/src/widgets/views/searchFilter/SearchFilter.tsx +1 -1
- package/src/widgets/views/searchFilter/SearchParams.tsx +7 -4
|
@@ -2,210 +2,155 @@ export default {
|
|
|
2
2
|
model: "giscedata.signatura.process",
|
|
3
3
|
exampleValues: [
|
|
4
4
|
{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
"print_mandate": 0,
|
|
29
|
-
"state": "init"
|
|
30
|
-
}
|
|
5
|
+
all_signed: false,
|
|
6
|
+
body: "",
|
|
7
|
+
cc: false,
|
|
8
|
+
create_date: "2021-04-15 16:29:50",
|
|
9
|
+
create_uid: [1, "Administrator1"],
|
|
10
|
+
data: {
|
|
11
|
+
callback_method: "bank_account_change",
|
|
12
|
+
process_data: {
|
|
13
|
+
account_iban: "ES3231797283092974325421",
|
|
14
|
+
account_owner: 93,
|
|
15
|
+
change_date: "2021-04-15",
|
|
16
|
+
delivery_type: "email",
|
|
17
|
+
digital_sign: 1,
|
|
18
|
+
email: "lalal@lapunxa.com",
|
|
19
|
+
id: 3,
|
|
20
|
+
info: false,
|
|
21
|
+
mandate_scheme: "core",
|
|
22
|
+
owner_address: 146,
|
|
23
|
+
pagador: 149,
|
|
24
|
+
payment_mode: 8,
|
|
25
|
+
print_mandate: 0,
|
|
26
|
+
state: "init",
|
|
27
|
+
},
|
|
31
28
|
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
],
|
|
55
|
-
"template_res_id": 78,
|
|
56
|
-
"traceback": false,
|
|
57
|
-
"type": "advanced",
|
|
58
|
-
"write_date": "2021-04-15 16:32:55"
|
|
59
|
-
}
|
|
29
|
+
delivery_type: "poweremail",
|
|
30
|
+
enviat: true,
|
|
31
|
+
enviat_carpeta: "outbox",
|
|
32
|
+
enviat_data: false,
|
|
33
|
+
expire_time: false,
|
|
34
|
+
files: [153],
|
|
35
|
+
id: 99,
|
|
36
|
+
lang: "ca_ES",
|
|
37
|
+
qr: "iVBORw0KGgoAAAANSUhEUgAAAhIAAAISAQAAAACxRhsSAAAEfElEQVR4nO2dTY7bOBCFX40M9JIGcoAchb5ZY46UG0hH6QMMQO3VqFmQVSzazmAGaTMe43ERRDL1QQIK5Ks/tih+dWx//DICIIMMMsgggwwyyCCDjM6QNk4A8CnYzoBcAAC73xOROvmy2/zLF78HGWT8ZKiqKrKqqpZFda33DqgW+7WOpKprOlDn9cfWZ/kWMl6fsbfVUd71gFzqzUWxnQEgqSJ/nPwHwBbfr34PMsj4V4ztDGCTNxU5A/L+cYLqh4j+eQZ0hQuCB78HGWSEcbq+kX+8qeQf36CmVAVICsnlGyR/3DzwPN9CxusyrvVplaHql1lVkYtp1jWZjqU+JWM+YxMRkTPQZOjuWrT6+4vKZX9Tea8i9bO6+1//HmSQcX/oOAAsCqSjatG6ngIAcgGAdKAtvj64npLxcIbt+wUA0OJS1U612JxcA1aLtliVT6adkjGH0dbTFYCudbE82v9g9+6p0voz9SkZcxhmp7bR92WzBfaxND/Kp9TH1v7ss3wLGa/LsIxT8nXS0k7IGrVom1KaKYP7PhkTGcO+jxZ+QlOqzRzNOmEp04KqBbjvkzGJ4fHTwzz/Ynu86o1cDUuuFlCfkjGLMcSluqdUgBaDKovH+d06C/d9MuYy3E59AS3j5m8BU7NO2/Jpp2RMZLg+tZK+ZoRogX1fWYMgWOGlf7RTMqYwQoVpc41Kj1VFLXATYgWoT8mYxQj5KAuOLr68jv5+MlVQ5yVTDLRTMh7OaGV623k5JOvnSQFAsgLI+ikKAAocJ0Hyh9JfJ2AX6Ne9Bxlk/OOwfX/x9pLD+06WseWk+Vt1ZOpTMuYxQv1pd+stOOquvnpW1d1/ANSnZMxiDHnTWhh9hJz/ECu1NfYqpko7JePhjBCXsmSTm6NquAd0t0oZPyVjLmPofA6jdaDUi2ypqDg5UZ+SMY0R46choQ+Mcf4+RQcFQDslYwpjrJeyRCnsssnV4n183pXCfBQZExnBj2omOiT0WyCqV6To4W0ooL9PxixGyJHWy3WIlca+E1tPbcvnekrGNEas6wtlpi4+3XuyXpS+nlKfkjGNEVyjeJxEN8Lk6nXY/KlPyZjJcH1q9afevWcxfZvY60+9OZp2SsYkRvT3+7mSXgl9ZbYhyd+7/GinZDyc4XV9vXa/Ofi2bPbg1BIz/eyPImMiI/hRPRDVtAC80QS9FwVop/okd7+e5VvIeF1G2PeHOv0jOP29GKU+Uv2tXuj/LN9CxusyQl90S5RqT/ffqUlV5vfJ+A2M2/P60k2HfrDinq0CQH1KxizGWC/l+dAChGxp65B222X9KRmTGTfnSeerf+zXmN/XoXyKdkrGwxnx/NMYye/9pkCPWoUzUdlvSsZExh079eN4XZoiRS/LjkBjnJ+MaYxbO029SqpXTPfMlD22gvs+GdMY9md2kgLYAcV+gtT7+5sKUgG27weQV0CQCiSvAIDF4v7P8i1kvC7j2t/vfnw4pD/30lP1jj7GT8mYx5A7PXz/cWzP8i1kkEEGGWSQQQYZZPz/GX8Dr5vS+0WwwpgAAAAASUVORK5CYII=",
|
|
38
|
+
recipients: [99],
|
|
39
|
+
reminders: 0,
|
|
40
|
+
signature_id: "f64c2e4f-566a-451f-8773-88ced14c0a81",
|
|
41
|
+
signature_url:
|
|
42
|
+
"https://sign-app.sandbox.signaturit.com/v1/ca/f64c2e4f-566a-451f-8773-88ced14c0a81/552c530f-d7c0-4dd6-93e6-b91b6a92b79d",
|
|
43
|
+
status: "completed",
|
|
44
|
+
subject: "Canvi de compte corrent de Clean and iron",
|
|
45
|
+
template_id: [75, "Canvi de compte corrent"],
|
|
46
|
+
template_res_id: 78,
|
|
47
|
+
traceback: false,
|
|
48
|
+
type: "advanced",
|
|
49
|
+
write_date: "2021-04-15 16:32:55",
|
|
50
|
+
},
|
|
60
51
|
],
|
|
61
52
|
tree: {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
53
|
+
arch: '<tree string="Signatures digitals">\n <field name="create_date" select="1"/>\n <field name="subject" select="1"/>\n <field name="status" select="1"/>\n <field name="delivery_type" select="1"/>\n <field name="all_signed" string="Requiere todos firmados" select="2"/>\n <field name="create_uid" select="2"/>\n </tree>',
|
|
54
|
+
field_parent: false,
|
|
55
|
+
fields: {
|
|
56
|
+
all_signed: {
|
|
57
|
+
help: "Si se marca esta casilla todos los documentos deben de estar firmados para poder continuar con el proceso ya que son bloqueantes.",
|
|
58
|
+
string: "Todos los documentos firmados",
|
|
59
|
+
type: "boolean",
|
|
60
|
+
views: {},
|
|
70
61
|
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
62
|
+
create_date: {
|
|
63
|
+
readonly: true,
|
|
64
|
+
string: "Fecha de creación",
|
|
65
|
+
type: "datetime",
|
|
66
|
+
views: {},
|
|
76
67
|
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
68
|
+
create_uid: {
|
|
69
|
+
context: "",
|
|
70
|
+
domain: [],
|
|
71
|
+
readonly: true,
|
|
72
|
+
relation: "res.users",
|
|
73
|
+
size: 64,
|
|
74
|
+
string: "Creador",
|
|
75
|
+
type: "many2one",
|
|
76
|
+
views: {},
|
|
86
77
|
},
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
[
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
],
|
|
93
|
-
[
|
|
94
|
-
"email",
|
|
95
|
-
"E-mail"
|
|
96
|
-
],
|
|
97
|
-
[
|
|
98
|
-
"sms",
|
|
99
|
-
"SMS"
|
|
100
|
-
],
|
|
101
|
-
[
|
|
102
|
-
"url",
|
|
103
|
-
"URL"
|
|
104
|
-
]
|
|
78
|
+
delivery_type: {
|
|
79
|
+
selection: [
|
|
80
|
+
["poweremail", "PowerEmail"],
|
|
81
|
+
["email", "E-mail"],
|
|
82
|
+
["sms", "SMS"],
|
|
83
|
+
["url", "URL"],
|
|
105
84
|
],
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
85
|
+
string: "Modo de envio",
|
|
86
|
+
type: "selection",
|
|
87
|
+
views: {},
|
|
109
88
|
},
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
[
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
],
|
|
116
|
-
[
|
|
117
|
-
|
|
118
|
-
"En Proceso"
|
|
119
|
-
],
|
|
120
|
-
[
|
|
121
|
-
"completed",
|
|
122
|
-
"Completado"
|
|
123
|
-
],
|
|
124
|
-
[
|
|
125
|
-
"error",
|
|
126
|
-
"Error"
|
|
127
|
-
],
|
|
128
|
-
[
|
|
129
|
-
"expired",
|
|
130
|
-
"Expirado"
|
|
131
|
-
],
|
|
132
|
-
[
|
|
133
|
-
"canceled",
|
|
134
|
-
"Cancelado"
|
|
135
|
-
]
|
|
89
|
+
status: {
|
|
90
|
+
selection: [
|
|
91
|
+
["wait", "En Espera"],
|
|
92
|
+
["doing", "En Proceso"],
|
|
93
|
+
["completed", "Completado"],
|
|
94
|
+
["error", "Error"],
|
|
95
|
+
["expired", "Expirado"],
|
|
96
|
+
["canceled", "Cancelado"],
|
|
136
97
|
],
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
98
|
+
string: "Estado",
|
|
99
|
+
type: "selection",
|
|
100
|
+
views: {},
|
|
101
|
+
},
|
|
102
|
+
subject: {
|
|
103
|
+
required: true,
|
|
104
|
+
size: 256,
|
|
105
|
+
string: "Asunto",
|
|
106
|
+
type: "char",
|
|
107
|
+
views: {},
|
|
140
108
|
},
|
|
141
|
-
"subject": {
|
|
142
|
-
"required": true,
|
|
143
|
-
"size": 256,
|
|
144
|
-
"string": "Asunto",
|
|
145
|
-
"type": "char",
|
|
146
|
-
"views": {}
|
|
147
|
-
}
|
|
148
109
|
},
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
"subject",
|
|
155
|
-
"status",
|
|
156
|
-
"delivery_type"
|
|
157
|
-
],
|
|
158
|
-
"secondary": [
|
|
159
|
-
"create_uid",
|
|
160
|
-
"all_signed"
|
|
161
|
-
]
|
|
110
|
+
model: "giscedata.signatura.process",
|
|
111
|
+
name: "giscedata_signatura.tree",
|
|
112
|
+
search_fields: {
|
|
113
|
+
primary: ["create_date", "subject", "status", "delivery_type"],
|
|
114
|
+
secondary: ["create_uid", "all_signed"],
|
|
162
115
|
},
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
116
|
+
toolbar: {
|
|
117
|
+
action: [],
|
|
118
|
+
print: [],
|
|
119
|
+
relate: [
|
|
167
120
|
{
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
[
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
false,
|
|
192
|
-
"form"
|
|
193
|
-
]
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
]
|
|
121
|
+
auto_refresh: 0,
|
|
122
|
+
context: "{}",
|
|
123
|
+
domain: "[('id', '=', active_id)]",
|
|
124
|
+
groups_id: [],
|
|
125
|
+
id: -1,
|
|
126
|
+
limit: 0,
|
|
127
|
+
name: "giscedata.signatura.process",
|
|
128
|
+
res_model: "giscedata.signatura.process",
|
|
129
|
+
src_model: "giscedata.signatura.process",
|
|
130
|
+
string: "giscedata.signatura.process",
|
|
131
|
+
target: "current",
|
|
132
|
+
type: "ir.actions.act_window",
|
|
133
|
+
usage: "",
|
|
134
|
+
view_id: false,
|
|
135
|
+
view_ids: [],
|
|
136
|
+
view_mode: "tree,form",
|
|
137
|
+
view_type: "form",
|
|
138
|
+
views: [
|
|
139
|
+
[false, "tree"],
|
|
140
|
+
[false, "form"],
|
|
141
|
+
],
|
|
142
|
+
},
|
|
143
|
+
],
|
|
197
144
|
},
|
|
198
|
-
|
|
199
|
-
|
|
145
|
+
type: "tree",
|
|
146
|
+
view_id: 1825,
|
|
200
147
|
},
|
|
201
148
|
form: {
|
|
202
|
-
arch:
|
|
203
|
-
'<form string="Signatura digital"><group colspan="4" col="4">\n <separator string="Gestió SIPS" colspan="4"/>\n <button string="Sol·licitar no cessió" type="action" icon="gtk-no" name="1621" colspan="1" readonly="0"/>\n </group></form>',
|
|
149
|
+
arch: '<form string="Signatura digital"><group colspan="4" col="4">\n <separator string="Gestió SIPS" colspan="4"/>\n <button string="Sol·licitar no cessió" type="action" icon="gtk-no" name="1621" colspan="1" readonly="0"/>\n </group></form>',
|
|
204
150
|
field_parent: false,
|
|
205
151
|
fields: {
|
|
206
152
|
all_signed: {
|
|
207
|
-
help:
|
|
208
|
-
"Si se marca esta casilla todos los documentos deben de estar firmados para poder continuar con el proceso ya que son bloqueantes.",
|
|
153
|
+
help: "Si se marca esta casilla todos los documentos deben de estar firmados para poder continuar con el proceso ya que son bloqueantes.",
|
|
209
154
|
string: "Todos los documentos firmados",
|
|
210
155
|
type: "boolean",
|
|
211
156
|
views: {},
|
|
@@ -271,8 +216,7 @@ export default {
|
|
|
271
216
|
type: "one2many",
|
|
272
217
|
views: {
|
|
273
218
|
form: {
|
|
274
|
-
arch:
|
|
275
|
-
'<form>\n <field name="process_id"/>\n <group colspan="4" col="3">\n <field name="model" colspan="3"/>\n <field name="report_id"/>\n <button string="Generar" type="object" name="generate_report" icon="gtk-print"/>\n </group>\n <field name="doc_file" colspan="4" filename="filename" widget="binary"/>\n <field name="filename"/>\n <field name="category_id"/>\n <group colspan="4" col="4" string="Estado">\n <field name="signature_id"/>\n <field name="status"/>\n </group>\n </form>\n ',
|
|
219
|
+
arch: '<form>\n <field name="process_id"/>\n <group colspan="4" col="3">\n <field name="model" colspan="3"/>\n <field name="report_id"/>\n <button string="Generar" type="object" name="generate_report" icon="gtk-print"/>\n </group>\n <field name="doc_file" colspan="4" filename="filename" widget="binary"/>\n <field name="filename"/>\n <field name="category_id"/>\n <group colspan="4" col="4" string="Estado">\n <field name="signature_id"/>\n <field name="status"/>\n </group>\n </form>\n ',
|
|
276
220
|
fields: {
|
|
277
221
|
category_id: {
|
|
278
222
|
context: "",
|
|
@@ -354,8 +298,7 @@ export default {
|
|
|
354
298
|
},
|
|
355
299
|
},
|
|
356
300
|
tree: {
|
|
357
|
-
arch:
|
|
358
|
-
'<tree string="Documentos">\n <field name="report_id"/>\n <field name="model_str"/>\n <field name="filename"/>\n <field name="status"/>\n </tree>\n ',
|
|
301
|
+
arch: '<tree string="Documentos">\n <field name="report_id"/>\n <field name="model_str"/>\n <field name="filename"/>\n <field name="status"/>\n </tree>\n ',
|
|
359
302
|
fields: {
|
|
360
303
|
filename: {
|
|
361
304
|
size: 256,
|
|
@@ -402,8 +345,7 @@ export default {
|
|
|
402
345
|
},
|
|
403
346
|
},
|
|
404
347
|
lang: {
|
|
405
|
-
help:
|
|
406
|
-
"Idioma con el que se generará todo lo referente a este proceso de firma digital",
|
|
348
|
+
help: "Idioma con el que se generará todo lo referente a este proceso de firma digital",
|
|
407
349
|
selection: [
|
|
408
350
|
["en_US", "English"],
|
|
409
351
|
["ca_ES", "Catalan / Català"],
|
|
@@ -429,8 +371,7 @@ export default {
|
|
|
429
371
|
type: "one2many",
|
|
430
372
|
views: {
|
|
431
373
|
form: {
|
|
432
|
-
arch:
|
|
433
|
-
'<form>\n <field name="partner_address_id" colspan="4" on_change="on_change_partner_address_id(partner_address_id, context)"/>\n <field name="name"/>\n <field name="email"/>\n <field name="phone"/>\n <field name="type"/>\n </form>\n ',
|
|
374
|
+
arch: '<form>\n <field name="partner_address_id" colspan="4" on_change="on_change_partner_address_id(partner_address_id, context)"/>\n <field name="name"/>\n <field name="email"/>\n <field name="phone"/>\n <field name="type"/>\n </form>\n ',
|
|
434
375
|
fields: {
|
|
435
376
|
email: {
|
|
436
377
|
required: true,
|
|
@@ -473,8 +414,7 @@ export default {
|
|
|
473
414
|
},
|
|
474
415
|
},
|
|
475
416
|
tree: {
|
|
476
|
-
arch:
|
|
477
|
-
'<tree string="Destinatarios">\n <field name="name"/>\n <field name="email"/>\n <field name="phone"/>\n <field name="type"/>\n </tree>\n ',
|
|
417
|
+
arch: '<tree string="Destinatarios">\n <field name="name"/>\n <field name="email"/>\n <field name="phone"/>\n <field name="type"/>\n </tree>\n ',
|
|
478
418
|
fields: {
|
|
479
419
|
email: {
|
|
480
420
|
required: true,
|
|
@@ -40,8 +40,7 @@ export default {
|
|
|
40
40
|
vat_kind: "NI",
|
|
41
41
|
},
|
|
42
42
|
form: {
|
|
43
|
-
arch:
|
|
44
|
-
'<form string="Generar Cas amb Modificacio Contractual" col="2"><field name="change_adm" on_change="onchange_type(change_atr, change_adm, contract, generate_new_contract, new_contract, proces)"/><notebook><page string="Titular" attrs="{\'invisible\': [(\'change_adm\', \'!=\', True)]}">\r\n <group col="4" colspan="4" attrs="{\'invisible\': [(\'change_adm\', \'!=\', True)]}">\r\n <separator string="Titular" colspan="4"/>\r\n <field name="owner_change_type" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="vat" on_change="onchange_vat(vat, contract, owner, contact)" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="vat_kind" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="owner" on_change="onchange_owner(owner, owner_pre, contact, vat, contract)" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="owner_pre" invisible="1"/>\r\n </group>\r\n </page>\r\n <page string="Contacte">\r\n <group col="4" colspan="4">\r\n <separator string="Contacte" colspan="4"/>\r\n <field name="contact" on_change="onchange_contact(contact)"/>\r\n <field name="direccio_notificacio" colspan="4" domain="[(\'partner_id\', \'=\', contact)]" on_change="onchange_contact_dir(direccio_notificacio)"/>\r\n <field name="con_type"/>\r\n <field name="con_name" colspan="4" required="1"/>\r\n <field name="con_sur1" attrs="{\'readonly\':[(\'con_type\',\'=\',\'J\')], \'required\':[(\'con_type\',\'=\',\'F\')]}"/>\r\n <field name="con_sur2" attrs="{\'readonly\':[(\'con_type\',\'=\',\'J\')]}"/>\r\n <field name="phone_pre" required="1"/>\r\n <field name="phone_num" required="1"/>\r\n </group>\r\n </page></notebook></form>',
|
|
43
|
+
arch: '<form string="Generar Cas amb Modificacio Contractual" col="2"><field name="change_adm" on_change="onchange_type(change_atr, change_adm, contract, generate_new_contract, new_contract, proces)"/><notebook><page string="Titular" attrs="{\'invisible\': [(\'change_adm\', \'!=\', True)]}">\r\n <group col="4" colspan="4" attrs="{\'invisible\': [(\'change_adm\', \'!=\', True)]}">\r\n <separator string="Titular" colspan="4"/>\r\n <field name="owner_change_type" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="vat" on_change="onchange_vat(vat, contract, owner, contact)" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="vat_kind" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="owner" on_change="onchange_owner(owner, owner_pre, contact, vat, contract)" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="owner_pre" invisible="1"/>\r\n </group>\r\n </page>\r\n <page string="Contacte">\r\n <group col="4" colspan="4">\r\n <separator string="Contacte" colspan="4"/>\r\n <field name="contact" on_change="onchange_contact(contact)"/>\r\n <field name="direccio_notificacio" colspan="4" domain="[(\'partner_id\', \'=\', contact)]" on_change="onchange_contact_dir(direccio_notificacio)"/>\r\n <field name="con_type"/>\r\n <field name="con_name" colspan="4" required="1"/>\r\n <field name="con_sur1" attrs="{\'readonly\':[(\'con_type\',\'=\',\'J\')], \'required\':[(\'con_type\',\'=\',\'F\')]}"/>\r\n <field name="con_sur2" attrs="{\'readonly\':[(\'con_type\',\'=\',\'J\')]}"/>\r\n <field name="phone_pre" required="1"/>\r\n <field name="phone_num" required="1"/>\r\n </group>\r\n </page></notebook></form>',
|
|
45
44
|
field_parent: false,
|
|
46
45
|
fields: {
|
|
47
46
|
activacio_cicle: {
|
|
@@ -164,8 +163,7 @@ export default {
|
|
|
164
163
|
views: {},
|
|
165
164
|
},
|
|
166
165
|
check_introduir_lectures: {
|
|
167
|
-
help:
|
|
168
|
-
"Introdu\u00efr lectures en data determinada.\nAquestes lectures s'utilitzaran com a lectures finals del contracte antic al activar el M1 de canvi de titular",
|
|
166
|
+
help: "Introdu\u00efr lectures en data determinada.\nAquestes lectures s'utilitzaran com a lectures finals del contracte antic al activar el M1 de canvi de titular",
|
|
169
167
|
string: "Introdu\u00efr Lectures",
|
|
170
168
|
type: "boolean",
|
|
171
169
|
views: {},
|
|
@@ -97,11 +97,10 @@ Default.args = {
|
|
|
97
97
|
],
|
|
98
98
|
colorsForResults: {
|
|
99
99
|
32: "red",
|
|
100
|
-
33: "red"
|
|
100
|
+
33: "red",
|
|
101
101
|
},
|
|
102
102
|
treeView: {
|
|
103
|
-
arch:
|
|
104
|
-
`<tree string="Partners">\n<field name="numeric" sum="Numeric"/><field name="user_id" widget="avatar"/><field name="name"/>\n <field name="title" widget="tag" widget_props="{'colors': {'corp': 'red', 'ltd': 'green'}}"/>\n <field name="ref"/>\n <field name="city" select="2"/>\n <field name="country" select="2"/>\n <field name="lang"/>\n <field name="progressbar" string="Progress" /> </tree>`,
|
|
103
|
+
arch: `<tree string="Partners">\n<field name="numeric" sum="Numeric"/><field name="user_id" widget="avatar"/><field name="name"/>\n <field name="title" widget="tag" widget_props="{'colors': {'corp': 'red', 'ltd': 'green'}}"/>\n <field name="ref"/>\n <field name="city" select="2"/>\n <field name="country" select="2"/>\n <field name="lang"/>\n <field name="progressbar" string="Progress" /> </tree>`,
|
|
105
104
|
fields: {
|
|
106
105
|
progressbar: {
|
|
107
106
|
string: "Progress bar",
|
|
@@ -133,8 +132,7 @@ Default.args = {
|
|
|
133
132
|
views: {},
|
|
134
133
|
},
|
|
135
134
|
lang: {
|
|
136
|
-
help:
|
|
137
|
-
"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.",
|
|
135
|
+
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.",
|
|
138
136
|
selection: [
|
|
139
137
|
["en_US", "English"],
|
|
140
138
|
["ca_ES", "Catalan / Català"],
|
|
@@ -157,8 +157,7 @@ Default.args = {
|
|
|
157
157
|
views: {},
|
|
158
158
|
},
|
|
159
159
|
lang: {
|
|
160
|
-
help:
|
|
161
|
-
"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.",
|
|
160
|
+
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.",
|
|
162
161
|
selection: [
|
|
163
162
|
["en_US", "English"],
|
|
164
163
|
["ca_ES", "Catalan / Català"],
|
|
@@ -223,8 +222,7 @@ Default.args = {
|
|
|
223
222
|
context: "",
|
|
224
223
|
digits: [16, 2],
|
|
225
224
|
domain: "[('type', '=', 'receivable')]",
|
|
226
|
-
help:
|
|
227
|
-
"This account will be used as the debtor account for the current partner",
|
|
225
|
+
help: "This account will be used as the debtor account for the current partner",
|
|
228
226
|
relation: "account.account",
|
|
229
227
|
required: true,
|
|
230
228
|
string: "Account Debtor",
|
|
@@ -235,8 +233,7 @@ Default.args = {
|
|
|
235
233
|
context: "",
|
|
236
234
|
digits: [16, 2],
|
|
237
235
|
domain: "[('type', '=', 'payable')]",
|
|
238
|
-
help:
|
|
239
|
-
"This account will be used instead of the default one as the payable account for the current partner",
|
|
236
|
+
help: "This account will be used instead of the default one as the payable account for the current partner",
|
|
240
237
|
relation: "account.account",
|
|
241
238
|
required: true,
|
|
242
239
|
string: "Account Payable",
|
|
@@ -247,8 +244,7 @@ Default.args = {
|
|
|
247
244
|
context: "",
|
|
248
245
|
digits: [16, 2],
|
|
249
246
|
domain: [],
|
|
250
|
-
help:
|
|
251
|
-
"The fiscal position will determine taxes and the accounts used for the the partner.",
|
|
247
|
+
help: "The fiscal position will determine taxes and the accounts used for the the partner.",
|
|
252
248
|
relation: "account.fiscal.position",
|
|
253
249
|
string: "Fiscal Position",
|
|
254
250
|
type: "many2one",
|
|
@@ -258,8 +254,7 @@ Default.args = {
|
|
|
258
254
|
context: "",
|
|
259
255
|
digits: [16, 2],
|
|
260
256
|
domain: "[('type', '=', 'receivable')]",
|
|
261
|
-
help:
|
|
262
|
-
"This account will be used instead of the default one as the receivable account for the current partner",
|
|
257
|
+
help: "This account will be used instead of the default one as the receivable account for the current partner",
|
|
263
258
|
relation: "account.account",
|
|
264
259
|
required: true,
|
|
265
260
|
string: "Account Receivable",
|
|
@@ -270,8 +265,7 @@ Default.args = {
|
|
|
270
265
|
context: "",
|
|
271
266
|
digits: [16, 2],
|
|
272
267
|
domain: [],
|
|
273
|
-
help:
|
|
274
|
-
"This payment term will be used instead of the default one for the current partner",
|
|
268
|
+
help: "This payment term will be used instead of the default one for the current partner",
|
|
275
269
|
relation: "account.payment.term",
|
|
276
270
|
string: "Payment Term",
|
|
277
271
|
type: "many2one",
|
|
@@ -281,8 +275,7 @@ Default.args = {
|
|
|
281
275
|
context: "",
|
|
282
276
|
digits: [16, 2],
|
|
283
277
|
domain: [["type", "=", "sale"]],
|
|
284
|
-
help:
|
|
285
|
-
"This pricelist will be used, instead of the default one, for sales to the current partner",
|
|
278
|
+
help: "This pricelist will be used, instead of the default one, for sales to the current partner",
|
|
286
279
|
relation: "product.pricelist",
|
|
287
280
|
string: "Sale Pricelist",
|
|
288
281
|
type: "many2one",
|
|
@@ -292,8 +285,7 @@ Default.args = {
|
|
|
292
285
|
context: "",
|
|
293
286
|
digits: [16, 2],
|
|
294
287
|
domain: [["type", "=", "purchase"]],
|
|
295
|
-
help:
|
|
296
|
-
"This pricelist will be used, instead of the default one, for purchases from the current partner",
|
|
288
|
+
help: "This pricelist will be used, instead of the default one, for purchases from the current partner",
|
|
297
289
|
relation: "product.pricelist",
|
|
298
290
|
string: "Purchase Pricelist",
|
|
299
291
|
type: "many2one",
|
|
@@ -303,8 +295,7 @@ Default.args = {
|
|
|
303
295
|
context: "",
|
|
304
296
|
digits: [16, 2],
|
|
305
297
|
domain: [],
|
|
306
|
-
help:
|
|
307
|
-
"This stock location will be used, instead of the default one, as the destination location for goods you send to this partner",
|
|
298
|
+
help: "This stock location will be used, instead of the default one, as the destination location for goods you send to this partner",
|
|
308
299
|
relation: "stock.location",
|
|
309
300
|
string: "Customer Location",
|
|
310
301
|
type: "many2one",
|
|
@@ -314,8 +305,7 @@ Default.args = {
|
|
|
314
305
|
context: "",
|
|
315
306
|
digits: [16, 2],
|
|
316
307
|
domain: [],
|
|
317
|
-
help:
|
|
318
|
-
"This stock location will be used, instead of the default one, as the source location for goods you receive from the current partner",
|
|
308
|
+
help: "This stock location will be used, instead of the default one, as the source location for goods you receive from the current partner",
|
|
319
309
|
relation: "stock.location",
|
|
320
310
|
string: "Supplier Location",
|
|
321
311
|
type: "many2one",
|
|
@@ -325,8 +315,7 @@ Default.args = {
|
|
|
325
315
|
context: "",
|
|
326
316
|
digits: [16, 2],
|
|
327
317
|
domain: [["name", "!=", false]],
|
|
328
|
-
help:
|
|
329
|
-
"Encoding XML amb el qual es generaran els XML's de switching per aquesta empresa",
|
|
318
|
+
help: "Encoding XML amb el qual es generaran els XML's de switching per aquesta empresa",
|
|
330
319
|
relation: "giscedata.switching.xml.encoding",
|
|
331
320
|
required: true,
|
|
332
321
|
string: "Encoding XML switching",
|
|
@@ -356,8 +345,7 @@ Default.args = {
|
|
|
356
345
|
views: {},
|
|
357
346
|
},
|
|
358
347
|
supplier: {
|
|
359
|
-
help:
|
|
360
|
-
"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.",
|
|
348
|
+
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.",
|
|
361
349
|
string: "Supplier",
|
|
362
350
|
type: "boolean",
|
|
363
351
|
views: {},
|
|
@@ -384,8 +372,7 @@ Default.args = {
|
|
|
384
372
|
user_id: {
|
|
385
373
|
context: "",
|
|
386
374
|
domain: [],
|
|
387
|
-
help:
|
|
388
|
-
"The internal user that is in charge of communicating with this partner if any.",
|
|
375
|
+
help: "The internal user that is in charge of communicating with this partner if any.",
|
|
389
376
|
relation: "res.users",
|
|
390
377
|
size: 64,
|
|
391
378
|
string: "Dedicated Salesman",
|
|
@@ -393,8 +380,7 @@ Default.args = {
|
|
|
393
380
|
views: {},
|
|
394
381
|
},
|
|
395
382
|
vat: {
|
|
396
|
-
help:
|
|
397
|
-
"Value Added Tax number. Check the box if the partner is subjected to the VAT. Used by the VAT legal statement.",
|
|
383
|
+
help: "Value Added Tax number. Check the box if the partner is subjected to the VAT. Used by the VAT legal statement.",
|
|
398
384
|
select: true,
|
|
399
385
|
size: 32,
|
|
400
386
|
string: "VAT",
|
|
@@ -402,8 +388,7 @@ Default.args = {
|
|
|
402
388
|
views: {},
|
|
403
389
|
},
|
|
404
390
|
vat_subjected: {
|
|
405
|
-
help:
|
|
406
|
-
"Check this box if the partner is subjected to the VAT. It will be used for the VAT legal statement.",
|
|
391
|
+
help: "Check this box if the partner is subjected to the VAT. It will be used for the VAT legal statement.",
|
|
407
392
|
string: "VAT Legal Statement",
|
|
408
393
|
type: "boolean",
|
|
409
394
|
views: {},
|
package/src/ui/ConfirmDialog.tsx
CHANGED
|
@@ -22,7 +22,7 @@ export const GoToResourceModal = (props: Props) => {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
|
-
|
|
25
|
+
<Modal
|
|
26
26
|
title={t("goToResourceId")}
|
|
27
27
|
centered
|
|
28
28
|
open={visible}
|
|
@@ -43,7 +43,11 @@ export const GoToResourceModal = (props: Props) => {
|
|
|
43
43
|
},
|
|
44
44
|
]}
|
|
45
45
|
>
|
|
46
|
-
<InputNumber
|
|
46
|
+
<InputNumber
|
|
47
|
+
style={{ width: "100%" }}
|
|
48
|
+
autoFocus
|
|
49
|
+
ref={inputRef as any}
|
|
50
|
+
/>
|
|
47
51
|
</Form.Item>
|
|
48
52
|
<Row align="middle" justify="end">
|
|
49
53
|
<Col>
|
|
@@ -70,6 +74,6 @@ export const GoToResourceModal = (props: Props) => {
|
|
|
70
74
|
</Col>
|
|
71
75
|
</Row>
|
|
72
76
|
</Form>
|
|
73
|
-
</Modal>
|
|
77
|
+
</Modal>
|
|
74
78
|
);
|
|
75
79
|
};
|