Commit Graph
122 Commits
Author SHA1 Message Date
Cédric Krier 2ceef3eefc Close info bar when clicking on it
issue9621
review318281002
2020-10-04 00:41:11 +02:00
Cédric Krier 137852452e Fallback to model name as title
issue9596
review300381002
2020-10-04 00:35:23 +02:00
Cédric Krier 90bef2751e Display the full path of select fields to export
issue9595
review323971003
2020-09-24 22:43:50 +02:00
Nicolas Évrard 6fcfb943a5 Manage deletable and writable state from ir.rule
issue9357
review290101002
2020-09-23 10:04:19 +02:00
Cédric Krier d9242e3a6b Send client email via server
issue9449
review292001002
2020-09-17 17:18:02 +02:00
Cédric Krier 5b674ad987 Always encode CSV export in UTF-8
Browsers do not support the charset in Blob, so it is already always encoded in
UTF-8. But to help users on Windows, we add the UTF-8 BOM because Windows
programs use it as magic number to detect encoding.

issue9527
review290761002
2020-09-12 18:30:11 +02:00
Cédric Krier 8d1fe05de0 Escape external strings
issue9394
review293931002
2020-06-29 17:29:45 +02:00
Sergi Almacellas Abellana 815cc31e66 Only toggle csv parameters when clicking on it's label
issue9372
review305731002
2020-06-17 13:51:41 +02:00
Sergi Almacellas Abellana 9feccfba49 Do not override icons with text
issue9388
review325521002
2020-06-05 19:12:53 +02:00
Cédric Krier 541c018e90 Escape external strings
issue9351
review301651002
2020-05-26 09:57:34 +02:00
Cédric Krier d4778043af Add context to export URL
issue9304
review317361002
2020-05-19 19:36:09 +02:00
Cédric Krier 37d86382a6 Add export CSV data route
issue9090
review261011002
2020-04-12 23:10:30 +02:00
Cédric Krier 34ad23041c Manage exclude field from search window
When creating a new record from search window, we should include the relation
field as excluded like it is done for direct creation.

issue9024
review274811009
2020-02-12 00:11:55 +01:00
Cédric Krier 4b6ac16b92 Disable button until handler promise is finished
This ensure that all the widgets have the value of the current record before
changing the record.

issue8923
review266571003
2019-12-28 17:55:47 +01:00
Cédric Krier 66ac3af264 Allow relation field to be selected in CSV export
issue6962
review284571002
2019-12-18 21:43:09 +01:00
Cédric Krier 820b478002 Add permission groups on export
By default an export is only available for his creator and administrators.
We add a list of groups that are allowed to read and a second subset of groups
that are allowed to modify it.

issue8695
review252331002
2019-10-14 00:09:32 +02:00
Sergi Almacellas Abellana c7d7820c75 Add missing end dot on translatable strings
issue8670
review252211037
2019-09-30 09:40:27 +02:00
Cédric Krier e6e307f575 Use locale format to export CSV from print button
issue8635
review252101002
2019-09-17 00:09:44 +02:00
Cédric Krier 5cef8269df Use synchronous call in CSV windows
This simplify the code and avoid race condition when selecting deferred fields.

issue8633
review267911002
2019-09-12 22:45:20 +02:00
Cédric Krier d2a11fcba1 Allow unselecting a predefined export
We just toggle the class instead of always add it on click and set the export
only if the resulted element has the class.

issue8628
review280031005
2019-09-07 23:32:47 +02:00
Cédric Krier 68462c0576 Do not expect promise from Record.set
Since issue8482, Record.set does not return a promise anymore.

issue8585
review264081002
2019-08-22 22:44:38 +02:00
Cédric Krier a16942501e Add cache management on RPC
issue8233
review257231002
2019-04-08 10:10:40 +02:00
Cédric Krier 83f9c7d87f Allow to update records when importing data
issue652
review273131003
2019-04-04 20:00:25 +02:00
Cédric Krier 5a57dede77 Use locale format for data export and import
issue8196
review255151002
2019-03-28 19:22:49 +01:00
Cédric Krier 383534e364 Use search_read in CSV export
issue8128
review45951002
2019-03-04 18:50:55 +01:00
Nicolas Évrard 0bb7ce4af7 Use properties
issue8109
review47811003
2019-02-14 16:31:31 +01:00
Cédric Krier 762ed3171d Improve the layout of CSV import and export
issue8096
review46751002
2019-02-13 11:04:09 +01:00
Cédric Krier 6a5f528ada Define fields to read for export CSV
issue8095
review46741002
2019-02-10 13:42:16 +01:00
Cédric Krier 864e2c8449 Fix typo for view type test in Sao.Window.Form
The attribute of the view which contains the type is view_type.
It was introduced by changeset e0a583fa4edc.

issue7847
2018-11-07 19:18:39 +01:00
Cédric Krier f73d551e72 Fix typo for view type test in Sao.Window.Form
The attribute of the view which contains the type is view_type.
It was introduced by changeset e0a583fa4edc.

issue7843
2018-11-06 23:32:18 +01:00
Cédric Krier 630ef1f570 Do not fail on One2Many with only tree mode
switch_view should stop when it does not find the view type.
WinForm should not open if the requested view type can not be set.

issue7824
review45791002
2018-10-31 18:21:31 +01:00
Sergi Almacellas Abellana 85ac56f033 Do not use config key when setting Paparse settings
issue7825
review70431002
2018-10-31 09:27:10 +01:00
Cédric Krier 18115d9a71 Add drag & drop support on attachment button
issue7722
review60371002
2018-10-25 21:03:06 +02:00
Cédric Krier f2be833feb Allow to attach multiple files
issue7735
review56391002
2018-09-26 23:05:11 +02:00
Cédric Krier 0d545bd4d4 Do not load missing view in Window Form and call search_filter after the switch from super
This prevent a race condition which may lead to the screen loading twice the
first view.

Partially included in changeset 970f9bc0a89b

issue7660
review52451002
2018-09-02 10:54:52 +02:00
Cédric Krier f3796ec776 Use dropdown for attachments
issue7659
review50551002
2018-09-02 10:44:38 +02:00
Cédric Krier f8271980d9 Reorder window form toolbar in tree mode and update label
issue7664
review53361002
2018-09-01 17:00:37 +02:00
Cédric Krier 2bdac9492b Use tab name for CSV Export/Import
issue7640
review48571002
2018-08-30 15:57:43 +02:00
Cédric Krier 7f483a7e03 Use standard RPC call to set_preferences
issue7568
review54291002
2018-08-26 18:05:03 +02:00
Cédric Krier eff545ea00 Use material design icons
and remove specific code for SVG icons on Firefox

issue7195
issue474
review60291002
2018-08-19 20:01:49 +02:00
Cédric Krier 535c6b7fe4 Improve dialog size
Use medium size for wizard and CSV import/export.

issue7511
review70301002
2018-08-01 12:20:40 +02:00
Cédric Krier 3ddc30e7ae Move predefined exports list uder the buttons that control it
This makes the view more consistent with the selected fields that come from
the current view.

issue7462
review52301002
2018-05-31 13:21:11 +02:00
Cédric Krier 295671c072 Let domain inversion set resource field value
If the tree view of the resource is editable, the Window.Form saves the
records before the callback when the current record is no more edited. This
fails because resource field is not yet set.

issue7394
review49301002
2018-04-30 14:52:21 +02:00
Cédric Krier fed8553feb Get initial value only when cancel button is on window form
The initial value is only useful with the view type is form otherwise screen
may not have a current record like in Attachment.

issue7377
review36221002
2018-04-20 18:38:15 +02:00
Nicolas Évrard ad414f0a23 Manually handle hiding of bootstrap Modals in forms and wizards
issue7248
review36041002
2018-03-24 20:30:38 +01:00
Nicolas Évrard c633ac1a53 Reset record to its original state when discarding the popup window
issue3325
review41921002
2018-03-23 16:39:21 +01:00
Nicolas Évrard 47302a35ab Add support for search_* attributes on relational fields
issue6081
review31901003
2018-03-21 18:01:35 +01:00
Sergi Almacellas Abellana 2dddccecbc Use win prefix to determine if we are on a windows platform
issue7008
review35801002
2017-12-13 12:50:56 +01:00
Sergi Almacellas Abellana 4845b56f36 Use translated values when exporting Reference and Selection fields
issue6961
review37841002
2017-11-27 10:38:12 +01:00
Cédric Krier c92a529391 Use radio for single mode selection
As the selection mode may be changed after the construction of the view, the
selection column is always constructed but its visibility and the input type
are set on the display call.

issue6795
review39711002
2017-10-02 16:08:23 +02:00